Template:Keystat/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:Keystat. It contains usage information, categories and other content or metadata that is not part of the original template. |
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)