Template:TagKey/exists
Jump to navigation
Jump to search
This is used by {{Map Features:.../tagkeylink}}.
Usage
Examples
| Example wikitext | Result |
|---|---|
{{TagKey/exists|amenity}}
|
amenity
|
{{TagKey/exists|amenity|the best key!}}
|
the best key!
|
{{TagKey/exists|amenity:type:wikidata:num}}
|
amenity:type:wikidata:num
|
{{TagKey/exists|amenity:type:wikidata:num|made-up key no one will use}}
|
made-up key no one will use
|
TemplateData
Automatically format the name of your tag key with a wikilink to its page, if it exists.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Key | 1 | The key to be used in tagging | Line | required |
| Key text | 2 | The text to display instead of the key itself | Line | suggested |
| Key page language | lang kl | The language of the page that would describe the key.
| Line | suggested |
| Key page link toggle | link | Set to none if you don't want to link to the key's page regardless of its existence.
| Line | suggested |