Difference between revisions of "Template:DLC Icons/doc"
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:
- The second parameter can be set to any value if the template should display the {{RimworldIcon}} 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
- {{RimworldIcon}} - for the icon template for core content.
- {{RoyaltyIcon}} - for the icon template for the Royalty DLC content.
- {{IdeologyIcon}} - for the icon template for Ideology DLC content.