Template:Navbox stats: Difference between revisions

From PZwiki
m (Manual revert for case)
Tag: Manual revert
m (Add occupations)
(One intermediate revision by the same user not shown)
Line 56: Line 56:
{{Navbox/row
{{Navbox/row
     | group = {{ll|:Category:Skills|{{tt|name=Navbox stats|default=Combat|arg1=combat}}}}
     | group = {{ll|:Category:Skills|{{tt|name=Navbox stats|default=Combat|arg1=combat}}}}
| list = {{ll|Axe}} • {{ll|Long Blunt}} • {{ll|Short Blunt}} • {{ll|Long Blade}} • {{ll|Short Blade}} • {{ll|Spear}} • {{ll|Maintenance}}
| list = {{ll|Axe (skill)}} • {{ll|Long Blunt}} • {{ll|Short Blunt}} • {{ll|Long Blade}} • {{ll|Short Blade}} • {{ll|Spear}} • {{ll|Maintenance}}
     }}
     }}
{{Navbox/row
{{Navbox/row
Line 93: Line 93:
     }}
     }}
   | id = navbox_moodles
   | id = navbox_moodles
  }}{{Navbox
| title = {{ll|:Category:Occupations|{{tt|name=Navbox stats|default=Occupations|arg1=occupations}}}}
  | collapsed = {{#ifeq:{{lc:{{{1|}}}}}|occupation|false|true}}
  | content =
    {{Navbox/row
    | group = {{ll|:Category:Occupations|{{tt|name=Navbox stats|default=Occupations|arg1=occupations}}}}
    | list = {{ll|Burger Flipper}} • {{ll|Burglar (occupation)}} • {{ll|Carpenter}} • {{ll|Chef}} • {{ll|Construction Worker}} • {{ll|Doctor}} • {{ll|Electrician}} • {{ll|Engineer}} • {{ll|Farmer}} • {{ll|Fire Officer}} • {{ll|Fisherman}} • {{ll|Fitness Instructor}} • {{ll|Lumberjack}} • {{ll|Mechanic}} • {{ll|Metalworker}} • {{ll|Nurse}} • {{ll|Park Ranger}} • {{ll|Police Officer}} • {{ll|Repairman}} • {{ll|Security Guard}} • {{ll|Unemployed}} • {{ll|Veteran}}
    }}
  | id = navbox_occupations
   }}
   }}
| id = navbox_stats
| id = navbox_stats
}}</includeonly>
}}</includeonly>

Revision as of 02:33, 16 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
| positive_traits = Positive traits
| negative_traits = Negative traits
| moodles = Moodles
| #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.