Template:Ar:ValueDescription/doc

From OpenStreetMap Wiki
Jump to: navigation, search

How to use this template (new tag)

First create a new page with the name Ar:Tag:keyname=value for example Ar:Tag:shop=bakery or Ar:Tag:amenity=school.

At the top of this page include the template code:

{{Ar:ValueDescription
 |key = keyname
 |value = valuename
 |image = File:Image.jpg
 |description = short description
 |onNode = yes/no
 |onWay = yes/no
 |onArea = yes/no
 |onRelation = yes/no
 |lang = ar
 |combination = list of useful additional tags
 |status = approval status
}}

Replace the parts between the = and the | with something that fits your need.

  • key= this is the name of your key in lower-case letters for example: key=highway
  • value= this is the name of your value in lower-case letters for example: value=trunk
  • image= name of a example image that describes your key for example: image=Image:Dscf0444 600.jpg. Setting "image=" with no image name will cause the category Feature pages with missing images to be added to the page and will add the No image yet image to the page. If you remove the image parameter entirely it will be assumed the tag doesn't require an image.
  • description= short description of your key. try to keep it short but relevant. for example:description=Important roads that aren't motorways. Typically maintained by central, not local government.
  • onNode= either yes or no describe on which element your key can be used
  • onWay= either yes or no describe on which element your key can be used
  • onArea= either yes or no describe on which element your key can be used
  • onRelation= either yes or no describe on which element your key can be used
  • lang= 2 letter language code for example de, en, nl, tr
  • combination= bulletpointlist of additional tags that are useful together with your tag. for example:
combination=* [[Key:lanes|lanes]]
* [[Key:oneway|oneway]]
* [[Key:name|name]]
* [[Key:reference|reference]]
  • status= If this features has been proposed set the according value Approved, Rejected, Voting, Proposed, Draft or Abandoned

Once you finished this, you should start to fill the rest of your page. Try to explain as much as possible.

Some examples can be seen on the existing pages.