Template:Testing: Difference between revisions
m (Update image links, color) |
(added deprecated notice) |
||
(9 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{ | <noinclude> | ||
{{Deprecated|Page version}} | |||
{{Documentation/sandbox|doc = | |||
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:Unstable features|Unstable features}}" category. | |||
==Usage== | |||
===Parameters=== | |||
;<code>1</code> | |||
:The version page name of the item/feature being added. | |||
;<code>section</code> | |||
:If set to <code>true</code>, will display "section" instead of "article" in the title. | |||
;<code>hidecat</code> | |||
:If set to <code>true</code>, the page will not be added to the "{{ll|:Category:Unstable features|Unstable features}}" category. | |||
==Examples== | |||
*{{tll|Testing}} | |||
{{Testing|hidecat=true}} | |||
*{{tll|Testing|build 42}} | |||
{{Testing|build 42|hidecat=true}} | |||
{{Translation guide|<syntaxhighlight lang="html"> | |||
{{#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 = {{Error|translation}} | |||
}} | |||
</syntaxhighlight>}} | |||
==See also== | |||
*{{ll|PZwiki:Mboxes}} | |||
}} | |||
{{ll|Category:Mbox}} | |||
</noinclude><includeonly>{{Mbox | |||
| color = #ff00aa | |||
| sign = [[File:Profession engineer.png|40px|link=Template:Testing{{lcs}}]] | |||
| title = {{tt|name=Testing | |||
| default = This is a testing feature. | |||
| arg1 = title | |||
}} | |||
| content = {{tt|name=Testing | |||
| default = This {{Page ns|{{{section|}}}}} is about an item or mechanic that is currently in '''testing''' and not part of the stable version of the game. | |||
| arg1 = content | |||
| arg2 = {{Page ns|{{{section|}}}}} | |||
}} | |||
| note = {{#if: {{{1|}}} | |||
| {{tt|name=Testing | |||
| default = This feature can be accessed via the testing branch for {{ll|{{{1}}}}}. | |||
| arg1 = note | |||
| arg2 = {{ll|{{{1}}}}} | |||
}} | |||
}} | |||
| id = testing | |||
| cat = {{yesno|{{{hidecat|}}}|yes=|no=Unstable features{{lcs}}}} | |||
| collapsed = true | |||
}}</includeonly> |
Latest revision as of 13:01, 23 March 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 = {{Error|translation}}
}}
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.