Difference between revisions of "Template:Infobox glacier/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Hike395
(Update sandbox)
imported>Hike395
(sync sandbox)
Line 26: Line 26:
 
               | mark          = {{ifempty|{{{mark|}}}|Red pog.svg }}
 
               | mark          = {{ifempty|{{{mark|}}}|Red pog.svg }}
 
               | mark_width    = {{ifempty|{{{marker_width|}}}|8}}
 
               | mark_width    = {{ifempty|{{{marker_width|}}}|8}}
               | lat_deg        = {{{lat_d|}}}
+
               | coordinates    = {{{coordinates|{{{coords|}}}}}}
              | lat_min        = {{{lat_m|}}}
 
              | lat_sec        = {{{lat_s|}}}
 
              | lat_dir        = {{{lat_NS|}}}
 
              | lon_deg        = {{{long_d|}}}
 
              | lon_min        = {{{long_m|}}}
 
              | lon_sec        = {{{long_s|}}}
 
              | lon_dir        = {{{long_EW|}}}
 
 
               | x% = {{{x%|}}} | y% = {{{y%|}}}
 
               | x% = {{{x%|}}} | y% = {{{y%|}}}
 
               | x  = {{{x|}}}  | y  = {{{y|}}} }} }}
 
               | x  = {{{x|}}}  | y  = {{{y|}}} }} }}
Line 46: Line 39:
  
 
|label3 = [[Geographic coordinate system|Coordinates]]
 
|label3 = [[Geographic coordinate system|Coordinates]]
|data3  = {{#if:{{{lat_d|}}}{{{long_d|}}}
+
|data3  = {{#if:{{{coordinates|{{{coords|}}}}}}|{{#invoke:Coordinates|coordinsert|{{{coordinates|{{{coords|}}}}}}|type:glacier}}{{{coordinates_ref|}}}{{{coords_ref|}}} }}
            | {{Infobox coord
 
              | lat_d  = {{{lat_d|}}}
 
              | lat_m  = {{{lat_m|}}}
 
              | lat_s  = {{{lat_s|}}}
 
              | lat_NS  = {{{lat_NS|}}}
 
              | long_d  = {{{long_d|}}}
 
              | long_m  = {{{long_m|}}}
 
              | long_s  = {{{long_s|}}}
 
              | long_EW = {{{long_EW|}}}
 
              | type   = glacier
 
              | region  = {{{region|}}}
 
              | dim    = {{{dim|}}}
 
              | scale  = {{{scale|}}}
 
              | source  = {{{source|}}}
 
              | format  = {{{format|}}}
 
              | display = {{ifempty|{{{display|}}}|inline,title}}
 
              | name    = <!-- leave undefined -->}}
 
            | {{ifempty|{{{coordinates|}}}|{{{coords|}}} }}
 
            }}{{ifempty|{{{coordinates_ref|}}}|{{{coords_ref|}}} }}
 
  
 
|label4 = Area
 
|label4 = Area
Line 79: Line 53:
 
|data7 = {{{thickness|}}}
 
|data7 = {{{thickness|}}}
  
|label8 = Terminus
+
|label9 = Highest&nbsp;elevation
|data8 = {{{terminus|}}}
+
|data9 = {{{elevation_max|}}}
  
|class9 = category
+
|label10 = Lowest&nbsp;elevation
|label9 = Status
+
|data10 = {{{elevation_min|}}}
|data9 = {{{status|}}}
 
  
|data10 = {{{embedded|}}}
+
|label11 = Terminus
}}<noinclude>{{#ifeq: {{PAGENAME}} | {{BASEPAGENAME}}/sandbox
+
|data11 = {{{terminus|}}}
 +
 
 +
|class12 = category
 +
|label12 = Status
 +
|data12 = {{{status|}}}
 +
 
 +
|data13 = {{{embedded|}}}
 +
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox glacier with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox glacier]] with unknown parameter "_VALUE_"|ignoreblank=y| area | child | coordinates | coordinates_ref | coords | coords_ref | display | elevation_max | elevation_min | embedded | format | glacier_name | image_alt | image_name | label | label_position  | length | location  | map | map_alt | map_caption | map_relief | map_size | map_width | mark | marker_width | name | other_name | photo | photo_alt | photo_caption | photo_width | region  | source | status | terminus | thickness | type | width | x | x% | y | y% }}<noinclude>{{#ifeq: {{PAGENAME}} | {{BASEPAGENAME}}/sandbox
 
   | {{template sandbox notice}}
 
   | {{template sandbox notice}}
 
   | {{documentation}}
 
   | {{documentation}}

Revision as of 03:29, 12 March 2017