Template:Infobox tree/doc

This is an old revision of this page, as edited by Hike395 (talk | contribs) at 23:54, 20 April 2019 (Template Data: add descriptions). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

For individual trees.

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=
| 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

The HTML markup produced by this template includes an hCard microformat, which makes the place-name and ___location parsable by computers, either acting automatically to catalogue articles across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. Within the hCard is a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit. For more information about the use of microformats on Wikipedia, please see the microformat project.

Sub-templates

If the place or venue has "established", "founded", "opened" or similar dates, use {{start date}} for the earliest of those dates unless the date is before 1583 CE.

If it has a URL, use {{URL}}.

Please do not remove instances of these sub-templates.

Classes

hCard uses HTML classes including:

  • adr
  • agent
  • category
  • county-name
  • extended-address
  • fn
  • label
  • locality
  • nickname
  • note
  • org
  • region
  • street-address
  • uid
  • url
  • vcard

Geo is produced by calling {{coord}}, and uses HTML classes:

  • geo
  • latitude
  • longitude

Please do not rename or remove these classes nor collapse nested elements which use them.

Precision

When giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name= parameter. This template emits a "species" (or "biota") microformat.

The microformat is created by the use of class="biota", and classes for individual taxonomic ranks, such as class="___domain" in a span around {{{___domain}}} (full list). Please do not change or remove those classes other than as part of development of the microformat. For background information, see microformats on Wikipedia and the microformat specification.

Template Data

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Infobox tree in articles based on its TemplateData.

TemplateData for Infobox tree

Syntax error in JSON (help)