Difference between revisions of "Template:DLC Icons/doc"

From RimWorld Wiki
Jump to navigation Jump to search
(Created page with "== Description == Decides which DLC markers should be displayed. There are two parameters: * The '''first''' parameter should be the property From DLC o...")
 
m
Line 12: Line 12:
 
Simply add the template to the location it is required. This should work for both inline use, as well as in tables, nav boxes etc.
 
Simply add the template to the location it is required. This should work for both inline use, as well as in tables, nav boxes etc.
  
<pre>[[Darklight brazier]] {{DLC Icons|{{Q|Darklight brazier|From DLC}}}}</pre>
+
<pre>[[Darklight brazier]]{{DLC Icons|{{Q|Darklight brazier|From DLC}}}}</pre>
  
 
'''Produces:'''
 
'''Produces:'''
  
[[Darklight brazier]] {{DLC Icons|{{Q|Darklight brazier|From DLC}}}}
+
[[Darklight brazier]]{{DLC Icons|{{Q|Darklight brazier|From DLC}}}}
  
<pre>[[Club]] {{DLC Icons|{{Q|Club|From DLC|true}}}}</pre>
+
<pre>[[Club]]{{DLC Icons|{{Q|Club|From DLC|true}}}}</pre>
  
 
'''Produces:'''
 
'''Produces:'''
  
[[Club]] {{DLC Icons|{{Q|Club|From DLC}}|true}}
+
[[Club]]{{DLC Icons|{{Q|Club|From DLC}}|true}}
  
 
== See also ==
 
== See also ==

Revision as of 21:49, 5 October 2022

Description

Decides which DLC markers should be displayed.

There are two parameters:

  • The first parameter should be the property From DLC of the page in question. The options are:
    • Royalty (DLC) for: Content added by the Royalty DLC
    • Ideology (DLC) for: Content added by the Ideology DLC
    • Royalty (DLC), Ideology (DLC) or Ideology (DLC), Royalty (DLC) for: Content added by the Royalty DLCContent added by the Ideology DLC
  • The second parameter can be set to any value if the template should display the {{RimworldIcon}} Content from Rimworld core game only as default.

Usage

Simply add the template to the location it is required. This should work for both inline use, as well as in tables, nav boxes etc.

[[Darklight brazier]]{{DLC Icons|{{Q|Darklight brazier|From DLC}}}}

Produces:

Darklight brazierRoyalty (DLC), Ideology (DLC)

[[Club]]{{DLC Icons|{{Q|Club|From DLC|true}}}}

Produces:

Club[[|]]

See also