Difference between revisions of "Template:Canvassed/doc"
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><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><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| |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| |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| |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 a documentation subpage for Template:Canvassed. It contains usage information, categories and other content that is not part of the original template page. |
| This template should always be substituted (i.e., use {{subst:Canvassed}}). |
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