Template:Infobox container/doc

From PZwiki
Notebook.png
This is a documentation subpage for Template:Infobox container.
It contains usage information and other content that is not part of the original template page.
Imbox deletion.png
This page is a candidate for deletion.
Reason: Unused
This page (and any subpages) will be deleted after being reviewed by an admin, and no one has objected to its deletion. Users may discuss this request for deletion on the page's talk page. Once added, this should only be removed by an admin, or the user that added it.

This template is used to create an infobox in an article about item containers, i.e. bags.

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
General
Category category
Encumbrance
Heavy Load
weight
Body location equipped
Capacity capacity
Encumbrance reduction weight_reduction% weight_reduction_text
Speed
Run speed run_speed
Combat speed combat_speed
Technical details
Item ID Item IDs
{{Infobox container
|name =
| 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 = 
<!--GENERAL-->
| category =
| weight =
| body_location =
| capacity = 
| weight_reduction =
| weight_reduction_text = 
| run_speed = 
| combat_speed = 
<!--TECHNICAL DETAILS-->
|item_id =
}}

Parameters

Heading/Image

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.
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 as in the inventory. Usually "Container".
weight
The base weight of the item.
equippable
On which body part the item can be equipped, if it can. Should be the "CanBeEquipped=" variable if it has one.
capacity
The weight capacity of the container.
weight_reduction
The weight reduction effect of the container.
weight_reduction_text
Text to display after the Percentage (%) symbol.
run_speed
Run speed modifier applied to the player when equipped.
combat_speed
Attack speed modifier applied to the player when equipped.

Technical details

class_name
The item ID (class name).

Examples

School Bag infobox

School Bag
{{{display_name}}}
School Bag (Blue) School Bag (Black) School Bag (Spiffo)
General
Category Container
Encumbrance
Heavy Load
1.0
Body location Back
Capacity 15
Encumbrance reduction 60%
Speed
Run speed 97%
Technical details
Item ID Item IDs
{{Infobox container
|name = School Bag
| name_colour = Container
| name_text_colour = Container
| image = SchoolBag_Blue_Model.png
| image_width = 200px
| alternate_image = Backpack_Blue.png
| alternate_name = School Bag (Blue)
| alternate_link =
| alternate_image2 = Backpack_Black.png
| alternate_name2 = School Bag (Black)
| alternate_link2 =
| alternate_image3 = Backpack_Spiffo.png
| alternate_name3 = School Bag (Spiffo)
| alternate_link3 =
<!--GENERAL-->
| category = Container
| weight = 1.0
| body_location = Back
| capacity = 15
| weight_reduction = 60
| run_speed = 0.97
<!--TECHNICAL DETAILS-->
|item_id = Base.Bag_Schoolbag
}}

Large Backpack infobox

Large Backpack
{{{display_name}}}
Large Backpack Military Backpack
General
Category Container
Encumbrance
Heavy Load
2
Body location Back
Capacity 27
28 (Army)
Encumbrance reduction 85%
87% (Army)
Speed
Run speed 94%
Technical details
Item ID Item IDs
{{Infobox container
|name = Large Backpack
| name_colour =
| name_text_colour =
| image = ALICEpack Green Model.png
| image_width = 200px
| alternate_image = AliceBag.png
| alternate_name = Large Backpack
| alternate_link =
| alternate_image2 = AliceBag_Camo.png
| alternate_name2 = Military Backpack
| alternate_link2 =
<!-- General -->
| category = Container
| weight = 2
| body_location = Back
| capacity = {{Tooltip|27|35 with Organized trait}} <br>{{Tooltip|28|36 with Organized trait}} (Army)
| weight_reduction = 85% <br>87
| weight_reduction_text = (Army)
| attachments_provided = Bag
<!-- Speed -->
| run_speed = 0.94
<!-- Technical details -->
|item_id = Base.Bag_ALICEpack<br>Base.Bag_ALICEpack_Army
}}