Template:Policy-global/doc

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search

Usage[edit]

This template is used to tag approved global policies (see Category:Global policies) and rejected global policy proposals (see Category:Failed global policy proposals). For proposals under development please use {{proposal}}. Usage is as follows:

Parameters[edit]

Supported following parameters, which can be used named or unnamed:

  1. type — approved/rejected
  2. example — yes/no

Calls[edit]

Calls of this template should be take

  1. from translatable pages — using strongly over {{Translatable navigation template}} ({{TNT}} shortcut), by name "Policy-global", with transferring unnamed parameters only;
  2. from untranslatable pages — directly, by name "Policy-global/en", with transferring named or unnamed parameters.

Cases[edit]

  • {{TNT|policy-global|approved}} or {{policy-global/en|type=approved}} produces:
  • {{TNT|policy-global|rejected}} or {{policy-global/en|type=rejected}} produces:

The template also categorizes the proposal in the appropiate categories depending on the template parameters.

If you miss to state the first unnamed or |type= parameter, the template will let you know you did something wrong: