Template:Infobox tree/doc: Difference between revisions

Content deleted Content added
wiki-file-name for image
documenting module param i added
 
(4 intermediate revisions by 2 users not shown)
Line 22:
 
== Blank template ==
<presyntaxhighlight lang="wikitext" style="width: 48em;">
{{Infobox tree
| name=
Line 36:
| label_position=
| map_image=
| native_name=<!-- {{native name}} or {{native name list}} -->
| native_name_lang=
| species=
| binomial=
Line 50 ⟶ 49:
| custodian=
| website=<!-- {{URL|example.com}} -->
| module=<!-- Other templates can be embedded here -->
}}
</syntaxhighlight>
</pre>
 
== Parameters ==
Line 66:
; label_position : The position of the label on the pushpin ___location map relative to the pushpin mark. Valid values are left, right, top and bottom. This defaults to either left or right, depending on the coordinates of the marker and its position relative to the right border of the map image.
; map_image : Image of a map of the tree, omitting the [[Help:Link|wikilink brackets]] and the "file:" or "image:"
; native_name : Name of the tree in the local language, if different from '''name''' – use {{tl|native name}} or, for multiple names, use {{tl|native name list}}
; native_name_lang : [[List of ISO 639-2 codes|ISO 639-2 code]] for the local language, e.g. "fr" for French. If there is more than one native name, in different languages, enter those names using {{tl|lang}}, instead.
; species : The common name of the [[List of trees and shrubs by taxonomic family|tree's species]]<br /> Example: "Giant sequoia"
; binomial : The scientific name of the tree's species. Please also include ''italic'' wiki markup and wikilink brackets<br /> Example: <code><nowiki>''[[Sequoiadendron giganteum]]''</nowiki></code>
Line 80 ⟶ 79:
; custodian : Custodian of the tree
; website : Official or primary website. Use the template {{tl|URL}}. <br /> Example: <nowiki>{{URL|example.org}}</nowiki>
; module : Other templates can be embedded here.
 
===Mapframe map===
Line 126:
"alt": {},
"native_name": {},
"native_name_lang": {},
"___location": {},
"girth": {},