Template:Infobox test: Difference between revisions

From Stiles Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(23 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#invoke:infobox|infoboxTemplate
<includeonly>
{{infobox
|autoheaders = y
|autoheaders = y
|bodyclass  = vcard
|above = {{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}
|bodystyle  = width:{{{box_width|296px}}}; line-height:1.5em
|subheader = {{{tag|}}}
|child      = {{{child|}}}
|image = {{{image|}}}
|caption = {{{caption|}}}


|headerstyle = background:#d0f0c0;text-align:center;
|header1 = 5th Edition Statistics
|label2 = Size
|data2 = {{{size5e|}}}
|label3 = Type
|data3 = {{{type5e|}}}
|label4 = Tag(s)
|data4 = {{{tags5e|}}}
|label5 = Typical Alignment
|data5 = {{{alignment5e|}}}


|aboveclass  = fn org
|header6 = General Information
|abovestyle  = background:#d0f0c0
|label7 = Patron Deity(s)
|above      = {{if empty|{{{name|}}}|<includeonly>{{PAGENAMEBASE}}</includeonly>}}<!--
|data7 = {{{deity|}}}
              -->{{#if:{{{native_lang|}}}{{{native_name|}}}
|label8 = Movement
                  | <span style="font-weight:lighter; font-size:90%"><br />{{#if:{{{native_lang|}}}
|data8 = {{{movement|}}}
                    | {{lang-{{{native_lang|}}}|{{{native_name|}}}}}
|label9 = Vision
                    | {{{native_name|}}} }}</span>}}<!--
|data9 = {{{vision|}}}
              -->{{#if:{{{native_lang2|}}}{{{native_name2|}}}
|label10 = Activity Cycle
                  | <span style="font-weight:lighter; font-size:90%"><br />{{#if:{{{native_lang2|}}}
|data10 = {{{sleep_cycle|}}}
                    | {{lang-{{{native_lang2|}}}|{{{native_name2|}}}}}
|label11 = Diet
                    | {{{native_name2|}}} }}</span>}}
|data11 = {{{diet|}}}
|label12 = Average Lifespan
|data12 = {{{lifespan|}}}
|label13 = Homeland(s)
|data13 = {{{homeland|}}}
|label14 = Intelligence
|data14 = {{{intelligence|}}}
|label15 = Language(s)
|data15 = {{{language|}}}
|label16 = Subraces
|data16 = {{{subraces|}}}
|label17 = Favored Climate
|data17 = {{{favored_climate|}}}
|label18 = Favored Terrain
|data18 = {{{favored_terrain|}}}


|image        = {{#invoke:InfoboxImage|InfoboxImage|image={{{photo|}}}|size={{{photo_width|}}}|sizedefault=272px|maxsize=288px|alt={{{image_alt|{{{photo_alt|}}}}}}}}
|header19 = Appearance
|caption      = {{{photo_caption|}}}
|label20 = Average Height
|data20 = {{{height|}}}
|label21 = Wingspan
|data21 = {{{wingspan|}}}
|label22 = Skin Color(s)
|data22 = {{{skin_colors|}}}
|label23 = Hair Color(s)
|data23 = {{{hair_colors|}}}
|label24 = Feather Color(s)
|data24 = {{{feathers|}}}
|label25 = Eye Color(s)
|data25 = {{{eye_color|}}}
|label26 = Build
|data26 = {{{build|}}}
|label27 = Distinctions
|data27 = {{{distinctions|}}}


|header1 = Map
|aboveclass = mergedtoprow name
 
|subheaderrowclass1 = mergedbottomrow tag
| {{#if:{{{photo|}}}|data2|image2}} = {{#if:{{{map|}}}
|imagerowclass1 = mergedtoprow mergedbottomrow
  |{{Location map|{{{map}}}
|rowclass1 = mergedtoprow
    | border = infobox | float = center
|rowstyle1 = background:#DFDECF;
    | width = {{{map_width|}}}
|rowclass2 = mergedrow
    | default_width  = 272
|rowclass3 = mergedrow
    | max_width = 288
|rowclass4 = mergedrow
    | relief = {{{relief|}}}
|rowclass5 = mergedbottomrow
    | label = {{if empty|{{{label|}}}|{{{name|}}} }}
|rowclass6 = mergedtoprow
    | position = {{#if:{{{label_position|}}}{{{label|}}} | {{{label_position|}}} | none<!-- if neither then none -->}}
|rowstyle6 = background:#DFDECF;
    | caption = {{{map_caption|}}}
|rowclass7 = mergedrow
    | alt = {{if empty|{{{map_alt|}}}|Map showing the location of {{if empty|{{{name|}}}|{{PAGENAMEBASE}}}} }}
|rowclass8 = mergedrow
    | mark = {{{mark|}}}
|rowclass9 = mergedrow
    | marksize = {{{marker_width|{{{marker_size|}}}}}}
|rowclass10 = mergedrow
    | coordinates = {{if empty|{{{coordinates|}}}|{{{coords|}}}}} }}
|rowclass11 = mergedrow
  |{{#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>}}}}
|rowclass12 = mergedrow
  }}
|rowclass13 = mergedrow
 
|rowclass14 = mergedrow
|header3 = Geography
|rowclass15 = mergedrow
 
|rowclass16 = mergedrow
|label4  = Location
|rowclass17 = mergedrow
|data4  = {{#if:{{{location|}}}
|rowclass18 = mergedbottomrow
            | {{{location|}}}
|rowclass19 = mergedtoprow
            | {{#if:{{{county|}}}|{{{county}}} }}<!--
|rowstyle19 = background:#DFDECF;
              -->{{#if:{{{region|}}}|{{#if:{{{county|}}}|,{{sp}}}}{{{region}}}}}<!--
|rowclass20 = mergedrow
              -->{{#if:{{{country|}}}|{{#if:{{{county|}}}{{{region|}}}|,{{sp}}}}{{{country}}} }} }}
|rowclass21 = mergedrow
 
|rowclass22 = mergedrow
|label5  = [[Ordnance Survey National Grid|OS grid]]
|rowclass23 = mergedrow
|data5  = {{#if:{{{grid_ref_UK|}}}|{{gbm4ibx|{{{grid_ref_UK|}}}}} }}
|rowclass24 = mergedrow
 
|rowclass25 = mergedrow
|label6  = [[Irish grid reference system|OSI/OSNI grid]]
|rowclass26 = mergedrow
|data6  = {{#if:{{{grid_ref_Ireland|}}}|{{iem4ibx|{{{grid_ref_Ireland|}}}}} }}
|rowclass27 = mergedbottomrow
 
}}</includeonly><noinclude>
|label7  = Coordinates
{{Documentation}}
|data7  = {{#ifeq:{{{display|}}}|none
<!--Please add this template's categories to the /doc subpage, not here - thanks!-->
            |<!-- 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>

Latest revision as of 15:26, 29 May 2022