Difference between revisions of "Template:Royalty/doc"
m |
|||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | ==Description== | + | == Description == |
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. | 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. | ||
− | For inline use and similar small scale links, use {{ | + | For inline use and similar small scale links, use [[Template:RoyaltyIcon|<nowiki>{{RoyaltyIcon}}</nowiki>]]. |
− | ==Syntax== | + | == Syntax == |
Type following at the top of the page or the beginning of a section. | Type following at the top of the page or the beginning of a section. | ||
Line 17: | Line 17: | ||
<code><nowiki>{{Royalty|No category}}</nowiki></code> | <code><nowiki>{{Royalty|No category}}</nowiki></code> | ||
− | ==Usage== | + | == Usage == |
Use this template on pages or sections that apply to content from the Royalty DLC. | Use this template on pages or sections that apply to content from the Royalty DLC. | ||
Include the 'No category' argument when marking a section on a page that also includes core game content. | Include the 'No category' argument when marking a section on a page that also includes core game content. | ||
− | ==Sample output== | + | == Sample output == |
− | |||
− | |||
<code><nowiki>{{Royalty}}</nowiki></code> | <code><nowiki>{{Royalty}}</nowiki></code> | ||
+ | {{Royalty}} | ||
− | + | <code><nowiki>{{Royalty|section = 1}}</nowiki></code> | |
+ | {{Royalty|section = 1}} | ||
+ | <code><nowiki>{{Royalty|No category}}</nowiki></code> | ||
{{Royalty|No category}} | {{Royalty|No category}} | ||
− | ==See also== | + | |
− | * [[Template: Ideology]] for the equivalent for the [[Ideology DLC]] | + | <code><nowiki>{{Royalty|section = 1|No category}}</nowiki></code> |
+ | {{Royalty|section = 1|No category}} | ||
+ | |||
+ | == See also == | ||
+ | * [[Template:Ideology|<nowiki>{{Ideology}}</nowiki>]] for the equivalent template for the [[Ideology DLC]] | ||
<includeonly>[[Category:Notice templates]]</includeonly> | <includeonly>[[Category:Notice templates]]</includeonly> | ||
<noinclude>[[Category:Template documentation]]</noinclude> | <noinclude>[[Category:Template documentation]]</noinclude> |
Revision as of 17:47, 15 September 2022
Description
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.
For inline use and similar small scale links, use {{RoyaltyIcon}}.
Syntax
Type following at the top of the page or the beginning of a section.
{{Royalty}}
Optional parameters
This template accepts one optional parameter that suppresses adding the page to the Royalty category.
Any text will work, but "No category" is suggested for clarity's sake.
{{Royalty|No category}}
Usage
Use this template on pages or sections that apply to content from the Royalty DLC.
Include the 'No category' argument when marking a section on a page that also includes core game content.
Sample output
{{Royalty}}
This article relates to content added by Royalty (DLC). Please note that it will not be present without the DLC enabled. |
{{Royalty|section = 1}}
This section relates to content added by Royalty (DLC). Please note that it will not be present without the DLC enabled. |
{{Royalty|No category}}
This article relates to content added by Royalty (DLC). Please note that it will not be present without the DLC enabled. |
{{Royalty|section = 1|No category}}
This section relates to content added by Royalty (DLC). Please note that it will not be present without the DLC enabled. |
See also
- {{Ideology}} for the equivalent template for the Ideology DLC