Difference between revisions of "Template:Royalty"
(Added transclusion tags.) |
|||
Line 6: | Line 6: | ||
| text = '''This information relates to content added by the [[Royalty DLC]].''' Please note that it will not be present without the DLC enabled. </div> | | text = '''This information relates to content added by the [[Royalty DLC]].''' Please note that it will not be present without the DLC enabled. </div> | ||
| nocat=true | | nocat=true | ||
− | }}{{#if: {{{ 1|}}} | |[[Category:Royalty]]}}</includeonly><noinclude> | + | }}{{#if: {{{ 1|}}} | |[[Category:Royalty]] {{#set: fromIdeology = True}} }}</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 07:18, 24 July 2021
Description
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}} ().
Optional parameters
This template has no mandatory parameters.
First parameter
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
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
{{Royalty}}
This information relates to content added by the Royalty DLC. Please note that it will not be present without the DLC enabled. |
{{Royalty|section = 1}}
This information relates to content added by the Royalty DLC. Please note that it will not be present without the DLC enabled. |
{{Royalty|No category}}
This information relates to content added by the Royalty DLC. Please note that it will not be present without the DLC enabled. |
See also
Content
- {{Royalty}} for marking content from Royalty (DLC) .
- {{Ideology}} for marking content from Ideology (DLC) .
- {{Biotech}} for marking content from Biotech (DLC) .
- {{Anomaly}} for marking content from Anomaly (DLC) .
- {{Console}} for marking content from the console edition .
- {{Spoiler}} for marking potential spoilers.
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:
- 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.
The above documentation is transcluded from Template:Royalty/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |