Template:Infobox clothing

From PZwiki
Imbox content.png
This template is deprecated.
This template will eventually be removed. Please use Template:Infobox item instead.
[view] [edit] [history] [purge] Template documentation
This template is used to create an infobox in an article about clothing.

Usage

To use this template in an article, copy the template below, then paste the template into an article.

All parameters are optional – those you do not populate with data will not show up in the infobox when the article is saved.

It is strongly advised to only include variables that are relevant to the specific item in question, i.e. parameters that do not display as false or 0.

display_name
{{{display_name}}}
alternate_name alternate_name2 alternate_name3 alternate_name3 alternate_name3 alternate_name3 alternate_name3
General
Category category
Encumbrance
Heavy Load
weight
Body location body_location
Fabric fabric
Function function
Condition condition
Capacity capacity
Encumbrance reduction weight_reduction%
Attachments attachments_provided
Speed
Run speed run_speed
Combat speed combat_speed
Protection
Scratch defense scratch_defense
Bite defense bite_defense
Bullet defense bullet_defense
Neck protection neck_protection
Insulation
Insulation insulation
Wind resistance wind_resistance
Water resistance water_resistance
Technical details
Ingredients ingredients
Item ID Item IDs


{{Infobox clothing
|name = 
| name_colour = 
| name_text_colour = 
| image = 
| image_width = 
| alternate_image = 
| alternate_name = 
| alternate_link = 
| alternate_image2 = 
| alternate_name2 = 
| alternate_link2 = 
| alternate_image3 = 
| alternate_name3 = 
| alternate_link3 = 
| alternate_image4 = 
| alternate_name4 = 
| alternate_link4 = 
| alternate_image5 = 
| alternate_name5 = 
| alternate_link5 = 
| alternate_image6 = 
| alternate_name6 = 
| alternate_link6 = 
| alternate_image7 = 
| alternate_name7 = 
| alternate_link7 = 
<!-- General -->
| category = 
| weight = 
| body_location = 
| condition = 
| fabric = fabric <!-- or | fabirc_type = -->
| metal_value = <!-- currently hidden; function not yet implemented -->
| function = function
| capacity = 
| weight_reduction = 
| attachments_provided = 
<!-- Speed -->
| run_speed = 
| combat_speed = 
<!-- Protection -->
| scratch_defense = 
| bite_defense = 
| bullet_defense = 
| neck_protection = 
<!-- Insulation -->
| insulation = insulation
| wind_resistance = wind_resistance
| water_resistance = water_resistance
<!-- Technical details -->
| ingredients =
|item_id = 
}}

Parameters

Header

display_name
The display name of the item as it appears in-game. Leaving blank will display the pagename.
name_colour
The background colour for the display name. Codes can be found at Template:Infobox nc.
name_text_colour
The text colour for the display name. Codes can be found at Template:Infobox nc.
image
An image of the icon displayed at 128px by default. Item model is preferred.
image_width
Customise the image width. Default: 128px
alternate_image
An alternate image displayed at 32px. Can be an empty, packaged, open or any other variant.
alternate_name
The name of the alternate item image. Leaving blank will display no name when the image is hovered over.
alternate_link
An optional link to the alternate image page. Leaving blank will have no link.

General

category
The in-game category the item is displayed in the inventory. Default: Clothing
weight
The base weight of the item.
body_location
Body location the item can be equipped. (remove if value is false)
fabric
Fabric type of the item. (remove if value is false)
metal_value
The amount of metal this item provides when used in metalworking/smithing. (currently hidden until feature is implemented) (remove if value is false)
function
What the item can be used for. Minor uses should be omitted. Combines the deprecated primary_use and secondary_use. The <br> tag should be used instead to separate functions. (remove if value is empty)
primary_use
The item's primary use. Can usually be removed if the item isn't considered a tool by the wiki. (remove if value is empty)
secondary_use
The item's secondary use if it has one. Can usually be removed if the item isn't considered a tool by the wiki. (remove if value is empty)
condition
Item's condition value. (remove if value is false)
capacity
'Item's capacity value. (remove if value is false)
weight_reduction
Weight reduction value. (remove if value is empty)
attachments_provided
Attachment slots provided by the item. (remove if value is empty)

Speed

run_speed
Run speed modifier. Note this is currently bugged/unimplemented, and has no in-game function. (remove if value is false)
combat_speed
Combat speed modifier. (remove if value is false)

Protection

scratch_defense
Scratch defense modifier. (remove if value is false)
bullet_defense
Bullet defense modifier. (remove if value is false)
neck_protection
Neck protection modifier. (remove if value is false)

Insulation

insulation
Insulation modifier. (remove if value is false)
wind_resistance
Wind resistance modifier. (remove if value is false)
water_resistance
Water resistance modifier. (remove if value is false)

Technical details

ingredients
A list of ingredients required to make this item. Please use the following format: 1 × [[Plank]] and separate ingredients into a list with <br>.
class_name
The item's ID. Should be: [module].[name]. E.g. Base.Suit_Jacket
Documentation transcluded from Template:Infobox clothing/doc.
Editors can experiment in this template's sandbox (create)