Jump to content

Template:Policy-global/doc: Difference between revisions

From Meta, a Wikimedia project coordination wiki
Content deleted Content added
No edit summary
Tags: Reverted Mobile edit Mobile web edit
m Reverted change by 2405:9800:B861:4916:8933:17A6:A7E3:95B8 (talk) to last version by ~aanzx
Tag: Rollback
 
(4 intermediate revisions by 4 users not shown)
Line 10: Line 10:


=== Cases ===
=== Cases ===
* <nowiki>{{policy-global|a}}</nowiki> or <nowiki>{{policy-global|type=approved}}</nowiki> produces:
* <nowiki>{{policy-global|approved}}</nowiki> or <nowiki>{{policy-global|type=approved}}</nowiki> produces:


{{policy-global|type=approved|example=yes}}
{{policy-global|type=approved|example=yes}}


* <nowiki>{{policy-|rejected}}</> or <>{{policy-global|type=rejected}}</nowiki> produces:
* <nowiki>{{policy-global|rejected}}</nowiki> or <nowiki>{{policy-global|type=rejected}}</nowiki> produces:


{{policy-global|type=rejected|example=yes}}
{{policy-global|type=rejected|example=yes}}

Latest revision as of 20:45, 6 November 2024

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

Cases

[edit]
  • {{policy-global|approved}} or {{policy-global|type=approved}} produces:
  • {{policy-global|rejected}} or {{policy-global|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: