Editing Template:Ideology/doc
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
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 [[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 {{T|IdeologyIcon}}. | |
− | + | ==Syntax== | |
+ | Type following at the top of the page or the beginning of a section. | ||
− | + | <code><nowiki>{{Ideology}}</nowiki></code> | |
− | This template | + | |
+ | |||
+ | '''Optional parameters''' | ||
+ | <p>This template accepts one optional parameter that suppresses adding the page to the Ideology category.</p> | ||
+ | <p>Any text will work, but "No category" is suggested for clarity's sake.</p> | ||
+ | |||
+ | <code><nowiki>{{Ideology|No category}}</nowiki></code> | ||
− | == | + | ==Usage== |
− | + | Use this template on pages or sections that apply to content from the Ideology DLC. | |
− | Include the 'No category' argument when marking 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== |
− | + | Typing: | |
− | |||
<code><nowiki>{{Ideology}}</nowiki></code> | <code><nowiki>{{Ideology}}</nowiki></code> | ||
− | |||
− | + | Produces: | |
− | |||
− | |||
{{Ideology|No category}} | {{Ideology|No category}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<includeonly>[[Category:Notice templates]]</includeonly> | <includeonly>[[Category:Notice templates]]</includeonly> | ||
<noinclude>[[Category:Template documentation]]</noinclude> | <noinclude>[[Category:Template documentation]]</noinclude> |