Template:KeyPrefixDescription
| Used on these elements |
|---|
| Status: undefined |
| taginfo: prefix:* |
- (debug) Category:Key descriptions by group, sorted as "prefix".
- (debug) Category:Key descriptions, sorted as "prefix".
- (debug) Category:Key descriptions with no status specified, sorted as "prefix".
- (debug) Category:Key prefixes, sorted as "prefix".
- (debug) Category:Namespaces, sorted as "prefix".
Parameters
prefix— the prefix described by the template (without the :*)
- Example:
{{KeyPrefixDescription
| prefix =
| image =
| description =
| group =
| onNode =
| onWay =
| onArea =
| onRelation =
| requires =
| implies =
| combination =
| seeAlso =
| status =
| statuslink =
}}
TemplateData
TemplateData for KeyPrefixDescription
This template provides a description box suitable for key prefixes (or namespace keys).
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| prefix | prefix | key prefix
| String | required |
| image | image | image of the feature prefix or namespace
| File | optional |
| description | description | a short description of the prefix or namespace | String | required |
| group | group | The name of the broader group to which this feature belongs. Please use lower-case names from Category:Features or from your namespaced (Category:DE:Features) or l10n version.
| Page name | suggested |
| onNode | onNode | If the feature can be used on a node.
| String | suggested |
| onWay | onWay | If the feature can be used on a way.
| String | suggested |
| onArea | onArea | If the feature can be used on an area.
| String | suggested |
| onRelation | onRelation | If the feature can be used on a relation.
| String | suggested |
| combination | combination | A bulleted-list of example tag(s) that can be used in combination with this feature.
| Unknown | optional |
| implies | implies | A list of tag(s) that the feature implies in its definition.
| String | optional |
| requires | requires | A list of tag(s) which are necessary (often higher/lower in hierarchy) for this tag and must be set to give its actual meaning
| Unknown | optional |
| seeAlso | seeAlso | a list of similar tags
| String | optional |
| status | status | The [[approval status]] of this feature
| String | suggested |
| statuslink | statuslink | The name of the proposal page, for linking. | String | optional |
| language | lang | the ISO 639-2 code for the language used to document this feature: this will generate aspects of the description box in the specified language, if translations are available. If not set, language of page or namespace will be used.
| Unknown | optional |
| class | class | The CSS class of the HTML table used to form the description box. (Not used in most cases.) | String | optional |
| float | float | The CSS float value of the table: set to none to disable the standard right float. (Not used in most cases.)
| String | optional |
| style | style | The CSS style to be applied to the HTML table. (Not used in most cases.) | String | optional |
| languagelinks | languagelinks | If the langauge links should not appear. (Not used in most cases.)
| String | optional |
Examples
{{KeyPrefixDescription
| prefix = addr
| image = File:Housenumber-karlsruhe-de.png
| description = The addr:* keys describe addresses.
| group = addresses
| onNode = yes
| onWay = yes
| onArea = yes
| onRelation = yes
| seeAlso =
* {{Prefix|contact}}
| status = de facto
| statuslink = Proposed features/House numbers/Karlsruhe Schema
}}
| Description |
|---|
| The addr:* keys describe addresses. |
| Group: addresses |
| Used on these elements |
| See also |
| Status: de facto |
| taginfo: addr:* |
- (debug) Category:Key descriptions for group "addresses", sorted as "addr".
- (debug) Category:Key descriptions, sorted as "addr".
- (debug) Category:Key descriptions with status "de facto", sorted as "addr".
- (debug) Category:Key prefixes, sorted as "addr".
- (debug) Category:Addresses, sorted as "addr".
- (debug) Category:Namespaces, sorted as "addr".
Multipolygons, ways which are not areas and other traps
See also
This template was introduced with Proposal:Documentation of key prefixes & suffixes.
- {{Description}}
- {{KeyDescription}}
- {{ValueDescription}}
- {{RelationDescription}}
- {{KeySuffixDescription}}
