Template:Infobox test: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
{{#invoke:infobox|infoboxTemplate
{{infobox
|autoheaders = y
|above = {{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}
|bodyclass  = vcard
|subheader = {{{tag|}}}
|bodystyle  = width:{{{box_width|296px}}}; line-height:1.5em
|image = {{{image|}}}
|child      = {{{child|}}}
|caption = {{{caption|}}}
|label1 = Area
|data1 = {{{area|}}}
|label2 = Population
|data2 = {{{population|}}}
|label3 = Major Temples
|data3 = {{{temples|}}}
|label4 = Demonym
|data4 = {{{demonym|}}}
|label5 = Countries
|data5 = {{{countries|}}}
|label6 = Languages
|data6 = {{{languages|}}}
|label7 = Largest Cities
|data7 = {{{largest_cities|}}}
|label8 = Setting
|data8 = {{{setting|}}}


|aboveclass = mergedtoprow name
|headerstyle = background:#d0f0c0;text-align:center;
|subheaderrowclass1 = mergedbottomrow tag
 
|imagerowclass1 = mergedtoprow mergedbottomrow
|aboveclass = fn org
|rowclass1 = mergedtoprow
|abovestyle  = background:#d0f0c0
|rowclass2 = mergedrow
|above      = {{if empty|{{{name|}}}|<includeonly>{{PAGENAMEBASE}}</includeonly>}}<!--
|rowclass3 = mergedrow
              -->{{#if:{{{native_lang|}}}{{{native_name|}}}
|rowclass4 = mergedrow
                  | <span style="font-weight:lighter; font-size:90%"><br />{{#if:{{{native_lang|}}}
|rowclass5 = mergedrow
                    | {{lang-{{{native_lang|}}}|{{{native_name|}}}}}
|rowclass6 = mergedrow
                    | {{{native_name|}}} }}</span>}}<!--
|rowclass7 = mergedbottomrow
              -->{{#if:{{{native_lang2|}}}{{{native_name2|}}}
|rowclass8 = mergedtoprow mergedbottomrow
                  | <span style="font-weight:lighter; font-size:90%"><br />{{#if:{{{native_lang2|}}}
}}</includeonly><noinclude>
                    | {{lang-{{{native_lang2|}}}|{{{native_name2|}}}}}
{{Documentation}}
                    | {{{native_name2|}}} }}</span>}}
<!--Please add this template's categories to the /doc subpage, not here - thanks!-->
 
|image        = {{#invoke:InfoboxImage|InfoboxImage|image={{{photo|}}}|size={{{photo_width|}}}|sizedefault=272px|maxsize=288px|alt={{{image_alt|{{{photo_alt|}}}}}}}}
|caption      = {{{photo_caption|}}}
 
|header1 = Map
 
| {{#if:{{{photo|}}}|data2|image2}} = {{#if:{{{map|}}}
  |{{Location map|{{{map}}}
    | border = infobox | float = center
    | width = {{{map_width|}}}
    | default_width  = 272
    | max_width = 288
    | relief = {{{relief|}}}
    | label = {{if empty|{{{label|}}}|{{{name|}}} }}
    | position = {{#if:{{{label_position|}}}{{{label|}}} | {{{label_position|}}} | none<!-- if neither then none -->}}
    | caption = {{{map_caption|}}}
    | alt = {{if empty|{{{map_alt|}}}|Map showing the location of {{if empty|{{{name|}}}|{{PAGENAMEBASE}}}} }}
    | mark = {{{mark|}}}
    | marksize = {{{marker_width|{{{marker_size|}}}}}}
    | coordinates = {{if empty|{{{coordinates|}}}|{{{coords|}}}}} }}
  |{{#invoke:InfoboxImage|InfoboxImage|image={{{map_image|}}}|size={{{map_size|{{{map_width|}}}}}}|sizedefault=272px|maxsize=288px|alt={{{map_alt|}}}}}{{#if:{{{map_image|}}}|{{#if:{{{map_caption|}}}|<div>{{{map_caption}}}</div>}}}}
  }}
 
|header3 = Geography
 
|label4  = Location
|data4  = {{#if:{{{location|}}}
            | {{{location|}}}
            | {{#if:{{{county|}}}|{{{county}}} }}<!--
              -->{{#if:{{{region|}}}|{{#if:{{{county|}}}|,{{sp}}}}{{{region}}}}}<!--
              -->{{#if:{{{country|}}}|{{#if:{{{county|}}}{{{region|}}}|,{{sp}}}}{{{country}}} }} }}
 
|label5  = [[Ordnance Survey National Grid|OS grid]]
|data5  = {{#if:{{{grid_ref_UK|}}}|{{gbm4ibx|{{{grid_ref_UK|}}}}} }}
 
|label6  = [[Irish grid reference system|OSI/OSNI grid]]
|data6  = {{#if:{{{grid_ref_Ireland|}}}|{{iem4ibx|{{{grid_ref_Ireland|}}}}} }}
 
|label7  = Coordinates
|data7  = {{#ifeq:{{{display|}}}|none
            |<!-- nothing -->
            |{{#if:{{{coordinates|}}}{{{coords|}}}|{{#invoke:Coordinates|coordinsert|{{if empty|{{{coordinates|}}}{{{coords|}}}}}|type:forest}}{{{coords_ref|}}} }}  
          }}
 
|label8  = Elevation
|data8  = {{{elevation|}}}
 
|label9  = Area{{#if:{{{date_max_area|}}}|<br />&nbsp;&nbsp;&ndash;&nbsp;<span style="font-weight:normal;">maximum</span>}}
|data9  = {{{area|}}}<!--
            -->{{#if:{{{max_area|}}}|<br /><span style="font-size:92%;">{{{max_area}}}<!--
            -->{{#if:{{{date_max_area|}}}|{{sp}}in {{{date_max_area}}}}}</span> }}
 
|header10 = Administration
 
|label11  = Status
|data11  = {{{status|}}}
 
|label12  = Established
|data12  = {{{established|}}}
 
|label13 = Visitation
|data13  = {{{visitation|}}}{{#if:{{{visitation_year|}}} | {{sp}}{{{visitation_year|}}} }}
 
|label14  = Events
|data14  = {{{events|}}}
 
|label15  = {{#if:{{{administrator|}}}|Administered&nbsp;by
            | {{#if:{{{authority|}}}|Governing&nbsp;body
            | {{#if:{{{governing_body|}}}|Governing&nbsp;body
            | {{#if:{{{manager|}}}|Managed&nbsp;by
            | {{#if:{{{operator|}}}|Operated&nbsp;by
            | {{#if:{{{owner|}}}|Owned&nbsp;by}}}}}}}}}}}}
|data15  = {{if empty|{{{administrator|}}}|{{{authority|}}}|{{{governing_body|}}}|{{{manager|}}}|{{{operator|}}}|{{{owner|}}} }}
 
|label16  = Website
|data16  = {{#if:{{{website|}}}|{{URL|{{{website}}}}}}}
 
|header17 = Ecology
 
|label18  = Ecosystem(s)
|data18  = {{{ecosystem|}}}
 
|label19  = [[List of terrestrial ecoregions (WWF)|WWF Classification]]
|data19  = {{{classification_WWF|}}}
 
|label20 = [[List of ecoregions in the United States (EPA)|EPA Classification]]
|data20  = {{{classification_EPA|}}}
 
|label21 = [[List of ecoregions in North America (CEC)|CEC Classification]]
|data21  = {{{classification_CEC|}}}
 
|label22  = Disturbance
|data22  = {{{disturbance|}}}
 
|label23  = Forest&nbsp;cover
|data23  = {{{forest_cover|}}}
 
|label24  = Dominant tree species
|data24  = {{{species|}}}
 
|label25  = Indicator plants
|data25  = {{{indicator_plants|}}}
 
|label26  = Lesser flora
|data26  = {{{lesser_flora|}}}
 
|label27  = Fauna
|data27  = {{{fauna|}}}
 
|data28  = {{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_image | map_size | 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
}}<noinclude>
{{documentation}}
</noinclude>
</noinclude>

Navigation menu