Difference between revisions of "Template:Infobox tree/doc"
Jump to navigation
Jump to search
imported>Hike395 (→Blank template: add girth) |
imported>Waddie96 (adjust templatedata) |
||
| (7 intermediate revisions by 6 users not shown) | |||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> | <!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> | ||
| + | {{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}} | ||
For ''individual'' trees. | For ''individual'' trees. | ||
| + | {{Infobox tree | ||
| + | |name = General Sherman | ||
| + | |image = United States - California - Sequoia National Park - General Sherman Tree - Panorama.jpg | ||
| + | |image_caption = A view of the General Sherman, the largest single stem tree in the world | ||
| + | |image_size = 128 | ||
| + | |map = California | ||
| + | |map_size = 160 | ||
| + | |relief = 1 | ||
| + | |species = Giant sequoia | ||
| + | |binomial = ''[[Sequoiadendron giganteum]]'' | ||
| + | |coordinates = {{coord|36|34|54|N|118|45|05.5|W|region:US_type:landmark|display=inline|format=dms}} | ||
| + | |height = {{Convert|83.8|m|ft|abbr=on}} | ||
| + | |diameter = {{Convert|7.7|m|ft|abbr=on}} | ||
| + | |volume = {{Convert|1487|m3|ft3|abbr=on}} | ||
| + | |seeded = 700–300 BC | ||
| + | }} | ||
== Blank template == | == Blank template == | ||
| Line 36: | Line 53: | ||
</pre> | </pre> | ||
| − | == | + | ==TemplateData== |
| − | |||
| − | |||
| − | |||
| − | |||
{{TemplateData header}} | {{TemplateData header}} | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"params": { | "params": { | ||
| − | "name": { | + | "name": {}, |
| − | + | "image": {}, | |
| − | + | "image_caption": {}, | |
| − | + | "image_size": {}, | |
| − | + | "map": {}, | |
| − | "image": { | + | "map_size": {}, |
| − | + | "species": {}, | |
| − | + | "binomial": {}, | |
| − | + | "height": {}, | |
| − | + | "diameter": {}, | |
| − | + | "volume": {}, | |
| − | + | "seeded": { | |
| − | + | "example": "{{Start date|YYYY|MM|DD|df=y}}" | |
| − | |||
| − | " | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | " | ||
| − | |||
| − | |||
| − | |||
| − | " | ||
| − | |||
| − | |||
| − | |||
| − | " | ||
| − | |||
| − | " | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
}, | }, | ||
| + | "relief": {}, | ||
"coordinates": { | "coordinates": { | ||
| − | + | "example": "{{coord|LAT|LON|type:landmark_region:XX|display=inline,title}}" | |
| − | " | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
}, | }, | ||
"felled": { | "felled": { | ||
| − | + | "example": "{{End date|YYYY|MM|DD|df=y}}" | |
| − | |||
}, | }, | ||
| − | "custodian": { | + | "custodian": {}, |
| − | + | "website": { | |
| − | " | + | "example": "{{URL|example.com}}" |
}, | }, | ||
| − | " | + | "map_alt": {}, |
| − | + | "map_caption": {}, | |
| − | + | "alt": {}, | |
| − | + | "native_name": {}, | |
| + | "native_name_lang": {}, | ||
| + | "location": {}, | ||
| + | "girth": {}, | ||
| + | "label": {}, | ||
| + | "label_position": {}, | ||
| + | "map_image": {} | ||
}, | }, | ||
| − | " | + | "format": "block" |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
} | } | ||
</templatedata> | </templatedata> | ||
| + | == Microformats == | ||
| + | {{UF-hcard-geo}} | ||
| + | {{UF-species}} | ||
| − | <includeonly> | + | == Tracking category == |
| + | * {{clc|Pages using infobox tree with unknown parameters}} | ||
| + | |||
| + | <includeonly>{{Sandbox other|| | ||
<!-- Categories go here, and interwikis go in Wikidata --> | <!-- Categories go here, and interwikis go in Wikidata --> | ||
| − | + | [[Category:Templates that add a tracking category]] | |
| − | </includeonly> | + | }}</includeonly> |
Latest revision as of 12:40, 3 July 2020
| This is a documentation subpage for Template:Infobox tree. It contains usage information, categories and other content that is not part of the original template page. |
| This template uses Lua: |
For individual trees.
| General Sherman | |
|---|---|
![]() A view of the General Sherman, the largest single stem tree in the world | |
| Lua error in Module:Location_map at line 399: Malformed coordinates value. | |
| Species | Giant sequoia (Sequoiadendron giganteum) |
| Coordinates | Lua error: callParserFunction: function "#coordinates" was not found. |
| Height | 83.8 m (275 ft) |
| Diameter | 7.7 m (25 ft) |
| Volume of trunk | 1,487 m3 (52,500 cu ft) |
| Date seeded | 700–300 BC |
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=
| location=
| height=
| girth=
| diameter=
| 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}} -->
}}
TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.
TemplateData for Infobox tree
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | no description | Unknown | optional |
| Image | image | no description | Unknown | optional |
| Image_caption | image_caption | no description | Unknown | optional |
| Image_size | image_size | no description | Unknown | optional |
| Map | map | no description | Unknown | optional |
| Map_size | map_size | no description | Unknown | optional |
| Species | species | no description | Unknown | optional |
| Binomial | binomial | no description | Unknown | optional |
| Height | height | no description | Unknown | optional |
| Diameter | diameter | no description | Unknown | optional |
| Volume | volume | no description | Unknown | optional |
| Seeded | seeded | no description
| Unknown | optional |
| Relief | relief | no description | Unknown | optional |
| Coordinates | coordinates | no description
| Unknown | optional |
| Felled | felled | no description
| Unknown | optional |
| Custodian | custodian | no description | Unknown | optional |
| Website | website | no description
| Unknown | optional |
| Map_alt | map_alt | no description | Unknown | optional |
| Map_caption | map_caption | no description | Unknown | optional |
| Alt | alt | no description | Unknown | optional |
| Native_name | native_name | no description | Unknown | optional |
| Native_name_lang | native_name_lang | no description | Unknown | optional |
| Location | location | no description | Unknown | optional |
| Girth | girth | no description | Unknown | optional |
| Label | label | no description | Unknown | optional |
| Label_position | label_position | no description | Unknown | optional |
| Map_image | map_image | no description | Unknown | optional |
Microformats
Template:UF-hcard-geo Template:UF-species
Tracking category
