Template:Potd
Picture of the day |
---|
Eruption of Strokkur (Icelandic for "churn"), a fountain geyser located in the Haukadalur geothermal area, southwest of Iceland. +/− [en]
|
This template will display the current Wikimedia Commons Picture of the day on the page where it is placed.
Usage
{{Potd |width= |lang= |float= |noeditlinks= |show_date= }}
For usage see Commons:Picture of the day/Instructions.
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
width | Width of the picture in px | 300 | optional | |
lang | Language code of the caption and header (e.g. en) | en | optional | |
float | Float of the picture; possible values: right, left and center. | right | optional | |
noeditlinks | To disable edit links, add any value to this parameter (e.g. 1). | empty | optional | |
show_date | Show current date below the "Picture of the day" header | empty | optional |
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard. Existing template documentation Newly created template documentation and imports Wikipedia's help about TemplateData • Commons-specific information This template will display the current Wikimedia Commons Picture of the day on the page where it is placed.
|
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
{{Potd|width=200|lang=de|float=right|show_date=1}}
renders as:
Bild des Tages |
---|
27. November 2024 |
See also
- {{Motd}}
- {{User:Labdajiwa/Random POTD}}, display a randomly selected picture of the day.
Localization
This template is not intended to be localized.
"Picture of the day" text can be translated at Template:Potd/name/xx (e.g. Template:Potd/name/en).