Diff: Template:Infobox tree
Comparing revision #1 (2023-06-11 01:14:39) with revision #2 (2024-03-04 22:45:00).
| Old | New |
|---|---|
{{infobox |
{{infobox |
| bodyclass = vcard |
| bodyclass = vcard |
| abovestyle = background-color:#54B654 |
| abovestyle = background-color:#54B654 |
| aboveclass = fn org |
| aboveclass = fn org |
| above = {{{name|}}} |
| above = {{{name|}}} |
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=264px|maxsize=296px|alt={{{alt|}}}}} |
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=264px|maxsize=296px|alt={{{alt|}}}}} |
| caption = {{{image_caption|}}} |
| caption = {{{image_caption|}}} |
| image2 = {{#if:{{{map|}}} | {{location map|{{{map}}} |
| image2 = {{#if:{{{map|}}} | {{location map|{{{map}}} |
| border = infobox | float = center |
| border = infobox | float = center |
| alt = {{{map_alt|}}} |
| alt = {{{map_alt|}}} |
| width = {{{map_size|}}} |
| width = {{{map_size|}}} |
| default_width = 264 |
| default_width = 264 |
| max_width = 296 |
| max_width = 296 |
| caption = {{if empty|{{{map_caption|}}}|{{{location|}}} }} |
| caption = {{if empty|{{{map_caption|}}}|{{{location|}}} }} |
| relief = {{{relief|}}} |
| relief = {{{relief|}}} |
| label = {{if empty|{{{label|}}}|{{{name|}}} }} |
| label = {{if empty|{{{label|}}}|{{{name|}}} }} |
| position = {{{label_position|}}} |
| position = {{{label_position|}}} |
| coordinates = {{{coordinates|}}}}} |
| coordinates = {{{coordinates|}}}}} |
| {{#invoke:InfoboxImage|InfoboxImage|image={{{map_image|}}}|size={{{map_size|}}}|sizedefault=264px|maxsize=296px|alt={{{map_alt|}}}}} |
| {{#invoke:InfoboxImage|InfoboxImage|image={{{map_image|}}}|size={{{map_size|}}}|sizedefault=264px|maxsize=296px|alt={{{map_alt|}}}}} |
}} |
}} |
|caption2 = {{#if:{{{map|}}} || {{{map_caption|}}} }} |
|caption2 = {{#if:{{{map|}}} || {{{map_caption|}}} }} |
| image3 = {{#invoke:Infobox mapframe|auto|onByDefault={{#if:{{{map|}}}{{{map_image|}}}|no|yes}}|mapframe-marker=park|<!-- |
| image3 = {{#invoke:Infobox mapframe|auto|onByDefault={{#if:{{{map|}}}{{{map_image|}}}|no|yes}}|mapframe-marker=park|<!-- |
-->mapframe-width={{#if:{{{mapsize|}}}|{{min|{{{map_size}}}|296}}|264}}}} |
-->mapframe-width={{#if:{{{mapsize|}}}|{{min|{{{map_size}}}|296}}|264}}}} |
| caption3 = {{#invoke:Infobox mapframe|autocaption|onByDefault={{#if:{{{map|}}}{{{map_image|}}}|no|yes}}}} |
| caption3 = {{#invoke:Infobox mapframe|autocaption|onByDefault={{#if:{{{map|}}}{{{map_image|}}}|no|yes}}}} |
| class1 = nickname |
| class1 = nickname |
| label1 = Native name |
| label1 = Native name |
| data1 = {{native name checker|{{{native_name|}}}}} |
| data1 = {{native name checker|{{{native_name|}}}}} |
| class2 = biota |
| class2 = biota |
| label2 = [[List of tree species|Species]] |
| label2 = [[List of tree species|Species]] |
| data2 = {{#if:{{{species|}}}|<!-- |
| data2 = {{#if:{{{species|}}}|<!-- |
-->{{#if:{{{binomial|}}}|<!-- |
-->{{#if:{{{binomial|}}}|<!-- |
--><span class="vernacular">{{{species}}}</span> (<span class="binominal"><i>{{{binomial}}}</i></span>)|<!-- |
--><span class="vernacular">{{{species}}}</span> (<span class="binominal"><i>{{{binomial}}}</i></span>)|<!-- |
--><span class="vernacular">{{{species}}}</span>}}|<!-- |
--><span class="vernacular">{{{species}}}</span>}}|<!-- |
-->{{#if:{{{binomial|}}}|<span class="binominal"><i>{{{binomial}}}</i></span>}}}} |
-->{{#if:{{{binomial|}}}|<span class="binominal"><i>{{{binomial}}}</i></span>}}}} |
| label3 = Location |
| label3 = Location |
| data3 = {{#if:{{{map|}}}|{{#if:{{{map_caption|}}}|{{{location|}}}}}|{{{location|}}}}} |
| data3 = {{#if:{{{map|}}}|{{#if:{{{map_caption|}}}|{{{location|}}}}}|{{{location|}}}}} |
| class3 = label |
| class3 = label |
| label4 = Coordinates |
| label4 = Coordinates |
| data4 = {{{coordinates|}}} |
| data4 = {{{coordinates|}}} |
| label5 = [[Tree height measurement|Height]] |
| label5 = [[Tree height measurement|Height]] |
| data5 = {{{height|}}} |
| data5 = {{{height|}}} |
| label6 = [[Tree girth measurement|Girth]] |
| label6 = [[Tree girth measurement|Girth]] |
| data6 = {{{girth|}}} |
| data6 = {{{girth|}}} |
| label7 = Diameter |
| label7 = Diameter |
| data7 = {{{diameter|}}} |
| data7 = {{{diameter|}}} |
| label8 = [[Tree volume measurement|Volume of trunk]] |
| label8 = [[Tree volume measurement|Volume of trunk]] |
| data8 = {{{volume|}}} |
| data8 = {{{volume|}}} |
| label9 = Date seeded |
| label9 = Date seeded |
| data9 = {{{seeded|}}} |
| data9 = {{{seeded|}}} |
| label10 = Date felled |
| label10 = Date felled |
| data10 = {{{felled|}}} |
| data10 = {{{felled|}}} |
| label11 = Custodian |
| label11 = Custodian |
| data11 = {{{custodian|}}} |
| data11 = {{{custodian|}}} |
| label12 = Website |
| label12 = Website |
| data12 = {{{website|}}} |
| data12 = {{{website|}}} |
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox tree with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox tree]] with unknown parameter "_VALUE_"|ignoreblank=y|name|image|image_size|alt|image_caption|map|map_alt|map_size|map_width|relief|label|label_position|coordinates|map_image|map_caption|native_name|species|binomial|location|height|girth|diameter|volume|seeded|felled|custodian|website | mapframe | mapframe-caption | mapframe-custom | mapframe-id | mapframe-coord | mapframe-wikidata | mapframe-point | mapframe-shape | mapframe-frame-width | mapframe-width | mapframe-frame-height | mapframe-height | mapframe-shape-fill | mapframe-shape-fill-opacity | mapframe-stroke-color | mapframe-stroke-colour | mapframe-stroke-width | mapframe-marker | mapframe-marker-color | mapframe-marker-colour | mapframe-geomask | mapframe-geomask-stroke-color | mapframe-geomask-stroke-colour | mapframe-geomask-stroke-width | mapframe-geomask-fill | mapframe-geomask-fill-opacity | mapframe-zoom | mapframe-length_km | mapframe-length_mi | mapframe-area_km2 | mapframe-area_mi2 | mapframe-frame-coordinates | mapframe-frame-coord | mapframe-switcher }}<noinclude>{{documentation}}</noinclude> |
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox tree with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox tree]] with unknown parameter "_VALUE_"|ignoreblank=y|name|image|image_size|alt|image_caption|map|map_alt|map_size|map_width|relief|label|label_position|coordinates|map_image|map_caption|native_name|species|binomial|location|height|girth|diameter|volume|seeded|felled|custodian|website | mapframe | mapframe-caption | mapframe-custom | mapframe-id | mapframe-coord | mapframe-wikidata | mapframe-point | mapframe-shape | mapframe-frame-width | mapframe-width | mapframe-frame-height | mapframe-height | mapframe-shape-fill | mapframe-shape-fill-opacity | mapframe-stroke-color | mapframe-stroke-colour | mapframe-stroke-width | mapframe-marker | mapframe-marker-color | mapframe-marker-colour | mapframe-geomask | mapframe-geomask-stroke-color | mapframe-geomask-stroke-colour | mapframe-geomask-stroke-width | mapframe-geomask-fill | mapframe-geomask-fill-opacity | mapframe-zoom | mapframe-length_km | mapframe-length_mi | mapframe-area_km2 | mapframe-area_mi2 | mapframe-frame-coordinates | mapframe-frame-coord | mapframe-switcher }}<noinclude>{{documentation}}</noinclude> |