Template:Compass rose file
Jump to navigation
Jump to search
File:Compass Rose en small N.svg
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
Parameter | Description | Default | Status | |
---|---|---|---|---|
1 | Direction 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. | 0 | required | |
lang | language | 0 | optional | |
style | icon 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: | rose | optional |
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