Template:2011POTY/Button

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

Vote for this picture

Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:2011POTY/Button/doc.

A smart voting button that hides itself if {{POTY2011/state}} does not equal the round the gallery where used is made for.

Usage

{{2011POTY/Button |r= |f= |s= }}

Template parameters

ParameterDescriptionDefaultStatus
rRound this gallery is made for: R1 or R2emptyoptional
fFilename without namespace; If f is specified, r (Round) is required.emptyoptional
sSize of the gallery boxes: l=large, m=medium, s=smallemptyoptional
linkEither wikilink or external link; Either this is required or parameter f (Filename)emptyoptional
color1emptyoptional
color2emptyoptional
color3emptyoptional
stylevalid inline CSSemptyoptional
textText to displayVote for this picture (auto-translated)optional
externalWhether link is external.emptyoptional

Additional information

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

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

Relies on:
{{POTY2011/state}}

Localization

Deutsch  English  español  македонски  português do Brasil

This template is localized through {{Autotranslate}}. The layout of the template can be found under Template:2011POTY/Button/layout.

To add your language to the list of languages supported by this template, please copy the code of Template:2011POTY/Button/en (or any other language version you prefer to translate) and replace the text strings in there (the form below can be used to create a translation, the English version is preloaded in the edit box). Please change the parameter lang from en (or whatever language you are translating) to the language code of your language.