全站通知:

模板:Infobox.v2 Room

来自监狱建筑师WIKI_BWIKI_哔哩哔哩
跳到导航 跳到搜索


文件:Dormitory2.png Dormitory
Dormitory icon u1.png

Requirements:

Improvements:

  • Room size at least 6 Squares per Prisoner
  • Room size at least 12 Squares per Prisoner
  • Room size at least 18 Squares per Prisoner
  • Item: 1 Shower Head per 4 Prisoners
  • Item: 1 Tv per 4 Prisoners
  • Item: 1 Phone Booth per 4 Prisoners (Radio before version 2.0.1)
  • Item: 1 Bookshelf per 4 Prisoners
  • Item: 1 Chair per 4 Prisoners
  • Item: 1 Pool Table per 4 Prisoners
  • 1 Outdoor Window per 8 Prisoners

Used by:

Prisoners

Contraband:

None

Other Information:

  • None provided

About

Infobox.v2 Room 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. 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. requires = Mainly when you present a room type in the infobox. Adds "Requirement" section, where the objects that are required for the room are listed (e.g. TV, Toilet, Bed) but also Indoors, Outdoors. Can be used to list the research requirements. improve = Used to list objects that can be installed to improve room grade. usedby = Used to list entities that use the room. contraband = Used to list what contraband can be stolen from the room. 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:

Examples

Empty version to copy:

{{Infobox.v2 Room
|lang = 
|name = 
|icon = 
|image = 
|imageWidth = 
|requires =
|improve = 
|usedby =  
|contraband = 
|other = 
|contentBasedOnVersion = 
}}
ROOM Example 1 ROOM Example 2 ROOM Example 3
{{Infobox.v2 Room
|lang = en
|name = Garbage
|icon = Icon_96_garbage.png
|image = Müllraum.jpg
|imageWidth = 200px
|requires =
* Minimum size: 1x3
|improve = 
|usedby = 
* [[Workman]]
* [[Cook]]s
|contraband = 
|other = Automatically generated
}}
{{Infobox.v2 Room
|lang = en
|name = Psychiatrist Office
|icon = PsychiatristOffice_icon.png
|icon2 = PW_DLC_small.png
|image = Psychiatrist Room.png
|imageWidth = 160px
|requires=
* Minimum Size: 4x4
* Indoors
* [[Office Desk]]
|improve = Check [[#Upgrading|Upgrading]] section
|usedby =
* [[Prisoner]]s
* [[Psychiatrist]]
|contraband = [[Mobile Phone]], [[Booze]], [[Cigs]], [[Lighter]]
|other = DLC Content
}}
{{Infobox.v2 Room
|lang = en
|name = Yard
|image = Yard.png
|imageWidth = 160px
|requires =
* Minimum Size: 5x5
* Secure
|improve =
* [[Bench]]
* [[Phone Booth]]
* [[Weights Bench]]
|usedby =
* [[Prisoner]]s
|contentBasedOnVersion = The Sneezer
}}
文件:Müllraum.jpg Garbage

Requirements:

  • Minimum size: 1x3

Improvements:

  • None provided

Used by:

Contraband:

  • None provided

Other Information:

Automatically generated

Psychiatrist Room.png Psychiatrist Office
PW_DLC_small.png

Requirements:

Improvements:

Check Upgrading section

Used by:

Contraband:

Mobile Phone, Booze, Cigs, Lighter

Other Information:

DLC Content

文件:Yard.png Yard

Requirements:

  • Minimum Size: 5x5
  • Secure

Improvements:

Used by:

Contraband:

  • None provided

Other Information:

  • None provided

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