Template:Wiki Loves Food winner image/doc
This template marks files uploaded as part of the Wiki Loves Food project organized by several Wikimedia chapters that as finalist or winner were submitted to the international jury.
The template automatically sets the following categories: Category:Images from Wiki Loves Food (depending on the year of edition)
Usage
{{Wiki Loves Food winner image |year= |country= |place= |alttext= }}
Example 1: no parameters
{{Wiki Loves Food winner image}}
This image was awarded an finalist worldwide in Wiki Loves Food
|
Example 2: parameter year
{{Wiki Loves Food winner image|year=2021}}
This image was awarded an finalist worldwide in Wiki Loves Food 2021
|
Example 3: parameters year, country
{{Wiki Loves Food winner image|year=2021|country=India}}
This image was awarded an finalist in the national contest of India in Wiki Loves Food 2021
|
Example 4: parameters year, country, place
{{Wiki Loves Food winner image|year=2021|country=India|place=5}}
This image was awarded with the 5th prize in the national contest of India in Wiki Loves Food 2021
|
Example 5: parameters year, country, alltext
{{Wiki Loves Food winner image|year=2021|country=India|alttext=special mention}}
This image was awarded special mention in the national contest of India in Wiki Loves Food 2021
|
Example 6: parameter alltext
{{Wiki Loves Food winner image|alttext=special mention}}
This image was awarded special mention worldwide in Wiki Loves Food
|
Example 7: parameters year, country, place, alltext
{{Wiki Loves Food winner image|year=2021|country=India|place=4|alttext=special mention}}
This image was awarded with the 4th prize in the national contest of India in Wiki Loves Food 2021
|
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
year | Year of the contest edition | empty | required | |
country | Country where the image was winner of finalist (per default international contest) | empty | optional | |
place | Place in the national contest | empty | optional | |
alttext | Alternative text instead of "awarded with the x-th prize" | empty | optional |
Additional information
The template is intended to be used in the following namespaces: the File namespace
The template is intended to be used by the following user groups: all users
Placement: At the bottom of the page
Example
{{Wiki Loves Food winner image|year=2021|country=India|place=5}}
renders as:
This image was awarded with the 5th prize in the national contest of India in Wiki Loves Food 2021
|
Localization
This template is localized through {{Autotranslate}}. The layout of the template can be found under Template:Wiki Loves Food winner image/layout.
To add your language to the list of languages supported by this template, please copy the code of Template:Wiki Loves Food winner image/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.