Template:RelationDescription/doc

From OpenStreetMap Wiki
Jump to: navigation, search
Available languages — RelationDescription/doc
· Afrikaans · Alemannisch · aragonés · asturianu · azərbaycanca · Bahasa Indonesia · Bahasa Melayu · Bân-lâm-gú · Basa Jawa · Baso Minangkabau · bosanski · brezhoneg · català · čeština · dansk · Deutsch · eesti · English · español · Esperanto · estremeñu · euskara · français · Frysk · Gaeilge · Gàidhlig · galego · Hausa · hrvatski · Igbo · interlingua · Interlingue · isiXhosa · isiZulu · íslenska · italiano · Kiswahili · Kreyòl ayisyen · kréyòl gwadloupéyen · Kurdî · latviešu · Lëtzebuergesch · lietuvių · magyar · Malagasy · Malti · Nederlands · Nedersaksies · norsk bokmål · norsk nynorsk · occitan · Oromoo · oʻzbekcha/ўзбекча · Plattdüütsch · polski · português · português do Brasil · română · shqip · slovenčina · slovenščina · Soomaaliga · suomi · svenska · Tiếng Việt · Türkçe · Vahcuengh · vèneto · Wolof · Yorùbá · Zazaki · српски / srpski · беларуская · български · қазақша · македонски · монгол · русский · тоҷикӣ · українська · Ελληνικά · Հայերեն · ქართული · नेपाली · मराठी · हिन्दी · অসমীয়া · বাংলা · ਪੰਜਾਬੀ · ગુજરાતી · ଓଡ଼ିଆ · தமிழ் · తెలుగు · ಕನ್ನಡ · മലയാളം · සිංහල · ไทย · မြန်မာဘာသာ · ລາວ · ភាសាខ្មែរ · ⵜⴰⵎⴰⵣⵉⵖⵜ · አማርኛ · 한국어 · 日本語 · 中文(简体)‎ · 吴语 · 粵語 · 中文(繁體)‎ · ייִדיש · עברית · اردو · العربية · پښتو · سنڌي · فارسی · ދިވެހިބަސް

This template provides a description box suitable for key/value pairs.

Usage

Full parameter set in vertical format
Vertical list Prerequisites Brief instructions / notes
{{RelationDescription
| type          = 
| image         = 
| description   = 
| group         = 
| members       = 
| 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

  • type: the relation type 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
  • members: the element types and roles of members of the relation

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 use
    • approved: the feature has successfully competed the approval process
    • rejected: the feature was rejected during the approval process
    • voting: the feature is currently being voted on as part of the approval process
    • proposed: the feature has been formally proposed
    • draft: the feature has a draft proposal being written
    • abandoned: the approval process for this feature has been terminated before completion
    • defacto: 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 (this is only used within this documentation page for showing the examples below)

Examples

Note: In these examples, long lines have been wrapped for convenience. The advanced formatting parameters, class, float, style and languagelinks are not shown, as their values are too specific to use them as examples.

{{RelationDescription
| type          = multipolygon
| image         = file:Multipolygon_Illustration_6.svg
| description   = The multipolygon relation is used to represent complex areas.
| group         = Properties
| lang          = en
| status        = Approved
| members       =
* {{IconWay}} - outer
* {{IconWay}} - inner
| seeAlso       = [[Relation:boundary]]
}}
Public-images-osm logo.svg multipolygon
Multipolygon Illustration 6.svg
Description
The multipolygon relation is used to represent complex areas.
Group: Properties
Members
  • Way - outer
  • Way - inner
See also

Relation:boundary

Status: Approved

{{RelationDescription
| type          = route
| image         = file:CycleLayer2.png
| description   = Zbiór tagów i członków relacji do oznakowania różnego rodzaju tras.
| group         = Route
| lang          = pl
| members       =
* {{IconWay}} - (blank)
* {{IconWay}} - forward
* {{IconWay}} - backward
* {{IconNode}} - stop:<number>
* {{IconNode}} - stop
* {{IconNode}} - forward:stop:<number>
* {{IconNode}} - forward:stop
* {{IconNode}} - backward:stop:<number>
* {{IconNode}} - backward:stop
* {{IconNode}} {{IconWay}} {{IconArea}} - platform:<number>
* {{IconNode}} {{IconWay}} {{IconArea}} - platform
| combination   = {{tag|route}}
| languagelinks = no
}}
Public-images-osm logo.svg route
CycleLayer2.png
Opis
Zbiór tagów i członków relacji do oznakowania różnego rodzaju tras.
Grupa: Route
Użytkownicy
  • Way - (blank)
  • Way - forward
  • Way - backward
  • Node - stop:<number>
  • Node - stop
  • Node - forward:stop:<number>
  • Node - forward:stop
  • Node - backward:stop:<number>
  • Node - backward:stop
  • Node Way Area - platform:<number>
  • Node Way Area - platform
Przydatne oznaczenia

route=*

Status: Nie zdefiniowany

See also