Template:Body location

From PZwiki
Scissors.png
It has been suggested that this template should be split into Template:Body part.
Reason: It was suggested on Discord briefly; locations are different from body parts and often don't match
Notebook.pngTemplate Documentation

This template is used to display an item of clothing's location on the body.

Usage

The input should be the BodyLocation attribute from the item's script file. Use {{Body location|BodyLocation}} and replace BodyLocation with the attribute's value.

{{Body location|FullBody}}
Produces:
Protection FullBody.png
  • Head
  • Neck
  • Upper Torso
  • Lower Torso
  • Upper Arms
  • Forearms
  • Hands
  • Groin
  • Thighs
  • Shins
  • Feet

Variables

The following values are accepted.

  • FullBody
  • BodyCostume
  • FullHat, Hat, MakeUp, Mask
  • JacketHat, SweaterHat
  • Jacket
  • Shirt, Sweater
  • TankTop, TorsoExtra
  • Hands
  • Neck, Scarf
  • Dungarees
  • Pants
  • Shorts
  • Underwear
  • Shoes
  • None

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|}}}
| head = Head
| neck = Neck
| upper_torso = Upper Torso
| lower_torso = Lower Torso
| upper_arms = Upper Arms
| forearms = Forearms
| hands = Hands
| groin = Groin
| thighs = Thighs
| shins = Shins
| feet = Feet
| #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.