Difference between revisions of "Template:Biotech/doc"
(Created page with "__NOTOC__ == Description == Adds a banner to indicate that the content of a section or an entire page is from the Biotech DLC. Provides a visual cue and acts as a link to...") |
m |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
== Description == | == Description == | ||
− | + | Place this template at the top of pages or sections that apply to content from [[Biotech (DLC)]]. It adds a banner to indicate that the content of a section or an entire page is from the Biotech DLC. Provides a visual cue and acts as a link to the DLC's article. | |
− | + | It also adds the [[:Category:Biotech]] to the page. | |
− | + | For inline use and similar small scale links, use {{T|BiotechIcon}} ({{BiotechIcon}}). | |
− | |||
− | + | == Optional parameters == | |
+ | This template has no mandatory parameters. | ||
+ | === First parameter === | ||
+ | Setting the first parameter to any value (e.g. <code><nowiki>{{Biotech|No category}}</nowiki></code>) suppresses adding the page to the Biotech 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. |
− | |||
− | |||
− | <code><nowiki>{{ | + | === "section" parameter === |
+ | Setting this parameter to any value (e.g. <code><nowiki>{{Biotech|section = 1}}</nowiki></code>) will change the message from "article" to "section" and suppresses adding the page to the Biotech category. | ||
− | == | + | == Examples == |
− | |||
− | |||
− | |||
− | |||
− | |||
<code><nowiki>{{Biotech}}</nowiki></code> | <code><nowiki>{{Biotech}}</nowiki></code> | ||
− | {{Biotech}} | + | {{Biotech|No category}} |
<code><nowiki>{{Biotech|section = 1}}</nowiki></code> | <code><nowiki>{{Biotech|section = 1}}</nowiki></code> | ||
Line 31: | Line 27: | ||
<code><nowiki>{{Biotech|No category}}</nowiki></code> | <code><nowiki>{{Biotech|No category}}</nowiki></code> | ||
{{Biotech|No category}} | {{Biotech|No category}} | ||
− | |||
− | |||
− | |||
== See also == | == See also == | ||
− | * | + | * {{T|Ideology}} for the equivalent template for [[Ideology (DLC)]] {{IdeologyIcon}}. |
− | * | + | * {{T|Royalty}} for the equivalent template for [[Royalty (DLC)]] {{RoyaltyIcon}}. |
<includeonly>[[Category:Notice templates]]</includeonly> | <includeonly>[[Category:Notice templates]]</includeonly> | ||
<noinclude>[[Category:Template documentation]]</noinclude> | <noinclude>[[Category:Template documentation]]</noinclude> |
Revision as of 09:30, 2 November 2022
Description
Place this template at the top of pages or sections that apply to content from Biotech (DLC). It adds a banner to indicate that the content of a section or an entire page is from the Biotech DLC. Provides a visual cue and acts as a link to the DLC's article.
It also adds the Category:Biotech to the page.
For inline use and similar small scale links, use {{BiotechIcon}} ().
Optional parameters
This template has no mandatory parameters.
First parameter
Setting the first parameter to any value (e.g. {{Biotech|No category}}
) suppresses adding the page to the Biotech 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. {{Biotech|section = 1}}
) will change the message from "article" to "section" and suppresses adding the page to the Biotech category.
Examples
{{Biotech}}
This article relates to content added by Biotech (DLC). Please note that it will not be present without the DLC enabled. |
{{Biotech|section = 1}}
This section relates to content added by Biotech (DLC). Please note that it will not be present without the DLC enabled. |
{{Biotech|No category}}
This article relates to content added by Biotech (DLC). Please note that it will not be present without the DLC enabled. |
See also
- {{Ideology}} for the equivalent template for Ideology (DLC) .
- {{Royalty}} for the equivalent template for Royalty (DLC) .