Template:Motd
Media of the day |
---|
The annular solar eclipse that occurred on October 14, 2023 as seen from Petroglyph National Monument in New Mexico, United States. This video covers from 10:32:30 to 10:46:12 Mountain Daylight Time. One photo was taken every second and is played back at 30x speed. The camera was held in one spot so the sun and moon moved across the frame. +/− [en]
|
This template will display the current Wikimedia Commons Picture of the day on the page where it is placed.
Usage
{{Motd |width= |lang= |float= |show_date= }}
For usage see link in Commons:Media of the day/Instructions.
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
width | Width of the file in px | 300 | optional | |
lang | Language code of the caption and header (e.g. en) | en | optional | |
float | Float of the file; 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
{{Motd|width=200|lang=de|float=right|show_date=1}}
renders as:
Multimediadatei des Tages |
---|
14. Oktober 2024 |
The annular solar eclipse that occurred on October 14, 2023 as seen from Petroglyph National Monument in New Mexico, United States. This video covers from 10:32:30 to 10:46:12 Mountain Daylight Time. One photo was taken every second and is played back at 30x speed. The camera was held in one spot so the sun and moon moved across the frame.
|
See also
Localization
This template is not intended to be localized.
"Media of the day" text can be translated at Template:Motd/name/xx (e.g. Template:Motd/name/en).