From Valve Developer Community
Jump to navigation
Jump to search

Available doc translations
…
English
A template used for voting on (presumably) discussion pages.
Usage
Parameters
- {{{1}}} – Whether or not the vote is Yes or No.
- {{{2}}} – The text to show on the right. The characters
=
and |
can break this template because they are special characters in template calls. Use {{=}}
and {{!}}
instead; See Category:Templates for within templates.
Examples
Wikitext |
Result
|
{{Vote|yes|I do finely choose to agree with thy statement}}
|
→
|
Yes: I do finely choose to agree with thy statement
|
{{Vote|no|In an honest expression of my personal beliefs I must disagree with this opinion}}
|
→
|
No: In an honest expression of my personal beliefs I must disagree with this opinion
|
{{Vote|yes| # Enum # Eration }}
|
→
|
Yes:
- Enum
- Eration
|
An example of multiple votes
Yes: I think this is a wonderful idea!
No: I think we must reconsider this more carefully...
No: I'd be inclined to agree