Template:KeyPrefixDescription

From OpenStreetMap Wiki
Jump to navigation Jump to search
Public-images-osm logo.svg Prefix :*
Used on these elements
use on nodes unspecifieduse on ways unspecifieduse on areas unspecifieduse on relations unspecified
Status: undefined
taginfo: :*

information sign

This page describes a key prefix rather than a simple key.
[Edit] [Purge] Template-info.svg Template documentation

Parameters

  • prefix — the prefix described by the template (without the :*)
Example:
{{KeyPrefixDescription
| prefix = demolished
}}

TemplateData

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

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
prefixprefix

key prefix

Example
addr
Stringrequired
imageimage

image of the feature prefix or namespace

Example
File:...
Fileoptional
descriptiondescription

a short description of the prefix or namespace

Stringrequired
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
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
addresses
Page namesuggested
seeAlsoseeAlso

a list of similar tags

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

The [[approval status]] of this feature

Example
abandoned, approved, de facto, deprecated, discardable, in use, obsolete, proposed, rejected, undefined, voting
Stringsuggested
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

Stringoptional
floatfloat

the CSS float value of the table: set to none to disable the standard right float

Example
left, right, none
Stringoptional
stylestyle

the CSS style to be applied to the HTML table

Stringoptional
statuslinkstatuslink

The name of the proposal page, for linking.

Stringoptional
osmcarto-renderingosmcarto-rendering

an image showing a suggested rendering on a map; alternatively a page name/anchor to link to more detailed description

Fileoptional
osmcarto-rendering-sizeosmcarto-rendering-size

The size of the image set in osmcarto-rendering

Example
28px
Stringoptional
osmcarto-rendering-nodeosmcarto-rendering-node

an image showing a suggested rendering on a map for a node object; alternatively a page name/anchor to link to more detailed

Fileoptional
osmcarto-rendering-node-sizeosmcarto-rendering-node-size

The size of the image set in osmcarto-rendering-node

Example
28px
Stringoptional
osmcarto-rendering-wayosmcarto-rendering-way

an image showing a suggested rendering on a map for a node object; alternatively a page name/anchor to link to more detailed

Fileoptional
osmcarto-rendering-way-sizeosmcarto-rendering-way-size

The size of the image set in osmcarto-rendering-way

Example
28px
Stringoptional
osmcarto-rendering-areaosmcarto-rendering-area

an image showing a suggested rendering on a map for a node object; alternatively a page name/anchor to link to more detailed

Fileoptional
osmcarto-rendering-area-sizeosmcarto-rendering-area-size

The size of the image set in osmcarto-rendering-area

Example
28px
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
languagelinkslanguagelinks

If the langauge links should appear

Example
no
Stringoptional

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
}}
Public-images-osm logo.svg Prefix addr:*
Housenumber-karlsruhe-de.png
Description
The addr:* keys describe addresses.
Group: Addresses
Used on these elements
may be used on nodesmay be used on waysmay be used on areasmay be used on relations
See also
Status: de factoPage for proposal
taginfo: addr:*

information sign

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

See also

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