This page is protected against editing.

Template:Agree

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Symbol keep vote.svg Agree

Protected This template has been protected from editing to prevent vandalism.
Please discuss changes on the talk page or request unprotection.
Documentationview · edit · history · purge ]
This documentation is transcluded from Template:Polling template.

This is a polling template. Feel free to add language translations. Any help in updating these translations may be requested at the Administrators' Noticeboard.

Usage

{{Agree}}

Template parameters

ParameterDescriptionDefaultStatus
1Rarely used optional parameter allows to overwrite the default text messageemptyoptional
lang{{Agree|lang=xx}} (where xx is ISO 639-2 language code) for output in the specified language.emptyoptional

Additional information

The template is intended to be used in the following namespaces: all namespaces

The template is intended to be used by the following user groups: all users

Example

{{Agree|Hello World!}}

renders as:

Symbol keep vote.svg Hello World!

See also

Localization

To add your language to the list of languages supported by this template, please edit the template and add a row to the "{{LangSwitch|}}" construct. It takes the form "|xx= Your translation " (xx being the code of your language)

More Examples

{{Agree}}
Will display the name in the language specified by user's preferences: {{{{PAGENAME}}}}
{{Agree|lang=pl}}
Will always display the name in Polish: Symbol keep vote.svg Zgadzam się
{{Agree|hello}}
Will keep the icon but add own message: Symbol keep vote.svg hello
{{Agree|}}
Will keep the icon and have no text message: Symbol keep vote.svg 

See also


Polling template parameters

Template parameters

ParameterDescriptionTypeStatus
text1

overwrite default text (empty for no text)

Example
Hello World!
Stringoptional
langlang

force language code

Example
fr
Stringoptional