Difference between revisions of "Template:Biotech"
(4 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{Rwbox | <includeonly>{{Rwbox | ||
− | | name = biotech | + | | name = biotech |
− | | type = manual | + | | type = manual |
− | | color = #6bb6bb | + | | color = #6bb6bb |
− | + | | image = [[File:BiotechIcon.png|40px|link=Biotech (DLC)]] | |
− | | image = [[File:BiotechIcon.png|40px|link=Biotech DLC | + | | text = '''This {{#if: {{{section|}}} | section | article}} relates to content added by [[Biotech (DLC)]].''' Please note that it will not be present without the [[Downloadable content|DLC]] enabled. |
− | | text = '''This {{#if:{{{section|}}}|section|article}} relates to content added by | + | | nocat = true |
− | | nocat = true | + | }}{{#if: {{{1|}}} {{{section|}}} | | {{#set:From DLC = Biotech (DLC)}} [[Category:Biotech]] }}</includeonly><noinclude>{{Recode|reason=investigate feasibility/processing impact of auto detecting section, and if page if a file}} |
− | }}{{#if: {{{1|}}} | |{{#set:From DLC = Biotech DLC}}[[Category:Biotech]]}}</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! --> |
Latest revision as of 02:27, 3 May 2024
This page has been suggested for recoding. Reason: investigate feasibility/processing impact of auto detecting section, and if page if a file. You can help RimWorld Wiki by improving it. |
Description[edit]
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[edit]
This template has no mandatory parameters.
First parameter[edit]
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[edit]
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[edit]
{{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[edit]
Content[edit]
- {{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[edit]
- 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:Biotech/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. |