Template:DLC Icons/doc

From RimWorld Wiki
< Template:DLC Icons
Revision as of 21:44, 5 October 2022 by Ickputzdirwech (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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 brazier Royalty (DLC), Ideology (DLC)

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

Produces:

Club [[|]]

See also