Template:Vote

Izvor: Valve Developer Community
Prijeđi na navigaciju Prijeđi na pretraživanje
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)
Curly brackets white.pngDokumentacija predloška [vidi] [uredi] [započni Hrvatski (hr)]
Icon-translate.png Available doc translations
Info.png
Stranica s dokumentacijom Template:Vote/doc/hr ne postoji.
Umjesto toga bit će prikazana engleska dokumentacija koju možete prevesti pomoću Google Prevoditelja (ili sličnog softvera). Ako nakon ove poruke nema ničega, najvjerojatnije dokumentacija ne postoji niti na engleskom jeziku.
Inline note templates
Template Pages using it
28 kolovoza 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
{{when}} 1
{{where}} 0
{{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)
{{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