Template:KeySuffixDescription/doc

From OpenStreetMap Wiki
Jump to navigation Jump to search

Parameters

  • suffix — the suffix described by the template (without the *:)
Example:
{{KeySuffixDescription
| suffix = lanes
}}

TemplateData

This is the TemplateData for this template used by VisualEditor.
TemplateData for KeySuffixDescription

This template provides a description box suitable for key prefixes (or namespace keys).

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
suffixsuffix

key suffix

Example
lane
Stringrequired
imageimage

image of the feature suffix or namespace

Example
File:...
Fileoptional
descriptiondescription

a short description of the suffix or namespace

Stringrequired
groupgroup

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.

Example
highways
Page namesuggested
onNodeonNode

If the feature can be used on a node.

Example
yes, no
Stringsuggested
onWayonWay

If the feature can be used on a way.

Example
yes, no
Stringsuggested
onAreaonArea

If the feature can be used on an area.

Example
yes, no
Stringsuggested
onRelationonRelation

If the feature can be used on a relation.

Example
yes, no
Stringsuggested
combinationcombination

A bulleted-list of example tag(s) that can be used in combination with this feature.

Example
* {{Tag|key name|value}} * {{Tag|key name|value}}
Unknownoptional
impliesimplies

A list of tag(s) that the feature implies in its definition.

Example
* {{Tag|key name|value}} * {{Tag|key name|value}}
Stringoptional
requiresrequires

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

Example
* {{Tag|key name|value}}
Unknownoptional
seeAlsoseeAlso

a list of similar tags

Example
{{Tag|key name|value}}
Stringoptional
statusstatus

The [[approval status]] of this feature

Example
approved, de facto, deprecated, discardable, in use, obsolete, proposed, undefined, voting
Stringsuggested
statuslinkstatuslink

The name of the proposal page, for linking.

Stringoptional
languagelang

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.

Example
es, de
Unknownoptional
classclass

The CSS class of the HTML table used to form the description box. (Not used in most cases.)

Stringoptional
floatfloat

The CSS float value of the table: set to none to disable the standard right float. (Not used in most cases.)

Example
left, right, none
Stringoptional
stylestyle

The CSS style to be applied to the HTML table. (Not used in most cases.)

Stringoptional
languagelinkslanguagelinks

If the langauge links should not appear. (Not used in most cases.)

Example
no
Stringoptional

Examples

{{KeySuffixDescription
| suffix        = both_ways
| image         = 
| description   = The *:both_ways keys are used to specify properties for lanes or similar features running in both directions of a way. 
| group         = 
| 
| 
| 
| 
| status        = approved
| statuslink    = Proposed_features/Suffix_both_ways
}}
Public-images-osm logo.svg Suffix *:both_ways
Description
The *:both_ways keys are used to specify properties for lanes or similar features running in both directions of a way. Edit this description in the wiki page. Edit this description in the data item.
Group: properties
Used on these elements
should not be used on nodesmay be used on waysshould not be used on areasshould not be used on relations (except multipolygon relations)
See also
Status: approvedPage for proposal
taginfo: *:both_ways

information sign

This page describes a key suffix rather than a simple key.

See also

This template was introduced with Proposal:Documentation of key prefixes & suffixes.