This page is protected against editing.

Template:Compass rose file

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

File:Compass Rose en small N.svg

Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Compass rose file/doc.

Provides filename of file showing simple compass rose pointing in specified direction and using letters in users language.

Usage

{{Compass rose file |1= }}

Template parameters

ParameterDescriptionDefaultStatus
1Direction of the up-pointing vector. Use 360 minus this number to get direction where north is pointing. It is given as degree values 0-360 (clockwise with north as 0) or a compass point abbreviation (up to four letters) as defined in Boxing the compass. (Example: heading:NW). Note that some icon styles have 16 directions, allowing directions like NNE, and some have only 8. 0required
langlanguage0optional
styleicon style. There are many set of icons with versions for different compass points. Sets differ in how many directions are covered (usually 8 or 16) and language support. Available sets are:
name desription # directions languages example
rose Simple rotating compass rose 16 en, he, es, fr, it, de
north Simple arrow with letter "N" 8 en
static Full compass rose. This is a static version, which does not rotate. The directions are highlighted by using different color. 8 or 4 en(8), en2(8, alternative), nl(8), de(8), mk(8), es(4), fr(4), it(4), se(4)
heading simple heading icon. The background with N does not rotate, while the heading arrow does 32 en
roseoptional

Additional information

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

The template is intended to be used by the following user groups: no user group specified

Localization

To add your language to the list of languages supported by this template, please edit the template and add a row to the "{{LangSwitch|}}" construct. It takes the form "|xx= Your translation " (xx being the code of your language)

Example

  • [[{{Compass rose file|W}}|100px]] gives
  • [[{{Compass rose file|0|lang=he}}|100px]] gives
  • [[{{Compass rose file|20|lang=de}}|100px]] gives
  • [[{{Compass rose file|90|lang=fr}}|100px]] gives
  • [[{{Compass rose file|180}}|100px]] gives
  • [[{{Compass rose file|270}}|100px]] gives
  • [[{{Compass rose file|30|style=north}}|100px]] gives
  • [[{{Compass rose file|E|style=north}}|100px]] gives
  • [[{{Compass rose file|225|style=static}}|100px]] gives
  • [[{{Compass rose file||NW|style=static|lang=se}}|100px]] gives
  • [[{{Compass rose file||SW|style=static|lang=en2}}|100px]] gives
  • [[{{Compass rose file|30|style=heading}|100px]] gives
  • [[{{Compass rose file|90|style=heading}|100px]] gives