Template:Comment

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

Pictogram voting comment.svg Comment

Documentation icon Documentationviewedithistorypurge

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

{{Comment}}

Template parameters

ParameterDescriptionDefaultStatus
1Rarely used optional parameter allows to overwrite the default text messageemptyoptional
lang{{Comment|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

{{Comment|Hello World!}}

renders as:

Pictogram voting comment.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

{{Comment}} 
Will display the name in the language specified by user's preferences: {{{{PAGENAME}}}}
{{Comment|lang=pl}} 
Will always display the name in Polish: Pictogram voting comment.svg Komentarz
{{Comment|hello}} 
Will keep the icon but add own message: Pictogram voting comment.svg hello
{{Comment|}} 
Will keep the icon and have no text message: Pictogram voting comment.svg 

See also


Polling template parameters

Template parameters

ParameterDescriptionTypeStatus
text1

overwrite default text (empty for no text)

Default
empty
Example
Hello World!
Auto value
empty
Stringoptional
langlang

force language code

Default
empty
Example
fr
Auto value
empty
Stringoptional