Template:Infobox trap

From PZwiki
Revision as of 06:55, 19 May 2019 by Vaileasys (talk | contribs) (Created page with "<includeonly>{{Infobox |bodystyle = width:350px; -moz-box-shadow: 0px 0px 2px 2px #{{Infobox nc|{{{name_colour|}}}}}; -webkit-box-shadow: 0px 0px 2px 2px #{{Infobox nc|{{{na...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
[view] [edit] [history] [purge] Template documentation
This template is used to create an infobox in an article about empty water container, medical, drying, remote controller and other miscellaneous items.

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 Item
Encumbrance
Heavy Load
weight
Technical details
Ingredients ingredients
Base ID Item IDs


{{Infobox normal
|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 =
| weight = 
| strength = 
| animals =
| placement =
| ingredients = 
|item_id = 
}}


Parameters

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.
weight
The base weight of the item.
strength
(remove if value is empty)
animals
The animals that can be caught by this trap (remove if value is false)
placement
Where this trap must be placed, i.e. water for fishing net trap (remove if value is empty)
ingrdients
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 class name.
Documentation transcluded from Template:Infobox trap/doc.
Editors can experiment in this template's sandbox (create)