Template:DLC Icons/doc

From RimWorld Wiki
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 brazierRoyalty (DLC), Ideology (DLC)

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

Produces:

Club[[|]]

See also