Template:Deprecated features/doc

From OpenStreetMap Wiki
Jump to navigation Jump to search

Here is a non-exhaustive list of deprecated features that you may include in your language's page "Deprecated features".

Use

You can use {{Deprecated features|lang=xy}} to show translated reasons in a specific language (replace "xy" by e.g. "fr") if a translation exists.

Edit

  • This table is filled in English by adding an item using this syntax:
{{Deprecated features/item
|date=Date
|dkey=Deprecated key | dvalue=Deprecated value (optional)
|dvalue_nolink=1 (only if the specified optional deprecated value has no separate "Tag:" page)
|suggestion=(simple list of replacement tags, or links to a page with details; no remarks here please)
|1=''N'' (an integer that identifies the translatable reason below)
|2={{{''N''|Reason/remarks in English}}}
}}
  • In order to include the table in your language's page, just use the following syntax:
{{Deprecated features
|date=... (Date)
|old_kv=... (Deprecated key/value)
|usage=... (Current usage)
|suggestion=... (Suggestion of replacement)
|reason=... (Reason)

|''N''=... (for each translated rationale)
}}

where the dots have to be replaced by your translation.

The numbers correspond to the column "N" in the table; when the same reason is given for several items, the same number should be used. (If you don't provide a translation for a number, the default English text will be displayed).

(Note that this text, as well as the above, won't be displayed in your language's page.)

See also Template:Deprecated features/reason that must be edited to list reason for deprecation.