Template:Deprecate/doc

From OpenStreetMap Wiki
Jump to navigation Jump to search

Usage

A template to make the proposed deprecations of proposals machine-readable:

  • {{deprecate|{{tag|foo}}}} → Deprecate foo=* without replacement.
  • {{deprecate|{{tag|foo}}|{{tag|bar}}}} → Deprecate foo=* in favor of bar=*.
  • {{deprecate|{{tag|foo||<var>X</var>}}|{{tag|bar||<var>X</var>}}|(where <var>X</var> is a value of {{tag|baz}})}} → Deprecate foo=X in favor of bar=X (where X is a value of baz=*).

Notes

Parameters

  1. What is being deprecated (use Template:Tag, Template:Prefix or Template:Suffix).
  2. What is the suggested replacement, if any (use Template:Tag, Template:Prefix or Template:Suffix).
  3. Additional notes.

See also