Difference between revisions of "Template:Ds/talk notice/doc"

From blackwiki
Jump to navigation Jump to search
imported>Callanecc
(Adding usage instructions)
imported>Callanecc
(→‎Use: Clarifying use of Template:Ds/editnotice)
Line 5: Line 5:
  
 
=== Use ===
 
=== Use ===
This template should be used on the talk pages of pages which are subject to discretionary sanctions. It can also be used in an edit notice version to alert users to an Arbitration Committee imposed sanction which is in addition to discretionary santions (for example the Arab-Israeli 1RR restriction. ''Sanctions which are imposed pursuant to a discretionary sanctions remedy should use [[Template:Ds/editnotice]].''
+
This template should be used on the talk pages of pages which are subject to discretionary sanctions. It can also be used in an editnotice version to alert users to discretionary sanctions however should not be used to alert users to a current sanction, ''[[Template:Ds/editnotice]]'' has been designed for this function.
  
 
:{{tlx|Discretionary sanctions|topic{{=}}'''''code'''''}}
 
:{{tlx|Discretionary sanctions|topic{{=}}'''''code'''''}}

Revision as of 00:34, 13 March 2014

Template:TOCright

This template will display a warning on the article talk for users regarding discretionary sanctions in a given topic area. When deploying the template, you must declare which arbitration decision is in effect by using one of the decision codes. You should place the template at the top of the page, below the talk header (if used) but above all other templates.

The template categorises pages into Category:Wikipedia pages under discretionary sanctions or Category:Wikipedia pages with discretionary sanctions editnotice depending on usage unless nocat=yes is included.

Use

This template should be used on the talk pages of pages which are subject to discretionary sanctions. It can also be used in an editnotice version to alert users to discretionary sanctions however should not be used to alert users to a current sanction, Template:Ds/editnotice has been designed for this function.

{{Discretionary sanctions|topic=code}}
{{Discretionary sanctions|topic=code|style=brief or long}}
Parameter Values Behaviour Notes
|topic= code: Choose from #Decision codes; eg |topic=tt for The Troubles. Determines which arbitration final decision will be linked to. Mandatory.
|style= brief or long; see #Styles for what each style looks like. Determines whether the longer or shorter message will be displayed. Optional; defaults to |style=brief.

Empty templates, for copy-pasting:

{{Discretionary sanctions|topic=}}
{{Discretionary sanctions|topic=|style=}}

Styles

The default is a concise, bold-print message:

{{Discretionary sanctions|topic=tpm|style=brief}} gives:

Alternatively there is a more wordy and detailed message, using the old-style "traffic light" format:

{{Discretionary sanctions|topic=saq|style=long}} gives:

Decision codes

Template:Uw-sanctions/usage

If an article has sanctions, but doesn't fit into one of the above topic areas, this template is unsuitable. Use {{sanctions}} instead.

See also

  • {{sanctions}}: a talk page notice for general sanctions.
  • {{uw-sanctions}}: to be placed on user talk pages to individual users.