Template:Keystat
Jump to navigation
Jump to search
This documentation is transcluded from Template:Keystat/doc. (Edit | history)
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
Key Satistic Template
This is a simple template, that adds a Taginfo statistic pictogramm and link for a given keyname.
Syntax:
- {{Keystat|keyname|text|lang=}}
Parameters:
- keyname: name of the tag key
- text (optional): displayed text. If parameter is missing it defaults to Taginfo
- lang (optional): language code
Examples:
{{Keystat|highway}} {{Keystat|highway|lang=DE}} {{Keystat|highway|}} {{Keystat|highway|'''highway'''}} {{Keystat|highway|{{Key|highway}}}} {{Keystat|highway|[[Key:highway]]}}
Results in:
- Taginfo (without parameters, Taginfo link is added)
- Taginfo (link to german Taginfo page)
- (with empty parameter, the text is suppressed)
- highway (any text and format you like)
- highway=* (combined with the key template)
- Key:highway (combined with a wiki link)