Template:Vote

From Valve Developer Community
Jump to navigation Jump to search
English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Icon-translate.png Available doc translations
View
Page history
Inline note templates
Template Pages using it
28 August 2024
{{Note}} 6,436
{{Warning}} 1,253
{{Bug}} 1,192
{{Tip}} 1,516
{{Todo}} 1,628
{{Inline note}} 2,188
{{Confirm}} 672
{{Question}} 11
{{Fix}} 170
{{Important}} 459
{{Clarify}} 169
{{Elaborate}} 18
{{Main}} 143
{{Distinguish}} 85
{{Workaround}} 122
{{Seealso}} 145
{{Which}} 2
{{Why}} 38
{{Idea}} 21
{{PlacementTip}} 13
{{Codenote}} 21
{{Altnames}} 35
{{Deprecated}} 109
{{How}} 23
{{Example}} 16
{{Confusion}} 53
{{Thanks}} 7
{{Code Fix}} 9 + 7 (16)
{{Errornote}} 1
{{Vote}} 4

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