Template:Navbox clothing: Difference between revisions

From PZwiki
m (Remove newline)
m (add translation error to guide)
Line 47: Line 47:
| dresses = Dresses
| dresses = Dresses
| jewelry = Jewelry
| jewelry = Jewelry
| #default = [[Category:Incorrect template usage]]
| #default = {{Error|translation}}
}}
}}
</syntaxhighlight>}}
</syntaxhighlight>}}

Revision as of 11:28, 19 March 2024

Notebook.pngTemplate Documentation

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

Parameters

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

  • clothing
  • tops
  • bottoms
  • footwear
  • headwear
  • underwear
  • full_body
  • accessories

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

Usage

{{Navbox clothing|tops}}

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|}}}
| clothing = Clothing
| tops = Tops
| bottoms = Bottoms
| footwear = Footwear
| headwear = Headwear
| underwear = Underwear
| full_body = Full Body
| accessories = Accessories
| tops = Tops
| shirts = Shirts
| t-shirts = T-Shirts
| vests = Vests
| jackets = Jackets
| pants = Pants
| shorts = Shorts
| skirts = Skirts
| shoes = Shoes
| socks = Socks
| hats = Hats
| helmets = Helmets
| masks = Masks
| underpants = Underpants
| bras = Bras
| other = Other
| dresses = Dresses
| jewelry = Jewelry
| #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.

See also

Editors can experiment in this template's sandbox.