Difference between revisions of "Template:Gs/notification/doc"

From blackwiki
Jump to navigation Jump to search
imported>RGloucester
(ce)
imported>RGloucester
(→‎Usage: better)
Line 14: Line 14:
 
:<code><nowiki>{{</nowiki>subst:Gs/notification|sig=yes}}</code> – Automatically signs the template upon substitution.
 
:<code><nowiki>{{</nowiki>subst:Gs/notification|sig=yes}}</code> – Automatically signs the template upon substitution.
 
;Using all parameters
 
;Using all parameters
:<code><nowiki>{{</nowiki>subst:Gs/notification|1=|2=|3=|4=|sig=yes}}</code>
+
:<code><nowiki>{{</nowiki>subst:Gs/notification|1=TOPIC|2=ARTICLE|3=LOG|4=ADDITIONAL MESSAGE|sig=yes}}</code>
{{Gs/notification|1=|2=|3=|4=|sig=yes}}
+
{{Gs/notification|1=TOPIC|2=ARTICLE|3=LOG|4=ADDITIONAL MESSAGE|sig=yes}}
  
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||

Revision as of 06:48, 7 November 2014

Usage

This template can be used by any editor.

The following parameters can be used:

{{subst:Gs/notification|1=topic}}Required parameter: specifies the topic that the sanctions pertain to.
{{subst:Gs/notification|2=specific article}} – Links to a specific article that a user has edited.
{{subst:Gs/notification|3=sanctions log page}}Required parameter: links to the sanctions page/log, e.g. WP:GS/GG
{{subst:Gs/notification|4=aditional message}} – Any additional message.
{{subst:Gs/notification|sig=yes}} – Automatically signs the template upon substitution.
Using all parameters
{{subst:Gs/notification|1=TOPIC|2=ARTICLE|3=LOG|4=ADDITIONAL MESSAGE|sig=yes}}

Template:Require substTemplate:Z33