Difference between revisions of "Template:Canvassed/doc"

From blackwiki
Jump to navigation Jump to search
imported>SMcCandlish
(→‎Usage: update)
imported>SMcCandlish
(update)
Line 9: Line 9:
  
 
To specify a specific canvassed editors:
 
To specify a specific canvassed editors:
:<code>{{''subst:''<nowiki>canvassed|1=Username|2=(optional)link to diff (resembling http://en.wikipedia.org/w/index.php?diff=prev&oldid=12345)</nowiki>}}</code>
+
:<code><nowiki>{{</nowiki>'''subst:'''<nowiki>canvassed|1=Username|2=(optional)link to diff (resembling http://en.wikipedia.org/w/index.php?diff=prev&oldid=12345)}}</nowiki></code>
  
 
To specify the generic "editors", make {{para|1}} blank:
 
To specify the generic "editors", make {{para|1}} blank:
  
:<code>{{''subst:''<nowiki>canvassed|1=|2=(optional)link to diff (resembling http://en.wikipedia.org/w/index.php?diff=prev&oldid=12345)</nowiki>}}</code><br />or:
+
:<code><nowiki>{{</nowiki>'''subst:'''<nowiki>canvassed|1=|2=(optional)link to diff (resembling http://en.wikipedia.org/w/index.php?diff=prev&oldid=12345)}}</nowiki></code><br />or:
:<code>{{''subst:''<nowiki>canvassed|&nbsp;|2=(optional)link to diff (resembling http://en.wikipedia.org/w/index.php?diff=prev&oldid=12345)</nowiki>}}</code>
+
:<code><nowiki>{{</nowiki>'''subst:'''<nowiki>canvassed|&nbsp;|2=(optional)link to diff (resembling http://en.wikipedia.org/w/index.php?diff=prev&oldid=12345)}}</nowiki></code>
 +
 
 +
This template supports up to 8 diffs (parameters {{para|2}} through {{para|9}}), mostly for the "editors" rather than particular username case (e.g. to identify notifications to select wikiprojects with a similar viewpoint but not particular stake in the matter, or a number of editors notified at their user talk pages):
 +
:<code><nowiki>{{</nowiki>'''subst:'''<nowiki>canvassed|&nbsp;|2=http://en.wikipedia.org/w/index.php?diff=prev&oldid=12345 |3=http://en.wikipedia.org/w/index.php?diff=prev&oldid=12345 |4=http://en.wikipedia.org/w/index.php?diff=prev&oldid=12345}}</nowiki></code>
  
 
=== See also ===
 
=== See also ===

Revision as of 14:34, 26 November 2017

This is the {{subst:canvassed}} template.

Usage

This template should be subst:'d and takes two parameters, the second one being optional:

To specify a specific canvassed editors:

{{subst:canvassed|1=Username|2=(optional)link to diff (resembling http://en.wikipedia.org/w/index.php?diff=prev&oldid=12345)}}

To specify the generic "editors", make |1= blank:

{{subst:canvassed|1=|2=(optional)link to diff (resembling http://en.wikipedia.org/w/index.php?diff=prev&oldid=12345)}}
or:
{{subst:canvassed| |2=(optional)link to diff (resembling http://en.wikipedia.org/w/index.php?diff=prev&oldid=12345)}}

This template supports up to 8 diffs (parameters |2= through |9=), mostly for the "editors" rather than particular username case (e.g. to identify notifications to select wikiprojects with a similar viewpoint but not particular stake in the matter, or a number of editors notified at their user talk pages):

{{subst:canvassed| |2=http://en.wikipedia.org/w/index.php?diff=prev&oldid=12345 |3=http://en.wikipedia.org/w/index.php?diff=prev&oldid=12345 |4=http://en.wikipedia.org/w/index.php?diff=prev&oldid=12345}}

See also

Template:Pam see also documentation