Template:Navbox stats: Difference between revisions

From PZwiki
m (Update links)
m (added traits and occupations to translatability)
Line 27: Line 27:
| firearm = Firearm
| firearm = Firearm
| survivalist = Survivalist
| survivalist = Survivalist
| traits = Traits
| positive_traits = Positive traits
| positive_traits = Positive traits
| negative_traits = Negative traits
| negative_traits = Negative traits
| moodles = Moodles
| moodles = Moodles
| occupations = Occupations
| #default = [[Category:Incorrect template usage]]
| #default = [[Category:Incorrect template usage]]
}}
}}

Revision as of 10:02, 20 April 2024

Notebook.pngTemplate Documentation

This template should be transcluded at the bottom of all character stat pages.

Parameters

The parameters are based on the type of article. The usable parameters are;

  • skills
  • traits
  • moodles

The parameters are not case sensitive, but lowercase is recommended. Leaving parameters blank will result in both sub boxes remaining closed.

Usage

{{Navbox stats}}

{{Navbox stats|traits}}

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|}}}
| character_statistics = Character statistics
| skills = Skills
| passive = Passive
| agility = Agility
| combat = Combat
| crafting = Crafting
| firearm = Firearm
| survivalist = Survivalist
| traits = Traits
| positive_traits = Positive traits
| negative_traits = Negative traits
| moodles = Moodles
| occupations = Occupations
| #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.

See also

Editors can experiment in this template's sandbox.