Template:Deprecated
[[Key:{{{oldkey}}}|{{{oldkey}}}]] |
Description |
---|
Using this tag is discouraged, use instead. |
Used on these elements |
Status: deprecated |
Tools for this tag |
|
The reason is documented in Deprecated features. You are still free to continue to use or interpret this tag as you see fit since OpenStreetMap does not have “banned features”.
Under no circumstances should you (semi-)automatically change “deprecated” tags to something else in the database on a large scale without conforming to the automated edits code of conduct. Any such change will be reverted.
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
Usage
Describes deprecated tag values.
Parameters
- oldkey= (mandatory) Deprecated key name
- oldvalue= (optional) Deprecated value
- newtext= (mandatory) Replacement text to link to
- group= (optional) Group name of deprecated key
- statuslink= (optional) Link to resource that lead to deprecated status
Additional parameter
- status=deprecated (optional) It is suggested by at least one user to keep or add the parameter
status=deprecated
as this is important information that might be relevant to retain in the page content. For now, it is not known that it makes a difference. But in the future it may provide the possibility to read this information from the page, e.g. fetched by taginfo. (See also Template talk:Deprecated.)
See also
- {{ValueDescription}}
- {{Deprecated feature}}
This template is dedicated for deprecated tags. It provides a description box suitable for key/value pairs.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Deprecated key | oldkey | Deprecated key name
| Line | required |
Deprecated value | oldvalue | Deprecated tag value
| Line | optional |
Replacement tagging | newtext | Text with suggested replacement tag(s)
| Content | required |
An image showing a suggested rendering on a map | osmcarto-rendering | An image showing a suggested rendering on a map; alternatively a page name/anchor to link to more detailed description | File | optional |
osmcarto-rendering-size | osmcarto-rendering-size | The size of the image set in osmcarto-rendering
| String | optional |
osmcarto-rendering-node | osmcarto-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 | File | optional |
osmcarto-rendering-node-size | osmcarto-rendering-node-size | The size of the image set in osmcarto-rendering-node
| String | optional |
osmcarto-rendering-way | osmcarto-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 | File | optional |
osmcarto-rendering-way-size | osmcarto-rendering-way-size | The size of the image set in osmcarto-rendering-way
| String | optional |
osmcarto-rendering-area | osmcarto-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 | File | optional |
osmcarto-rendering-area-size | osmcarto-rendering-area-size | The size of the image set in osmcarto-rendering-area
| String | optional |
Group of deprecated key | group | Group name of deprecated key
| Line | optional |
Requires tag | 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 | Content | optional |
implies | implies | A list of tag(s) that the feature implies in its defention. | Content | optional |
combination | combination | A bulleted-list of example tag(s) that can be used in combination with this feature. | Content | optional |
seeAlso | seeAlso | a list of similar tags | Content | optional |
status | status | The approval status of this feature
| Unknown | suggested |
statuslink | statuslink | The name of the deprecation proposal page, for linking. | Page name | suggested |
debug | debug | no description | Unknown | optional |