User:W!B:/test

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


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


Documentationview · 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

ParameterDescriptionDefaultStatus
nameName of feature{{PAGENAME}}optional
imagemap/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/satemptyoptional
1First 2 digits of year YYYYemptyoptional
2Last 2 digits of year YYYYemptyoptional
3Month MMemptyoptional
4Day DDemptyoptional
5Time hhmm in UTCemptyoptional
6Degrees of Latitude. The sign indicates hemisphere: + (North) and - (South).emptyoptional
7Degrees of Longitude. The sign indicates hemisphere: + (East) and - (West).emptyoptional
8Information 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.
emptyoptional
regionXX-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
emptyoptional
furtherarbitrary content Set for multible usage of {{MeteoFeature}} for further timestamps, coordinates, infos addedemptyoptional

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:

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