模板: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>