Template:Infobox.v2 Item

From Prison Architect Wiki
Jump to navigation Jump to search


  Sheet Metal
Cost: $10
Size: 1x1
Used in:
Other Information:
  • None provided

About

Infobox.v2 is a new version of the old infobox that is used on the English version of the wiki as a replacement for the old infobox. The new infobox is very similar however it supports position alignment to save space and some other things like contentBasedOnVersion to display what version the infobox and article is based on.

Infobox V2 Item can be used for items.

Most of the values/options are optional and do not have to be included or specified.

Usage

All supported options:

lang = Add if this is a non-english translation. Available: en, de, fr, it, es, ru and hu. Usage: lang = de, lang = fr etc. name = REQUIRED - name of the object, room or whatever the infobox presents. image = Image of presented item or staff (preferably, taken from the game files). imageWidth = Used to resize too big images, defines the width of image. Usage example: 20px. icon = Can be used for DLC icon. • Available: {{Icon:PsychWard}}. • It supports any image. If you decide to use any for some reason, please make sure it's size it's set to not more than 48px. Example: [[File:Placeholder.png|48px]] price = Price of the presented item or staff. size = Size of the presented item or staff. How big space (tiles) it occupies, in format like this: WIDTHxHEIGHT (e.g. 5x2). toughness = durability or health points of the presented item or staff. usedin = Outdoor / Indoor / Anywhere / Room name other = Additional, short information such as "DLC content", "Can't be purchased" etc. position = Defines infobox location on the page. Can be set only to unset, left or right. Default is right. contentBasedOnVersion = Version number or its name the content of infobox and article is based on. Not required. Example: Alpha 32, The Sneezer. articleUpdatedOn = Month and year of the last article content update, for example: 5/2019. Leave empty to auto-fill and use the last edit date. Does not show up if contentBasedOnVersion is empty.

type = Include it for utility object or staff. Administration / Staff / Electrical / Water Supply. Not required. sellCost= Used for items that can be sold to specify their price player gets doing so. Example: 10, 50.

Empty versions to copy:

{{Infobox.v2
|name = 
|image = 
|size = 
|price = 
|sellCost = 
|toughness = 
|usedin = 
|other = 
|contentBasedOnVersion = 
}}
{{Infobox.v2
|name = 
|image = 
|type = 
|price = 
|sellCost = 
|toughness = 
|other = 
|contentBasedOnVersion = 
}}
{{Infobox.v2
|name = 
|type = 
|image = 
|price = 
|sellCost = 
|size = 
|other = 
|contentBasedOnVersion = 
}}

Currently, the Infobox.v2 can be seen on all English Object, Staff, Room, Items and Utility pages. Below are some examples ready for use that you can just copy and paste when creating or updating an article:

Examples

{{Infobox.v2 Item
|lang = en
|name = Bags of Garbage
|image = Bag of garbage a36.png
|size = 1x1
|price = 
|usedin = 
* [[Garbage]] (Room)
}}
{{Infobox.v2
|lang = en
|name = Superior Bed
|image = Superior bed.png
|price = 
|sellCost = 400
|size = 2x1
|usedin = 
* ''Workshop''
}}