Difference between revisions of "Template:Canvassed/doc"

From blackwiki
Jump to navigation Jump to search
imported>SMcCandlish
(update)
imported>SMcCandlish
m (typo)
Line 16: Line 16:
 
:<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>
 
:<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):
+
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 no 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>
 
:<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>
  

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 no 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