Template:2011POTY/Button/doc

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

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

Parameter Description Default Status
r Round this gallery is made for: R1 or R2 empty optional
f Filename without namespace; If f is specified, r (Round) is required. empty optional
s Size of the gallery boxes: l=large, m=medium, s=small empty optional
link Either wikilink or external link; Either this is required or parameter f (Filename) empty optional
color1 empty optional
color2 empty optional
color3 empty optional
style valid inline CSS empty optional
text Text to display Vote for this picture (auto-translated) optional
external Whether link is external. empty optional

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 | Македонски |

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.