Template:Vote: Difference between revisions

From Xen
Jump to navigationJump to search
No edit summary
(Adding negative vote)
Line 1: Line 1:
[[File:Pictogram vote_15px.png|15px|link=]]&nbsp;<span style="text-decoration:underline;font-weight:bold;color:blue;">{{{1}}}:</span>[[Category:Pages with actions]]<noinclude>
{{#if: {{{1|Yes}}} | [[File:Pictogram vote_15px.png|15px|link=]] | [[File:Pictogram voteno_15px.png|15px|link=]]}}&nbsp;<span style="text-decoration:underline;font-weight:bold;color:blue;">{{{2}}}:</span>[[Category:Pages with actions]]<noinclude>
{{Documentation|content=<pre>{{Vote|Voter}} Add your vote (with a comment here)</pre> produces "{{Vote|Voter}} Add your vote (with a comment here)"}}
{{Documentation|content=<pre>{{Vote|Voter}} Add your affirmative vote (with a comment here)</pre> produces "{{Vote|Voter}} Add your affirmative vote (with a comment here)". <pre>{{Vote|No|Voter}} Add your negative vote (with a comment here)</pre> produces "{{Vote|No|Voter}} Add your negative vote (with a comment here)".}}
</noinclude>
</noinclude>

Revision as of 02:31, 3 March 2013

Pictogram vote 15px.png {{{2}}}:

Template documentation
{{Vote|Voter}} Add your affirmative vote (with a comment here)
produces "Pictogram vote 15px.png {{{2}}}: Add your affirmative vote (with a comment here)".
{{Vote|No|Voter}} Add your negative vote (with a comment here)
produces "Pictogram vote 15px.png Voter: Add your negative vote (with a comment here)".
Editors can experiment in this template's sandbox (edit) and testcases (create) pages.
Subpages of this template.
A print version of this template exists at /Print. If you make a change to this template, please update the print version as well.