Template:Testing: Difference between revisions
m (add "section" field with Template:Page ns) |
(Update category) |
||
Line 3: | Line 3: | ||
Added to articles or sections that are about a feature that is part of a testing branch and not part of the stable version of the game. | Added to articles or sections that are about a feature that is part of a testing branch and not part of the stable version of the game. | ||
Adds articles to the "{{ll|:Category: | Adds articles to the "{{ll|:Category:Unstable features|Unstable features}}" category. | ||
==Usage== | ==Usage== | ||
Line 12: | Line 12: | ||
:If set to <code>true</code>, will display "section" instead of "article" in the title. | :If set to <code>true</code>, will display "section" instead of "article" in the title. | ||
;<code>hidecat</code> | ;<code>hidecat</code> | ||
:If set to <code>true</code>, the page will not be added to the "{{ll|:Category: | :If set to <code>true</code>, the page will not be added to the "{{ll|:Category:Unstable features|Unstable features}}" category. | ||
==Examples== | ==Examples== | ||
*{{tll|Testing}} | *{{tll|Testing}} | ||
{{Testing|hidecat=true}} | {{Testing|hidecat=true}} | ||
*{{tll|Testing| | *{{tll|Testing|build 42}} | ||
{{Testing| | {{Testing|build 42|hidecat=true}} | ||
{{Translation guide|<syntaxhighlight lang="html"> | {{Translation guide|<syntaxhighlight lang="html"> |
Revision as of 02:21, 18 February 2024
Added to articles or sections that are about a feature that is part of a testing branch and not part of the stable version of the game.
Adds articles to the "Unstable features" category.
Usage
Parameters
1
- The version page name of the item/feature being added.
section
- If set to
true
, will display "section" instead of "article" in the title. hidecat
- If set to
true
, the page will not be added to the "Unstable features" category.
Examples
{{Testing}}
{{Testing|build 42}}
How to translate
This template is translatable.
Template code
Paste the following code into the <includeonly>
tag of the translated template and translate the text after each =
sign (except for #default =
).
{{#switch: {{{1|}}}
| title = This is a testing feature.
| content = This {{{2}}} is about an item or mechanic that is currently in '''testing''' and not part of the stable version of the game.
| note = This feature can be accessed via the testing branch for {{{2}}}.
| #default = [[Category:Incorrect template usage]]
}}
Template documentation
Copy the code wrapped in the <noinclude>
tag in this template and translate the text after doc =
in the {{Documentation}}
template.
{{Translation guide}}
template should be removed from the translated documentation.