Template:Vote

From Valve Developer Community
Jump to: navigation, search
Curly brackets white.pngTemplate Documentation
Icon-translate.png
View
Edit
Page history
Inline note templates
Template Pages using it
2023-08-29
{{Note}} 5,964
{{Warning}} 2,331
{{Bug}} 1,550
{{Tip}} 1,485
{{Todo}} 1,551
{{Inline note}} 955
{{Confirm}}
{{ClassicConfirm}}
691 + 324
{{Question}} 4
{{ModernConfirm}} 97
{{Fix}}
{{ClassicFix}}
174 + 33
{{ModernFix}} 489
{{Important}} 240 + 106
{{ModernImportant}} 308
{{Clarify}}
{{ClassicClarify}}
154 + 105
{{Elaborate}}
{{ClassicElaborate}}
10
{{Main}} 121
{{Distinguish}} 75
{{Workaround}} 96
{{Seealso}} 62
{{Which}}
{{ClassicWhich}}
1
{{Why}}
{{ClassicWhy}}
21
{{Idea}}
{{ClassicIdea}}
11
{{Placement Tip}}
{{ClassicPlacementTip}}
6 + 2
{{Codenote}}
{{Codenote}}
10
{{ModernCodenote}} N/A
{{Altnames}} 13
{{Deprecated}}
{{ClassicDeprecated}}
34 + 25
{{How}}
{{ClassicHow}}
18 + 15
{{Notice}} 15 + 10
{{Example}} 3
{{Confusion}} 3 + 1
{{Special thanks}} 1
{{Thanks}} (Modern) N/A
{{Code Fix}} N/A
{{Errornote}} N/A
{{Vote}} N/A

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}}
Icon-silk-check.png 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}}
Icon-silk-delete.png No: 
In an honest expression of my personal beliefs I must disagree with this opinion
{{Vote|yes|
# Enum
# Eration
}}
Icon-silk-check.png Yes: 
  1. Enum
  2. Eration

An example of multiple votes

Icon-silk-check.png Yes: 
I think this is a wonderful idea!
Icon-silk-delete.png No: 
I think we must reconsider this more carefully...
Icon-silk-delete.png No: 
I'd be inclined to agree