User:W!B:/test

From Wikimedia Commons, the free media repository
Jump to: navigation, search


nones: W!B:/test lat= / lon= / dim=
no name


Documentation icon Documentation[view] [edit] [history] [purge]

This documentation is transcluded from User:W!B:/test/doc.

The template includes {{Object location}}

Usage

{{W!B:/test |name= |image= |1= |2= |3= |4= |5= |6= |7= |8= |region= |further= }}

Should be placed directly below {{Information}} or other similar template. If {{Location}} template is also present than it should be placed above this template.

If given {{Object location}} before than replace it.

copycode:

{{MeteoFeature|name=|image=map/dia/sat |YY|YY|MM|DD|hhmm |LAT|LON|region= |further=}}

Template parameters

Parameter Description Default Status
name Name of feature {{PAGENAME}} optional
image map/sat/dia Map, / Satellite picture / Diagram might be combined by “/”: Map overlays on Satellite pictures → map/sat; schematic maps → map/dia; scetches on photos → dia/sat empty optional
1 First 2 digits of year YYYY empty optional
2 Last 2 digits of year YYYY empty optional
3 Month MM empty optional
4 Day DD empty optional
5 Time hhmm in UTC empty optional
6 Degrees of Latitude. The sign indicates hemisphere: + (North) and - (South). empty optional
7 Degrees of Longitude. The sign indicates hemisphere: + (East) and - (West). empty optional
8 Information attributes (see Object location / en:Geographical coordinates)

Attributes have to be in the format field1:value1_field2:value2_field3:value3, etc.

  • region:XX-YYY see parameter region below
  • heading: direction the view pointing at. Degree values 0-360 (clockwise with north as 0) or a compass point abbreviation (up to four letters) as defined in Boxing the compass
  • scale:N desired map scale as 1:N. See here for more info.
  • dim:<width><units> specifies the width of the object in meters or kilometers (example: dim:120m or dim:10km. See here for more info.
  • class:event is hard-coded value which will be added automatically to all images to tag this location as the ""object location
This information is not used by {{W!B:/test}} template.
empty optional
region XX-YYY specifies the geographical region. Might be combined by “/”
  • ISO 3166 country-code
  • Wiki assigned: XN Arctic Ocean, XA Atlantic Ocean, XI Indian Ocean, XP Pacific Ocean, XS Southern Ocean, or XZ for objects in or above international waters (similar to UN/LOCODE).
  • use XX for global maps/images, XX-X for hemispheric maps/images. Thus global maps in standard coordinates will get 0|0|region=XX/XA

See here for more info.

region could also be given in #8, its desirable to specify here: applicable for futher auto-categorizing to countries or regions
empty optional
further arbitrary content Set for multible usage of {{MeteoFeature}} for further timestamps, coordinates, infos added empty optional

Additional information

The template is intended to be used in the following namespaces: the File namespace

The template is intended to be used by the following user groups: all users

Relies on:
{{Object location}}

Example

{{W!B:/test|name=Atlantic example|image=dia |20|00|01|01|0000 |-10|45|region=XA}}

renders as:

Template:W!B:/test

Category:Works-by-year templates Category:Geocoding templates Category:Infobox templates: based on Location template