Difference between revisions of "Template:Ideology"

From RimWorld Wiki
Jump to navigation Jump to search
m
(2 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
| small = {{{small|no}}}
 
| small = {{{small|no}}}
 
| image = [[File:IdeologyIcon.png|40px|link=Ideology DLC|Ideology DLC]]
 
| image = [[File:IdeologyIcon.png|40px|link=Ideology DLC|Ideology DLC]]
| text = '''This information relates to content added by the [[Ideology DLC]].''' Please note that it will not be present without the DLC enabled. </div>
+
| text = '''This {{#if:{{{section|}}}|section|article}} relates to content added by the [[Ideology DLC]].''' Please note that it will not be present without the DLC enabled.
| nocat=true
+
| nocat = true
}}{{#if: {{{ 1|}}} | |{{#set:From DLC = Ideology DLC}}[[Category:Ideology]]}}</includeonly><noinclude>
+
}}{{#if: {{{1|}}} | |{{#set:From DLC = Ideology DLC}}[[Category:Ideology]]}}</includeonly><noinclude>
 
{{documentation}}</noinclude><!-- Add categories and interwikis to the /doc subpage, not here! -->
 
{{documentation}}</noinclude><!-- Add categories and interwikis to the /doc subpage, not here! -->

Revision as of 17:44, 15 September 2022

Documentation icon Template documentation[view] [edit] [history] [purge]

Description

Place this template at the top of pages or sections that apply to content from Ideology (DLC). It adds a banner to indicate that the content of a section or an entire page is from the Ideology DLC. Provides a visual cue and acts as a link to the DLC's article.

It also adds the Category:Ideology to the page.

For inline use and similar small scale links, use {{IdeologyIcon}} (Content added by the Ideology DLC).

Optional parameters

This template has no mandatory parameters.

First parameter

Setting the first parameter to any value (e.g. {{Ideology|No category}}) suppresses adding the page to the Ideology category. Any text will work, but "No category" is suggested for clarity's sake.

Include the 'No category' argument when marking a page that also includes core game content or when using the template for testing purposes.

"section" parameter

Setting this parameter to any value (e.g. {{Ideology|section = 1}}) will change the message from "article" to "section" and suppresses adding the page to the Ideology category.

Examples

{{Ideology}}

{{Ideology|section = 1}}

"Ideology DLC" is not in the list (Royalty (DLC), Ideology (DLC), Biotech (DLC), Anomaly (DLC)) of allowed values for the "From DLC" property.

{{Ideology|No category}}

See also

Content

Maintenance

  • Incomplete pages/sections:
    • {{Documentation wanted}} for marking templates without documentation.
    • {{Image wanted}} for marking pages or sections that are missing images.
    • {{Stub}} for marking incomplete pages or sections.
  • Request major changes:
    • {{Disambig}} for marking pages that are ambiguous.
    • {{Merge}} for marking pages that should be merged.
    • {{Move}} for marking pages or sections that should be moved.
    • {{Rewrite}} for marking pages or sections that should be rewritten.
    • {{Recode}} for marking templates or pages that need to be recoded.
  • Deletion:
    • {{Delete}} for marking pages that should be deleted.
    • {{Obsolete}} for marking pages that are no longer relevant to the current game version.
    • {{Safe to delete}} for marking pages that are ready to be deleted.
    • {{SpeedyDelete}} for marking pages that should be deleted as fast as possible.