跳转到内容

Template:Infobox prison/doc

维基百科,自由的百科全书

用法

{{{name}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|{{{alt}}}]]
{{{caption}}}
[[File:{{{image_map}}}|{{{map_size}}}|alt={{{map_alt}}}|{{{map_alt}}}]]
{{{map_caption}}}
{{{pushpin_label}}}在世界的位置
{{{pushpin_label}}}
{{{pushpin_label}}}
{{{pushpin_map_caption}}}
地址{{{location}}}
坐標0°N 0°E / 0°N 0°E / 0; 0
狀態{{{status}}}
安全級別{{{classification}}}
监狱容量{{{capacity}}}
囚犯数量{{{population}}} ({{{populationdate}}})
启用时间{{{opened}}}
关闭时间{{{closed}}}
曾用名{{{former_name}}}
管理机关{{{managed_by}}}
監獄長{{{director}}}
{{{governor-title}}}{{{governor}}}
{{{warden-title}}}{{{warden}}}
驻所检察机关{{{procuratorate}}}
驻所武警部队{{{forces}}}
城市{{{city}}}
地址{{{street-address}}}
{{{state}}}
邮编{{{postcode}}}
国家{{{country}}}
網站{{{website}}}
著名囚犯{{{prisoners}}}
{{{embedded}}}
{{Infobox prison
| name                = 
| image               = 
| image_size          = 
| alt                 = 
| caption             = 
| image_map           = 
| map_size            = 
| map_alt             = 
| map_caption         = 
| pushpin_map         = 
| pushpin_relief      = 
| pushpin_mapsize     = 
| pushpin_map_alt     = 
| pushpin_map_caption = 
| pushpin_label       = 
| map_dot_mark        = 
| location            = 
| coordinates         = 
| status              = 
| classification      = 
| capacity            = 
| population          = 
| population_as_of    = 
| opened              = 
| closed              = 
| former_name         = 
| managed_by          = 
| director            = 
| governor-title      = 
| governor            = 
| warden-title        = 
| warden              = 
| procuratorate       = 
| forces              = 
| street-address      = 
| city                = 
| county              = 
| state               = 
| postcode            = 
| zip                 = 
| country             = 
| website             = 
| prisoners           = 
| jurisdiction           = 
| rationale           = 
| embedded            = 
}}

参数

Parameter Usage
prison_name Name of the facility
image A photograph of the facility. Use wiki image syntax.
caption To go with the image
location City, state, province, etc.
coordinates Use {{coord|...|display=inline,title}}
status "Operational" or "Closed"
classification Security class, e.g. "Minimum", "Maximum", "Minimum to medium", etc.
capacity Maximum operating capacity of the facility
population Actual inmate population
populationdate Effective date of the "population" figure, above
opened Year or date the facility began operating, Use {{Start date}}
closed Year or date the facility closed
managed_by Company that manages the facility.
director or governor or warden Name of the warden or other individual responsible for day-to-day operations.
prisoners Any notable prisoners. Separate by commas or line breaks.

Example

California State Prison, Corcoran (CSP-COR)
地址Corcoran, California
坐標36°03′36″N 119°32′56″W / 36.060°N 119.549°W / 36.060; -119.549
狀態Operational
安全級別minimum-maximum
监狱容量3,116
囚犯数量5,685 (September 2007)
启用时间1988年 (1988)
管理机关California Department of Corrections and Rehabilitation
監獄長Derral G. Adams, Warden
著名囚犯Juan Corona, Cameron Hooker, Charles Manson
{{Infobox prison
| prison_name    = California State Prison, Corcoran (CSP-COR)
| image          = [[Image:CSP Corcoran.jpg|240px]]
| location       = [[Corcoran, California]]
| coordinates    = {{coord|36.060|-119.549|display=inline,title}} 
| status         = Operational
| classification = minimum-maximum
| capacity       = 3,116
| population     = 5,685
| populationdate = September 2007
| opened         = {{Start date|1988}}
| closed         = 
| managed_by     = [[California Department of Corrections and Rehabilitation]]
| director       = Derral G. Adams, Warden
| prisoners      = [[Juan Corona]], [[Cameron Hooker]], [[Charles Manson]]
}}

Microformat

本模板產生的HTML記號包含了HCard 微格式,能夠讓電腦解析地點名稱和位置,具有可自動將文章分類至適當類別的功能。在HCard中有Geo微格式,能讓電腦分析经纬度資料,因此可在地圖上查詢,或下載至全球定位系统(GPS)裝置。關於微格式的更多使用資訊,請參閱維基百科的微格式專題

hCard 使用以下的 HTML class:

  • adr
  • county-name
  • fn
  • label
  • locality
  • nickname
  • note
  • org
  • vcard

Geo由{{coord}}產生,並使用以下的HTML class:

  • geo
  • latitude
  • longtitude

请勿将这些class更名或删除。

當指定經緯度數值時,請避免太過詳細。