模板:Infobox tree/doc

維基百科,自由的百科全書
跳至導覽 跳至搜尋

用於單獨一顆的樹木的資訊模板。

金城武樹
金城武樹
金城武樹被麥德姆颱風吹倒前的原貌,拍攝於2014年6月
Module:Location_map第425行Lua錯誤:Malformed coordinates value
當地名稱金城武樹中文
樹種茄苳Bischofia javanica
國家/地區File:Flag of the Republic of China.svg 中華民國臺灣
座標Lua錯誤:callParserFunction: function "#coordinates" was not found。
樹高10米(33英尺)
樹圍1米(3.3英尺)
直徑0.45米(1.5英尺)
種植日期1970年代
網站伯朗大道

Blank template[編輯]

{{Infobox tree
| name=
| image=
| image_size=
| alt=
| image_caption=
| map=
| map_alt=
| map_size=
| map_caption=
| relief=
| label_position=
| map_image=
| native_name=
| native_name_lang=
| species=
| binomial=
| country=
| location=
| height= <!-- {{convert|####|m|ft|abbr=on}} -->
| girth= <!-- {{convert|####|m|ft|abbr=on}} -->
| diameter= <!-- {{convert|####|m|ft|abbr=on}} -->
| volume=
| coordinates=<!-- {{coord|LAT|LON|type:landmark_region:XX|display=inline,title}} -->
| seeded=<!-- {{Start date|YYYY|MM|DD|df=y}} if after XXXX -->
| felled=<!-- {{End date|YYYY|MM|DD|df=y}} -->
| custodian=
| website=<!-- {{URL|example.com}}  -->
}}

Microformats[編輯]

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

當指定經緯度數值時,請避免太過詳細。 Template:UF-species

Template Data[編輯]

以下是該模板的模板資料,適用於視覺化編輯器等工具。

Infobox tree模板資料

<templatedata> { "params": { "name": {}, "image": {}, "image_caption": {}, "image_size": {}, "map": {}, "map_size": {}, "species": {}, "binomial": {}, "height": {}, "diameter": {}, "volume": {}, "seeded": {}, "relief": {}, "coordinates": {}, "felled": {}, "custodian": {}, "website": {}, "map_alt": {}, "map_caption": {}, "alt": {}, "native_name": {}, "native_name_lang": {}, "country": {},

       "location": {},

"girth": {} }, "format": "block" } </templatedata>