User:Moresby/ValueDescription/doc
Jump to navigation
Jump to search
![]() |
This is a documentation subpage for User:Moresby/ValueDescription. It contains usage information, categories and other content or metadata that is not part of the original user template. |
This template provides a description box suitable for key/value pairs.
Usage
Vertical list | Prerequisites | Brief instructions / notes |
---|---|---|
{{ValueDescription | key = | value = | image = | description = | group = | onNode = | onWay = | onArea = | onRelation = | combination = | implies = | seeAlso = | status = | statuslink = | lang = | class = | float = | style = | languagelinks = }} |
status |
en, de, fr, ja, etc. set |float=none to inhibit floating |
- If a field name is listed in the Prerequisites column it is a prerequisite for the field to the left.
Parameters
The following parameters are recognised:
Feature description
- key: the key being described
- value: the value being described
- image: the name of an image to be used to illustrate the feature
- description: a short description of the feature in question
- group: the name of the broader group to which this feature belongs
Feature usage
- onNode:
yes
if the feature being described is suitable for use on node elements,no
otherwise - onWay:
yes
if the feature being described is suitable for use on way elements,no
otherwise - onArea:
yes
if the feature being described is suitable for use on area elements,no
otherwise - onRelation:
yes
if the feature being described is suitable for use on relation elements,no
otherwise
Additional information
- combination: a list of additional tags which are useful in combination with this one; see below for examples
- implies: a list of tags which are implied by this tag; see below for examples
- seeAlso: references to additional pages which may be of interest
- status: the approval status of this feature; possible values include:
inuse
: the feature is in useapproved
: the feature has successfully competed the approval processrejected
: the feature was rejected during the approval processvoting
: the feature is currently being voted on as part of the approval processproposed
: the feature has been formally proposeddraft
: the feature has a draft proposal being writtenabandoned
: the approval process for this feature has been terminated before completiondefacto
: the tag is in widespread use, but no formal proposal process has taken place
- statuslink: name of the proposal page, for linking
Language support
- 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
Advanced formatting parameters
These parameters can generally be ignored by the majority of users. They are available for fine-tuning the presentation of the description box, and are useful for including in examples, or embedding in tutorial pages.
- class: specify the CSS class of the HTML table used to form the description box
- float: specify the CSS float value of the table: set to
none
to disable the standard right float - style: the CSS style to be applied to the HTML table: overrides
|float=
if present - languagelinks: set to
no
to inhibit links to corresponding pages in other languages
Examples
Note: In these examples, long lines have been wrapped for convenience. The advanced formatting parameters, class, float, style and languagelinks are not show, as their values are specific to use as examples.
{{ValueDescription | type = value | key = dessert | value = cheesecake | image = File:Italian style cheesecake.jpg | description = Cheesecake is a type of cake \ with two layers: a soft, deep top layer, \ typically made with some sort of cheese, and a \ firm, often biscuit-based bottom layer. | onNode = yes | onWay = no | onArea = | onRelation = yes | combination = * {{tag|meal|dinner}} * {{tag|flavour|lemon}} * {{tag|origin|new_york}} | implies = * {{tag|edible|yes}} * {{tag|sweet|yes}} | seeAlso = The {{tag|dessert|gateau}} tag \ is sometimes confused with this one. | status = Imaginary | lang = en }}
![]() |
Description |
---|
Cheesecake is a type of cake with two layers: a soft, deep top layer, typically made with some sort of cheese, and a firm, often biscuit-based bottom layer. |
Used on these elements |
Implies |
Useful combination |
See also |
Status: imaginary |
Tools for this tag |
|
{{ValueDescription | type = value | key = highway | value = residential | image = Image:Residential.jpg | description = Road in a residential area | onNode = no | onWay = yes | onArea = no | onRelation = | combination = * [[Key:name|name]] *[[Key:oneway|oneway]] | implies = | seeAlso = | status = Approved | lang = }}
![]() |
Description |
---|
Road in a residential area ![]() |
Rendering in OSM Carto |
![]() |
Group: Highways |
Used on these elements |
Implies |
Useful combination |
See also |
Status: approved |
Tools for this tag |
|
{{ValueDescription | type = value | key = power | value = generator | image = \ File:Kraftwerk_Staudinger_von_Limes-B.jpg | description = Kraftwerk - dient der Erzeugung \ von Strom oder Wärme | onNode = yes | onWay = yes | onArea = yes | onRelation = | combination = * {{Key|generator:source|kl=DE}} * {{Key|generator:method|kl=DE}} * {{Key|generator:output|kl=DE}} * {{Tag|name|kl=DE}} * {{Tag|operator|kl=DE}} | implies = | seeAlso = | status = | lang = de | class = | float = left | style = | languagelinks = no }}
![]() |
Beschreibung |
---|
Kraftwerk - dient der Erzeugung von Strom oder Wärme ![]() ![]() |
Darstellung in OSM Carto |
![]() |
Gruppe: Energie |
Für diese Elemente |
Sinnvolle Kombinationen |
Status: akzeptiert![]() |
Werkzeuge für dieses Attribut |
|
See also
Categories:
- User documentation pages
- Tag descriptions by group
- Tag descriptions by key
- Tag descriptions
- Tag descriptions by value
- Tag descriptions with status "imaginary"
- Tag descriptions for group "highways"
- Tag descriptions for key "highway"
- Tag descriptions with status "approved"
- Highways
- DE:Beschreibungen der Attribute für Gruppe "Energie"
- DE:Beschreibungen der Attribute für Schlüssel "power"
- DE:Beschreibungen der Attribute
- DE:Beschreibungen der Attribute nach Wert
- DE:Beschreibungen der Attribute mit Status "akzeptiert"
- DE:Energie