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