Template:Testing: Difference between revisions
(update doc) |
m (update) |
||
Line 12: | Line 12: | ||
:If not empty, the page will not be added to the "{{ll|:Category:Testing branch|Testing branch}}" category. | :If not empty, the page will not be added to the "{{ll|:Category:Testing branch|Testing branch}}" category. | ||
==Example== | |||
*{{tll|Testing}} | |||
{{Testing|hidecat=true}} | {{Testing|hidecat=true}} | ||
*{{tll|Testing|Build 42}} | |||
{{Testing|Build 42|hidecat=true}} | {{Testing|Build 42|hidecat=true}} | ||
Line 37: | Line 33: | ||
</noinclude><includeonly>{{Mbox | </noinclude><includeonly>{{Mbox | ||
| color = #ff00aa | | color = #ff00aa | ||
| sign = [[File:Profession engineer.png|40px|link=Template:Testing{{ | | sign = [[File:Profession engineer.png|40px|link=Template:Testing{{lcs}}]] | ||
| title = {{tt | | title = {{tt|name = Testing | ||
| default = This is a testing feature. | | default = This is a testing feature. | ||
| arg1 = title | | arg1 = title | ||
}} | }} | ||
| content = {{tt | | content = {{tt|name = Testing | ||
| default = This article/section is about an item or mechanic that is currently in '''testing''' and not part of the stable version of the game. | | default = This article/section is about an item or mechanic that is currently in '''testing''' and not part of the stable version of the game. | ||
| arg1 = content | | arg1 = content | ||
}} | }} | ||
| note = {{#if: {{{1|}}} | | note = {{#if: {{{1|}}} | ||
| {{tt | | {{tt|name = Testing | ||
| default = This feature can be accessed via the testing branch for {{ll|{{{1}}}}}. | | default = This feature can be accessed via the testing branch for {{ll|{{{1}}}}}. | ||
| arg1 = note | | arg1 = note | ||
Line 57: | Line 50: | ||
}} | }} | ||
| id = mbox-testing | | id = mbox-testing | ||
| cat = {{#if:{{{hidecat|}}}||Testing branch{{ | | cat = {{#if:{{{hidecat|}}}||Testing branch{{lcs}}}} | ||
| collapsed = true | | collapsed = true | ||
}}</includeonly> | }}</includeonly> |
Revision as of 19:08, 30 December 2023
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 "Testing branch" category.
Usage
Parameters
1
- The version page name of the item/feature being added.
hidecat
- If not empty, the page will not be added to the "Testing branch" category.
Example
{{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 article/section 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.