Difference between revisions of "Template:Canvassed/doc"
Jump to navigation
Jump to search
imported>SMcCandlish (→Usage: update) |
imported>Vanisaac m (→See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
| (3 intermediate revisions by one other user not shown) | |||
| 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 no 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 === | ||
| Line 20: | Line 23: | ||
{{Afd see also documentation}} | {{Afd see also documentation}} | ||
| − | <includeonly> | + | <includeonly>{{Sandbox other|| |
<!-- Categories and interwikis go here: --> | <!-- Categories and interwikis go here: --> | ||
[[Category:Username internal link templates]] | [[Category:Username internal link templates]] | ||
[[Category:XFD templates]] | [[Category:XFD templates]] | ||
| − | </includeonly> | + | [[Category:Wikipedia canvassing-related templates]] |
| + | }}</includeonly> | ||
Latest revision as of 00:47, 24 April 2020
| File:Edit-copy green.svg | 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. |
| 40x40px | 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 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