Template:Infobox Hospital

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

用法[编辑]

{{Infobox hospital
<!-- 指引:任何未知項目應留空待其他用戶協助編輯。 -->
<!-- 以下大多數項目均為選擇性,可選擇不作任何資料輸入,但當將此模板複製至另一條目時,請將所有項目全數轉移。 -->
<!-- 完整的模板項目,請見:http://zh.wikipedia.org/wiki/Template:Infobox_hospital -->
| name        = <!-- 在此填寫醫院名稱。 -->
| org/group   = <!-- 在此填寫管理或營運此醫院的機構或團體名稱。 -->
| image       = <!-- 醫院的照片(建議為總大樓或正門)。 -->
| alt         = <!-- 此項目為選擇性。在此鍵入圖片的替代文字。 -->
| image_size  = <!-- 此項目為選擇性,用以限制圖片的大小(預設值為 225)。 --> 
| caption     = <!-- 此項目為選擇性.請在此加入對以上圖片的描述。 -->
| map_type    = <!-- 請按照“模板:位置圖”的格式使用(需為{{{1}}}參數定下數值)。若要使用此功能,必須提供相關的經、緯度。 -->
| relief      = <!-- 任何非留空的參數數值(如:填上了“是”、“1”等)均會使模板顯示地形圖圖像(若有提供)。 -->
| map_size    = <!-- 在此填寫位置圖的闊度像素(不要加上“px”作後綴);默認值為225。-->
| map_alt     = <!-- 在此填寫位置圖的替代文字(見 維基百科:圖像的替代文字 頁面作詳細使用認知)。 -->
| map_caption = <!-- 此項目為選擇性。在此簡單地描述上面顯示的位置圖(如:“此位置圖顯示了國家及地區。”)。-->
| latitude    = <!-- 與位置圖(即上面的“map_type =”項目)一起使用。作為模板所顯示的緯度。 -->
| longitude   = <!-- 與位置圖(即上面的“map_type =”項目)一起使用。作為模板所顯示的經度。 -->
| Coordinates = <!-- 在此填寫醫院位置的座標。 -->
| logo        = <!-- 在此加入醫院的院徽。 -->
| logo_size   = <!-- 此項目為選擇性,用以限制院徽的大小。 -->
| location    = <!-- 在此填寫醫院所在的小區域。 -->
| region      = <!-- 在此填寫醫院所在的大區域。 -->
| state       = <!-- 在此填寫醫院所在的省/州分。 -->
| country     = <!-- 在此填寫醫院所在的國家。 -->
| address     = <!-- 在此填寫醫院總部大樓的地址。 -->
| healthcare  = <!-- UK:NHS. AU/CA: Medicare. ELSE freetext, e.g. Private -->
| funding     = <!-- 在此填寫營運模式(非牟利、牟利、政府、公立等)。 -->
| type        = <!-- 在此填寫醫院名稱。 -->
| speciality  = <!-- 只當此醫院為專科醫院時使用。-->
| standards   = <!-- 在此填寫此醫院在國家統一標準衡量上的水平(若不適用則可留空)。 -->
| emergency   = <!-- 在此填寫醫院所屬的創傷醫療中心級別(有關資訊請見:https://en.wikipedia.org/wiki/Trauma_center) -->
| helipad     = <!-- 在此填寫醫院的直昇機坪代碼(可使用機場代碼)。只在有確實參考支持的情況下使用。 -->
| affiliation = <!-- 在此填寫醫院所屬的大學或醫學院。 -->
| patron      = <!-- 鍵入任何支持醫院營運的重要贊助人,若沒有則輸入“無”。 -->
| network     = <!-- 在此鍵入醫院的網絡。 -->
| beds        = <!-- 在此填寫醫院目前所擁有的床位。 -->
| founded     = <!-- 在此填寫醫院的成立日期。 -->
| closed      = <!-- 此項目為選擇性。在此填入醫院停辦的日期。 -->
| demolished  = <!-- 此項目為選擇性。在此填入醫院被拆卸的日期。 -->
| website     = <!-- 在此填寫醫院的官方網址。 -->
| other_links = <!-- 鍵入其他相關網址作額外的外部參考鏈接。 -->
}}

Attributes[编辑]

None of the fields are obligatory. Fill in as many of the values as possible. Hence if "image =" is not defined then it will default to blank.

Don't worry about getting all the fields -- just do your best, and if you have any questions or suggestions, feel free to ask at Template talk:Infobox hospital.

Parameter Free text (F/T) / Wikified (W) Processed (P) Comments
Name F/T
Org/Group F/T UK: NHS=Trust/Health board, ELSE multiple-hospital organisation or group
Image W inserts picture 'Image:Image '
image alt W inserts alt text for picture. See WP:ALT.
Caption F/T
Width F/T
Logo W inserts picture 'Image:Logo '
Logo Size W Sets logo size
Location F/T This parameter not wikified, but please move County/City & State details to Region & State parameters...
Region W This parameter is wikified if it exists
State W UK=England, Wales, Scotland or N.Ireland.
Country W see Wiki-links on Country/State parameter additional functionality
HealthCare F/T P Wikifies if UK=NHS. AU/CA=Medicare.
ELSE non-wikified freetext, eg 'Private'
Funding F/T P 'Non-profit', 'For-profit', 'Government', or 'Public' are wikilinked.
Type F/T P 'General', 'District' or 'District General', 'Specialist' & 'Teaching' are wikilinked.
Affiliation F/T University or Medical School association, may set to 'None' if no affiliation
Standards F/T e.g. international ISO where absence of national standards
Certification F/T please switch US hospitals to Emergency parameter setting as relevant I, II or III level
Emergency F/T P UK/IR/HK/SG: if =Yes/No adds 'Accident & Emergency'
US:I/II/III links to Trauma certification level; else Yes/No
Beds F/T
Speciality F/T Only shown if Type=Specialist, If Type=Teaching then an optional parameter
Founded F/T
Closed F/T
Website W give http://www..... address, add optional <Space> followed by display text, 'home page' is added to this. 'None' if no web presence
Wiki-Links F/T P NB automatically added is 'List on hospitals in...' link for State or Country if defined above and if List article exists

Article subject[编辑]

Name
This defaults to the article's name ({{PAGENAME}}) if not defined
Org/Group
is an optional parameter that may be used if the hospital is part of a wider organisation or group. Examples would be the name of a private company owning and running a number of different hospitals, in the UK may be used to specify the NHS Trust (these may operate several hospitals in a locality]], other organisations might include Aga Khan Hospital or Aga Khan Health Services

Pictures[编辑]

Image
may be used to provide an optional illustration. These fields are optional, but it is helpful to provide an image if you can find one. Of course most images on the internet are copyrighted.
Image alt
Adds alt text to the image, see WP:ALT
Caption
optional caption for the image
Width
also an optional width parameter you can add for the image. When no Width parameter is specified, it defaults to a width of 225. You may though adjust the width if required like this:
 | Image            = ACME_hospital.png
 | Caption          = The 2006 rebuilt hospital 
 | Width            = 325
Logo
is a further optional parameter which also takes a relevant image name and shows to a fixed 200 pixel width the hospital's logo or crest.

Place[编辑]

The original placement parameter was Location and would be set with manually wikilinked details of local place, city or country and US state. The template though adds wiki-links in a See also section to the relevant List of hospitals in State if this exits (i.e. if State is defines and the relevant wikipage exists), else to List of hospitals in State if that exists. So please split the hospital placement details into:

Location
the local details. This is not wikilinked
Region
the city or county. Is wikilinked and at least one of Location or Region need to be defined else 'Unknown' is shown
State
Optional wikilinked values.
  • For Canada this is the relevant Province
  • For the UK this is either England, Northern Ireland, Scotland or Wales.
  • For the US this is the relevant US State.
Country
This must be defined else '(? country)' is shown.
Country may be freetext, but the template automatically shows the wikilinked 2 character ISO country codes if set as Australia, Canada, Ireland, India, Kenya, New Zealand, Pakistan, South Africa, Tanzania, United Kingdom or as the corresponding codes.
Hence | Country    = Canada          gives:   Country  CA
Please note: Region, State & Country are automatically wikified if the relevant wikipage exists (i.e. no red links are shown if the relevant wikipage does not exist).

Organisation[编辑]

(displayed as 'Organization' if country set as Canada or USA, to maintain spelling consistency within articles)

HealthCare
This indicates the insurance status of the hospital. This is generally a free text item.
However for certain countries, specific values of HealthCare are wikilinked:
Country HealthCare value Wikilinked to Displayed text
Australia Medicare Medicare (Australia) Public Medicare (AU)
Canada Medicare Medicare (Canada) Public Medicare (Canada) and wikilink to abbreviated Provincial plans where article exists
United Kingdom NHS National Health Service Public (NHS)
All countries (including those above) will accept free text for this parameter
Useful markups include Public ([[Ontario Health Insurance Plan|OHIP]])'
Funding
The hospital funding source should be set as one of 'Non-profit', 'For-profit', 'Government', or 'Public'. These are automatically wikilinked to Non-profit hospital, For-profit hospital, Government hospital (redirects to Public hospital), or Public hospital, respectively. Free text is also accepted for this parameter.
Type
The hospital Type is should be set as one of 'Community', 'District General' (or 'District' or 'General'), 'Teaching' or 'Specialist'.
'General' 'District' 'District General' & 'Specialist' are automatically wikilinked to relevant section in hospital
'Teaching' is wikilinked to University hospital (whilst University Hospital seems the most commonly used official term, most doctors & patients (and hence wikireaders) would refer to these as Teaching hospitals)
Affiliation
This in freetext gives the Medical School that may be associated with the hospital. Hidden if undefined and may be set to 'None' if known that there is no affilication for that hospital.
Network
This in freetext gives the hospital network to which the hospital may belong. This is different from an entity that may own the hospital (which belongs in Org/Group).

Services[编辑]

Standards
This optional parameter provides details of Quality Standards that the hospital may have achieved and is meant to be used for hospitals where there are no automatic national standards and external internal organisations (e.g. ISO) have been invited in to provide certification.
Emergency Department and Trauma provision
The depreciated Certification parameter was US-centric and referred to the externally assessed level of trauma care that the hospital is rated to manage. However for hospitals outside of the US, editors confused this for Quality Standards certification, for which the Standards parameter is now provided.
Emergency
is the new more generic parameter. It is generally freetext, however certain countries have tended to use the alternative name of "Accident & Emergency" for this service, and all but the US generally specify whether or not an Emergency Department is operational or not; whilst in the US 3 levels of trauma care provision are assessed.
Country Emergency value Displayed text
United Kingdom
Ireland
Hong Kong
Singapore
Yes
No
Yes Accident & Emergency
No Accident & Emergency
else Freetext
Canada
United States
I
II
III
Level I trauma center
Level II trauma center
Level III trauma center
else Freetext
Beds
The number of inpatient beds.
Speciality
Used where the hospital is primarily devoted to a particular medical or surgical speciality, i.e. Type=Specialist hospital (i.e. not if it has a broad spectrum of specialities and one happens to be more famous than the rest, for these leave parameter undefined). Teaching hospitals may encompass the full spectrum of clinical specialities or be a single Specialist centre; hence where Type=Teaching, this parameter is optional.
Either link to medical speciality, other useful links are to pediatric hospital, psychiatric hospital

History[编辑]

Founded
Please give the year or full date that the hospital opened.
Closed
Optional parameter for when a hospital closed.

Links[编辑]

Website
Please give the full URL address starting with http://. Any alternative displayed text may be given by separating this by a space from the URL address. The template will automatically though add on the word 'homepage'. If the hospital has no web presence, then set this to 'None'
Hence 
|Website =                                       Gives Unknown
|Website = None                                  Gives None
|Website = http://www.example.com                Gives homepage
|Website = http://www.example.com Example        Gives Example homepage
See also
This section gives freetext links to related material defined by Wiki-Links
Esoteric programming automatically generates links to the series of wikipedia articles of 'List of hospital in ...'. For UK & US, if State place parameter has been set then the See also field automatically shows List of hospitals in State, but only if such article exists, otherwise and for all other countries, List of Hospitals in Country is shown if this article exists.
(This works even if Country parameter is set to the 2-letter ISO code for Australia, Canada, Ireland, India, Kenya, New Zealand, Pakistan, South Africa, Tanzania, United Kingdom or United States. Also note that the wording of the wikipedia 'List' article has additional definite article 'the' added for 'the United Kingdom' and 'the United States' and Ireland's list is for 'the Republic of Ireland').
Any freetext passed by Wiki-Links parameter are shown on a new line if an autolink has already been displayed.

微格式[编辑]

本模板產生的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更名或删除。

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

參見[编辑]