Template:Infobox.v2 Menu

From Prison Architect Wiki
(Redirected from Template:Menubox.v2)
Jump to navigation Jump to search


Menu
  Materials

Sub Menus:

Other Information:

  • None provided

About

Infobox.v2 Menu 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.

Usage

All supported options:

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. subMenu = Used to list the sub menus, check examples for more info. icon = Can be used for DLC icon. • Available: PW_DLC_small.png (Psych Ward DLC icon). • 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]] icon2 = Same as icon . Can be used to display a second icon. First can be a room icon and the second a DLC icon. 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.

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

Example

{{Infobox.v2 Menu
| image = Planning.png
| icon = 
| name = Planning
| subMenu = 
* [[#Walls|Walls]]
* [[#Objects|Objects]]
* [[#Pathways|Pathways]]
| contentBasedOnVersion = The Sneezer
}}

Empty version to copy:

{{Infobox.v2 Menu
| image = 
| icon = 
| name = 
| subMenu = 
*
| other = 
| contentBasedOnVersion = 
}}


Menu
  Planning
Date of the last article update. Content based on The Sneezer
6/2020 | The Sneezer

Sub Menus:

Walls
Objects
Pathways

Other Information:

  • None provided

For infobox for objects, check: Template:Infobox.v2