Difference between revisions of "Template:Royalty"

From RimWorld Wiki
Jump to navigation Jump to search
m (replaced redirect)
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>{{Rwbox
 
<includeonly>{{Rwbox
| name = royalty
+
  | name = royalty
| type = manual
+
  | type = manual
| color = #efe284
+
  | color = #efe284
| small = {{{small|no}}}
+
  | image = [[File:RoyaltyIcon.png|40px|link=Royalty (DLC)]]
| image = [[File:RoyaltyIcon.png|40px|link=Royalty DLC|Royalty DLC]]
+
  | text = '''This {{#if: {{{section|}}} | section | article}} relates to content added by [[Royalty (DLC)]].''' Please note that it will not be present without the [[Downloadable content|DLC]] enabled.
| text = '''This {{#if:{{{section|}}}|section|article}} relates to content added by the [[Royalty DLC]].''' Please note that it will not be present without the DLC enabled.
+
}}{{#if: {{{1|}}} {{{section|}}} | | {{#set:From DLC = Royalty (DLC)}} [[Category:Royalty]] }}</includeonly><noinclude>
| nocat = true
 
}}{{#if: {{{1|}}} | |{{#set:From DLC = Royalty (DLC)}}[[Category:Royalty]]}}</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! -->

Latest revision as of 01:05, 14 December 2022

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

Description[edit]

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

It also adds the Category:Royalty to the page.

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

Optional parameters[edit]

This template has no mandatory parameters.

First parameter[edit]

Setting the first parameter to any value (e.g. {{Royalty|No category}}) suppresses adding the page to the Royalty 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[edit]

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

Examples[edit]

{{Royalty}}

{{Royalty|section = 1}}

{{Royalty|No category}}

See also[edit]

Content[edit]

Maintenance[edit]

  • 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.