Template:Infobox prison

维基百科,自由的百科全书
跳转至: 导航搜索
Documentation icon 模板文档[查看] [编辑] [页面历史] [清除]

Usage[编辑]

{{Infobox prison
| prison_name    = 
| image          = 
| caption        = 
| location       = 
| coordinates    = 
| status         = 
| classification = 
| capacity       = 
| population     = 
| populationdate = 
| opened         = 
| closed         = 
| former_name    =
| managed_by     = 
| director       = 
| governor       = 
| warden         = 
| prisoners      = 
}}

Parameters[编辑]

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)
CSP Corcoran.jpg
地點 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
Notable prisoners
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"
  • "longitude"

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

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