Template:Motd
Media of the day |
---|
In 1940 New Zealand was drowning in apples. The war meant export orders could not be shipped, so there were a million cases of excess export apples to be eaten domestically. The power of commercial radio was enlisted and this song, The New Zealand Apple Song written by Ivan Perrin, was the winner in a nationwide contest to find a song to promote apples – an early example of the power of a catchy jingle. +/− [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 |
Template data | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
<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 |
---|
18. Mai 2024 |
In 1940 New Zealand was drowning in apples. The war meant export orders could not be shipped, so there were a million cases of excess export apples to be eaten domestically. The power of commercial radio was enlisted and this song, The New Zealand Apple Song written by Ivan Perrin, was the winner in a nationwide contest to find a song to promote apples – an early example of the power of a catchy jingle.
|
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).