Template:Infobox prison
外观
用法
[编辑][[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|{{{alt}}}]] | |
[[File:{{{image_map}}}|{{{map_size}}}|alt={{{map_alt}}}|{{{map_alt}}}]] | |
地址 | {{{location}}} |
---|---|
坐標 | 0°N 0°E / 0°N 0°E |
狀態 | {{{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
[编辑]地址 | Corcoran, California |
---|---|
坐標 | 36°03′36″N 119°32′56″W / 36.060°N 119.549°W |
狀態 | Operational |
安全級別 | minimum-maximum |
监狱容量 | 3,116 |
囚犯数量 | 5,685 (September 2007) |
启用时间 | 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更名或删除。
當指定經緯度數值時,請避免太過詳細。