模板:Infobox park/doc
此頁面是Template:Infobox park的模板文件。 此頁面可能包含了模板的使用說明、分類和其他內容。 |
本模版用於各種公園、自然保護區及花園。
對於歸入世界自然保護聯盟(IUCN)保護地分類的自然保護區,請使用{{Infobox protected area}}。對於中華人民共和國國家公園、國家森林公園、國家濕地公園等,請使用{{中國自然保護地}}。
用法
{{{name}}} | |
---|---|
{{{alt_name}}} | |
[[File:{{{image}}}|{{{image_size}}}|alt={{{image_alt}}}|upright={{{upright}}}|{{{image_alt}}}]] | |
基本資料 | |
類型 | {{{type}}} |
銘牌 | {{{motto}}} |
國家/地區 | {{{country}}} |
位置 | {{{location}}} |
最近城鎮 | {{{nearest_city}}} |
OS格網 | {{{grid_ref_UK}}} |
OSI/OSNI格網 | {{{grid_ref_Ireland}}} |
座標 | {{{coordinates}}}{{{coords_ref}}} |
面積 | {{{area}}} |
海拔高度 | {{{elevation}}} |
前身 | {{{former}}} |
認可 | {{{authorized}}} |
關閉 | {{{closed}}} |
創辦人 | {{{founder}}} |
設計者 | {{{designer}}} |
詞源 | {{{etymology}}} |
所有者 | {{{owner}}} |
行政管理者 | {{{administrator}}} |
訪客數 | {{{visitation_num}}}({{{visitation_year}}}年){{{visitation_ref}}} |
開放時間 | {{{open}}} |
狀態 | {{{status}}} |
獲獎 | {{{awards}}} |
營地 | {{{camp_sites}}} |
小徑 | {{{paths}}} |
地域 | {{{terrain}}} |
水域 | {{{water}}} |
植被 | {{{vegetation}}} |
物種 | {{{species}}} |
群體 | {{{collections}}} |
指定 | {{{designation}}} |
騷亂 | {{{disturbance}}} |
預算 | {{{budget}}} |
停車場 | {{{parking}}} |
連接交通 | {{{transport}}} |
設施 | {{{facilities}}} |
{{{free_label}}} | {{{free_data}}} |
網站 | {{{website}}} |
{{{embedded}}} | |
地圖 | |
Module:Mapframe第384行Lua錯誤:attempt to perform arithmetic on local 'lat_d' (a nil value) |
基本參數
將下列模板內容拷貝粘貼到你寫的頁面上。
{{Infobox park | 名称 = | 图片 = | 图片说明 = | 地图 = | 坐标 = | 分类 = | 国家 = | 地点 = | 海拔高度 = | 面积 = | 前身 = | 建造 = | 建立者 = | 行政管理者 = | 开放时间 = | 状态 = | 物种 = | 植物 = | 官方网站 = }} |
{{Infobox park | 名稱 = | 圖片 = | 圖片說明 = | 地圖 = | 坐標 = | 分類 = | 國家 = | 地點 = | 海拔高度 = | 面積 = | 前身 = | 建造 = | 建立者 = | 行政管理者 = | 開放時間 = | 狀態 = | 物種 = | 植物 = | 官方網站 = }} |
{{Infobox park |name = |image = |image_size = |alt = |image_caption = |type = |country = |location = |coordinates = {{Coord|NNNNN|NNNNN|type:landmark|display=inline,title}} |locmapin = |district_map = |map_width = |map_caption = |area = |opened = {{Start date|YYYY}} |operator = |visitation_num = |status = |facilities = |parking = |transport = |website = }} |
說明
所有項目都是可選項。name變量默認為條目名稱。你也可以自己訂一個圖像的大小,(默認為200px)或者275px也是一個好的標準大小。如果你定義了自己的圖像尺寸,那你也可以自己使用alt變量來定義自己的圖像轉義內容。轉義內容可參看 WP:ALT.
如果你讓所有的項目空白,那它將不會顯示在條目頁上。
完整參數
{{Infobox park
| child =
| name =
| alt_name =
| native_name = <!-- 根据其国家语系的名字,非拉丁字母系的外文名(如日文,韩文或俄文等)如果多于一个,请使用{{Plainlist}}和{{lang}}模板,并省略native_name_lang -->
| native_name_lang = <!-- 指明外文名之语系,以正确显示文字(如日文、韩文、俄文等)注意:是 ISO-639 语言代码,不是中文 -->
| image =
| image_size =
| upright =
| image_alt =
| caption =
| location_map =
| type =
| motto =
| country =
| location =
| nearest_city =
| grid_ref_UK =
| grid_ref_Ireland =
| coordinates = <!-- 使用 {{Coord|display=inline,title}} -->
| coords_ref =
| area =
| elevation =
| former =
| authorized =
| created =
| established =
| designated =
| opening =
| opened =
| closed =
| founder =
| designer =
| etymology =
| owner =
| administrator =
| manager =
| operator =
| visitation_num =
| visitation_year =
| visitation_ref =
| open =
| status =
| awards =
| camp_sites =
| paths =
| hiking_trails =
| terrain =
| habitat =
| water =
| vegetation =
| plants =
| species =
| collections =
| designation =
| disturbance =
| budget =
| parking =
| transport =
| publictransit =
| facilities =
| free_label =
| free_data =
| website = <!-- 使用 {{URL|example.com}} -->
| embedded =
}}
示例
頤和園 | |
---|---|
基本資料 | |
類型 | 公共公園 |
位置 | 北京海淀區 |
座標 | 39°59′51.00″N 116°16′8.04″E / 39.9975000°N 116.2689000°E |
面積 | 100公頃 |
開放 | 2000年 |
營運者 | Townsville city council |
訪客數 | 1,000,000 |
狀態 | 全年開放 |
網站 | www.example.net |
地圖 | |
右邊的例子就使用了下面的代碼。
{{Infobox park |name = 颐和园 |image = Marble Boat 4017.jpg |image_size = 200 |alt = City lake, about 200 m in diameter, with a fountain in the center that shoots water about 25 m high. A few small pleasure craft are in the lake. In the background are trees and buildings. |image_caption = 頤和園 |type = 公共公園 |location = [[北京]]海淀區 |coordinates = {{coord|39|59|51.00|N|116|16|8.04|E|type:landmark|display=inline}} |locmapin = China Beijing |map_width = 200 |map_caption = 在北京市的位置 |area = 100公頃 |opened = 2000年 |operator = Townsville city council |visitation_num = 1,000,000 |status = 全年開放 |website = [http://www.example.net www.example.net] }}
模板數據
模板數據
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
沒有描述。
|
微格式
本模板產生的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更名或刪除。
當指定經緯度數值時,請避免太過詳細。
追蹤分類
|