Difference between revisions of "Template:Infobox cape/doc"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Grolltech
(updated to reflect the current function, including conversions and footnotes; added note that decimal notation for coordinates does not yet work.)
Line 5: Line 5:
 
|local_name  =  
 
|local_name  =  
 
|map          =  
 
|map          =  
|country      = <!-- use | countries = for more than one country -->  
+
|map_size    =
 +
|map_caption  =
 +
|country      = <!-- use |countries= for more than one country -->  
 
|region      =  
 
|region      =  
 
|water_bodies =  
 
|water_bodies =  
|lat_deg = |lat_min = |lat_sec = |lat_dir =  
+
<!-- coord -->
|lon_deg = |lon_min = |lon_sec = |lon_dir =  
+
| lat_deg = |lat_min = |lat_sec = |lat_dir =  
|coord_region =  
+
| lon_deg = |lon_min = |lon_sec = |lon_dir =  
|coord_scale  =  
+
| coord_region =  
|elevation    =  
+
| coord_scale  =  
 +
|elevation =    |elevation_m =  |elevation_ft =  <!-- use only one of these -->
 +
|elevation_footnotes =
 +
|area      =   |area_km2 =      |area_sqmi =    <!-- use only one of these -->
 +
|area_footnotes =  
 
|image        =  
 
|image        =  
 
|image_size  =  
 
|image_size  =  
Line 19: Line 25:
 
}}
 
}}
 
</pre>
 
</pre>
 +
 +
==Usage notes==
 +
* Coordinates must be specified using degrees, minutes, seconds and direction.  Decimal notation will ''not'' work properly at present.
 +
* Complete only ''one'' each of the "area" or "elevation" parameters.
 +
* An elevation that is specified using {{para|elevation_m}} (in meters) or {{para|elevation_ft}} (in feet) will automatically display conversions.
 +
* An area that is specified using {{para|area_km2}} (in km<sup>2</sup>) or {{para|elevation_sqmi}} (in mi<sup>2</sup>) will automatically display conversions.
  
 
<includeonly>
 
<includeonly>

Revision as of 15:01, 30 January 2013

{{Infobox cape
|name         = 
|local_name   = 
|map          = 
|map_size     =
|map_caption  =
|country      = <!-- use |countries= for more than one country --> 
|region       = 
|water_bodies = 
<!-- coord -->
|  lat_deg = |lat_min = |lat_sec = |lat_dir = 
|  lon_deg = |lon_min = |lon_sec = |lon_dir = 
|  coord_region = 
|  coord_scale  = 
|elevation =    |elevation_m =   |elevation_ft =  <!-- use only one of these --> 
|elevation_footnotes =
|area      =    |area_km2 =      |area_sqmi =     <!-- use only one of these --> 
|area_footnotes = 
|image        = 
|image_size   = 
|caption      = 
|references   = 
}}

Usage notes

  • Coordinates must be specified using degrees, minutes, seconds and direction. Decimal notation will not work properly at present.
  • Complete only one each of the "area" or "elevation" parameters.
  • An elevation that is specified using |elevation_m= (in meters) or |elevation_ft= (in feet) will automatically display conversions.
  • An area that is specified using |area_km2= (in km2) or |elevation_sqmi= (in mi2) will automatically display conversions.