Jump to content

Template:Infobox forest: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
No edit summary
simplify
Line 21: Line 21:
|caption = {{{photo_caption|}}}
|caption = {{{photo_caption|}}}


|image2 = {{#if:{{{photo|}}} | | {{#if:{{{map|}}} <!-- if no photo display map here -->
|header1 = {{#if:{{{location|}}}{{{elevation|}}}{{{area|}}}{{{authority|}}}{{{status|}}}|Geography|{{#if:{{{photo|}}}|{{#if:{{{map|}}}|Map}} }} }}
|{{#if:{{#ifexist:Module:Location map/data/{{{map}}}|1|{{#ifexist:Template:Location map {{{map}}}|1}}}}|<!--
-->{{location map
| {{{map}}}
| relief = {{{relief|}}}
| width = {{least|{{ifempty|{{{map_width|}}}|250}}|264}}
| caption = <!-- no value assigned but it must be specified, see {{location map}} -->
| alt = {{if empty|{{{map_alt|}}}|Map showing the location of {{if empty|{{{name|}}}|{{PAGENAMEBASE}}}} }}
| float = center
| label = {{ifempty|{{{label|}}}|{{{name|}}} }}
| position = {{lc: {{if either|{{{label_position|}}}|{{{label|}}}
| <!-- do nothing -->
| none}} }}
| mark = {{#if:{{{mark|}}}|{{{mark}}}|Red pog.svg}}
| marksize = {{#if:{{{marker_width|}}}|{{{marker_width}}}|8}}
| coordinates = {{if empty|{{{coordinates|}}}|{{{coords|}}}}} }}|<!--
-->{{#invoke:InfoboxImage | InfoboxImage | image={{{map}}}
| size={{{map_width|}}} | maxsize=264px | sizedefault=250px
| alt={{if empty|{{{map_alt|}}}|Map showing the location of {{if empty|{{{name|}}}|{{PAGENAMEBASE}}}} }}
| title={{{map_caption|}}} }} }} }} }}
|caption2 = {{{map_caption|}}}

|header10 = {{#if:{{{location|}}}{{{elevation|}}}{{{area|}}}{{{authority|}}}{{{status|}}}|Geography|{{#if:{{{photo|}}}|{{#if:{{{map|}}}|Map}} }} }}


|data11 = {{#if:{{{photo|}}} | {{#if:{{{map|}}} <!-- if photo display map here -->
| {{#if:{{{photo|}}}|data2|image2}} = {{#if:{{{map|}}}
|{{#if:{{#ifexist:Module:Location map/data/{{{map}}}|1|{{#ifexist:Template:Location map {{{map}}}|1}}}}|<!--
|{{#if:{{#ifexist:Module:Location map/data/{{{map}}}|1|{{#ifexist:Template:Location map {{{map}}}|1}}}}|<!--
-->{{location map
-->{{location map
| {{{map}}}
| {{{map}}}
| relief = {{{relief|}}}
| relief = {{{relief|}}}
| border = infobox
| caption = {{{map_caption|}}}
| width = {{least|{{ifempty|{{{map_width|}}}|250}}|264}}
| width = {{least|{{ifempty|{{{map_width|}}}|250}}|264}}
| caption = <!-- no value assigned but it must be specified, see {{location map}} -->
| alt = {{if empty|{{{map_alt|}}}|Map showing the location of {{if empty|{{{name|}}}|{{PAGENAMEBASE}}}} }}
| alt = {{if empty|{{{map_alt|}}}|Map showing the location of {{if empty|{{{name|}}}|{{PAGENAMEBASE}}}} }}
| float = center
| float = center
Line 64: Line 43:
| size={{{map_width|}}} | maxsize=264px | sizedefault=250px
| size={{{map_width|}}} | maxsize=264px | sizedefault=250px
| alt={{if empty|{{{map_alt|}}}|Map showing the location of {{if empty|{{{name|}}}|{{PAGENAMEBASE}}}} }}
| alt={{if empty|{{{map_alt|}}}|Map showing the location of {{if empty|{{{name|}}}|{{PAGENAMEBASE}}}} }}
| title={{{map_caption|}}} }} }}{{{map_caption|}}} }} }}
| title={{{map_caption|}}} }}{{#if:{{{map_caption|}}}|<div>{{{map_caption|}}}</div>}} }} }}


|label12 = Location
|label3 = Location
|data12 = {{#if:{{{location|}}}
|data3 = {{#if:{{{location|}}}
| {{{location|}}}
| {{{location|}}}
| {{#if:{{{county|}}}|{{{county}}} }}<!--
| {{#if:{{{county|}}}|{{{county}}} }}<!--
Line 73: Line 52:
-->{{#if:{{{country|}}}|{{#if:{{{county|}}}{{{region|}}}|,{{sp}}}}{{{country}}} }} }}
-->{{#if:{{{country|}}}|{{#if:{{{county|}}}{{{region|}}}|,{{sp}}}}{{{country}}} }} }}


|label13 = [[British national grid reference system|OS grid]]
|label4 = [[British national grid reference system|OS grid]]
|data13 = {{#if:{{{grid_ref_UK|}}}|{{gbm4ibx|{{{grid_ref_UK|}}}}} }}
|data4 = {{#if:{{{grid_ref_UK|}}}|{{gbm4ibx|{{{grid_ref_UK|}}}}} }}


|label14 = [[Irish grid reference system|OSI/OSNI grid]]
|label5 = [[Irish grid reference system|OSI/OSNI grid]]
|data14 = {{#if:{{{grid_ref_Ireland|}}}|{{iem4ibx|{{{grid_ref_Ireland|}}}}} }}
|data5 = {{#if:{{{grid_ref_Ireland|}}}|{{iem4ibx|{{{grid_ref_Ireland|}}}}} }}


|label15 = Coordinates
|label6 = Coordinates
|data15 = {{#ifeq:{{{display|}}}|none
|data6 = {{#ifeq:{{{display|}}}|none
|<!-- nothing -->
|<!-- nothing -->
|{{#if:{{{coordinates|}}}{{{coords|}}}|{{#invoke:Coordinates|coordinsert|{{if empty|{{{coordinates|}}}{{{coords|}}}}}|type:forest}}{{{coords_ref|}}} }}
|{{#if:{{{coordinates|}}}{{{coords|}}}|{{#invoke:Coordinates|coordinsert|{{if empty|{{{coordinates|}}}{{{coords|}}}}}|type:forest}}{{{coords_ref|}}} }}
}}
}}


|label16 = Elevation
|label7 = Elevation
|data16 = {{{elevation|}}}
|data7 = {{{elevation|}}}


|label17 = Area{{#if:{{{date_max_area|}}}|<br />&nbsp;&nbsp;&ndash;&nbsp;<span style="font-weight:normal;">maximum</span>}}
|label8 = Area{{#if:{{{date_max_area|}}}|<br />&nbsp;&nbsp;&ndash;&nbsp;<span style="font-weight:normal;">maximum</span>}}
|data17 = {{{area|}}}<!--
|data8 = {{{area|}}}<!--
-->{{#if:{{{max_area|}}}|<br /><span style="font-size:92%;">{{{max_area}}}<!--
-->{{#if:{{{max_area|}}}|<br /><span style="font-size:92%;">{{{max_area}}}<!--
-->{{#if:{{{date_max_area|}}}|{{sp}}in {{{date_max_area}}}}}</span> }}
-->{{#if:{{{date_max_area|}}}|{{sp}}in {{{date_max_area}}}}}</span> }}


|label18 = Status
|label9 = Status
|data18 = {{{status|}}}
|data9 = {{{status|}}}


|label19 = Established
|label10 = Established
|data19 = {{{established|}}}
|data10 = {{{established|}}}


|label20 = Visitation
|label11 = Visitation
|data20 = {{{visitation|}}}{{#if:{{{visitation_year|}}} | {{sp}}{{{visitation_year|}}} }}
|data11 = {{{visitation|}}}{{#if:{{{visitation_year|}}} | {{sp}}{{{visitation_year|}}} }}


|label21 = Events
|label12 = Events
|data21 = {{{events|}}}
|data12 = {{{events|}}}


|label22 = {{#if:{{{administrator|}}}|Administered&nbsp;by
|label13 = {{#if:{{{administrator|}}}|Administered&nbsp;by
| {{#if:{{{authority|}}}|Governing&nbsp;body
| {{#if:{{{authority|}}}|Governing&nbsp;body
| {{#if:{{{governing_body|}}}|Governing&nbsp;body
| {{#if:{{{governing_body|}}}|Governing&nbsp;body
Line 111: Line 90:
| {{#if:{{{operator|}}}|Operated&nbsp;by
| {{#if:{{{operator|}}}|Operated&nbsp;by
| {{#if:{{{owner|}}}|Owned&nbsp;by}}}}}}}}}}}}
| {{#if:{{{owner|}}}|Owned&nbsp;by}}}}}}}}}}}}
|data22 = {{if empty|{{{administrator|}}}|{{{authority|}}}|{{{governing_body|}}}|{{{manager|}}}|{{{operator|}}}|{{{owner|}}} }}
|data13 = {{if empty|{{{administrator|}}}|{{{authority|}}}|{{{governing_body|}}}|{{{manager|}}}|{{{operator|}}}|{{{owner|}}} }}


|label23 = Website
|label14 = Website
|data23 = {{#if:{{{website|}}}|{{URL|{{{website}}}}}}}
|data14 = {{#if:{{{website|}}}|{{URL|{{{website}}}}}}}


|header30 = {{#if:{{{ecosystem|}}}{{{classification_WWF|}}}{{{classification_EPA|}}}{{{classification_CEC|}}}<!--
|header15 = {{#if:{{{ecosystem|}}}{{{classification_WWF|}}}{{{classification_EPA|}}}{{{classification_CEC|}}}<!--
-->{{{species|}}}{{{disturbance|}}}{{{forest_cover|}}}{{{indicator_plants|}}}{{{fauna|}}}|Ecology}}
-->{{{species|}}}{{{disturbance|}}}{{{forest_cover|}}}{{{indicator_plants|}}}{{{fauna|}}}|Ecology}}


|label31 = Ecosystem(s)
|label16 = Ecosystem(s)
|data31 = {{{ecosystem|}}}
|data16 = {{{ecosystem|}}}


|label32 = [[List of terrestrial ecoregions (WWF)|WWF Classification]]
|label17 = [[List of terrestrial ecoregions (WWF)|WWF Classification]]
|data32 = {{{classification_WWF|}}}
|data17 = {{{classification_WWF|}}}


|label33 = [[List of ecoregions in the United States (EPA)|EPA Classification]]
|label18 = [[List of ecoregions in the United States (EPA)|EPA Classification]]
|data33 = {{{classification_EPA|}}}
|data18 = {{{classification_EPA|}}}


|label34 = [[List of ecoregions in North America (CEC)|CEC Classification]]
|label19 = [[List of ecoregions in North America (CEC)|CEC Classification]]
|data34 = {{{classification_CEC|}}}
|data19 = {{{classification_CEC|}}}


|label35 = Disturbance
|label20 = Disturbance
|data35 = {{{disturbance|}}}
|data20 = {{{disturbance|}}}


|label36 = Forest&nbsp;cover
|label21 = Forest&nbsp;cover
|data36 = {{{forest_cover|}}}
|data21 = {{{forest_cover|}}}


|label39 = Dominant tree species
|label22 = Dominant tree species
|data39 = {{{species|}}}
|data22 = {{{species|}}}


|label40 = Indicator plants
|label23 = Indicator plants
|data40 = {{{indicator_plants|}}}
|data23 = {{{indicator_plants|}}}


|label41 = Lesser flora
|label24 = Lesser flora
|data41 = {{{lesser_flora|}}}
|data24 = {{{lesser_flora|}}}


|label42 = Fauna
|label25 = Fauna
|data42 = {{{fauna|}}}
|data25 = {{{fauna|}}}


|data50 = {{if empty|{{{embedded|}}}|{{{embed|}}} }}
|data26 = {{if empty|{{{embedded|}}}|{{{embed|}}} }}


}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox forest with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox forest]] with unknown parameter "_VALUE_"|ignoreblank=y| administrator | area | authority | box_width | child | classification_CEC | classification_EPA | classification_WWF | coordinates | coords | coords_ref | country | county | date_max_area | display | disturbance | ecosystem | elevation | embed | embedded | established | events | fauna | forest_cover | governing_body | grid_ref_Ireland | grid_ref_UK | image_alt | indicator_plants | label | label_position | lesser_flora | location | manager | map | map_alt | map_caption | map_width | mark | marker_width | max_area | name | native_lang | native_lang2 | native_name | native_name2 | operator | owner | photo | photo_alt | photo_caption | photo_width | region | relief | species | status | visitation | visitation_year | website | x | x% | y | y% }}<noinclude>
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox forest with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox forest]] with unknown parameter "_VALUE_"|ignoreblank=y| administrator | area | authority | box_width | child | classification_CEC | classification_EPA | classification_WWF | coordinates | coords | coords_ref | country | county | date_max_area | display | disturbance | ecosystem | elevation | embed | embedded | established | events | fauna | forest_cover | governing_body | grid_ref_Ireland | grid_ref_UK | image_alt | indicator_plants | label | label_position | lesser_flora | location | manager | map | map_alt | map_caption | map_width | mark | marker_width | max_area | name | native_lang | native_lang2 | native_name | native_name2 | operator | owner | photo | photo_alt | photo_caption | photo_width | region | relief | species | status | visitation | visitation_year | website | x | x% | y | y% }}<noinclude>

Revision as of 14:13, 11 March 2017