From Wikimedia Commons, the free media repository
Jump to navigation
Jump to search
Use the following template for the picture of the day for current day on your user page, it will output the above picture
{{Potd custom}}
If you want to use picture of the day of any day, use the following statement:
{{Potd custom|year= |month= |day= }}
Note: Missing any of |year=
. |month=
or |day=
will use the current year, month or day respectively
Parameter
Function
Input type
Default value
|year=
Outputs the picture of year you want
Number
2024 (Current)
|month=
Outputs the picture of month you want
Number
11 (Current)
|day=
Outputs the picture of day you want
Number
07 (Current)
|lang=
Changes language of the caption
Language
en
|float=
Aligns the picture left or right
left/right
right
|width=
Width of the picture
px or %
200px
|titlecolor=
Changes text color of the title Picture of the Day
Color
black
|titlebackground=
Changes background color of the title Picture of the Day
Color
Monthly default color (See below )
|captioncolor=
Changes text color of caption of the picture
Color
black
|captionbackground=
Changes background color of the caption
Color
Monthly default color (See below )
|captionfontstyle=
Changes font style of the caption
Font face
Normal
|captionbold=
Bolds the caption
yes/no
no
|captionitalic=
Italics the caption
yes/no
no
|captionunderline=
Underlines the caption
yes/no
no
|customcaption=
Enables your own caption
Text
Picture's caption
|datecolor=
Changes color of the date
Color
black
|datebackground=
Changes background color of the date
Color
Monthly default color (See below )
|datefontstyle=
Changes font style of the date
Font face
Normal
|bordercolor=
Changes border color
Color
Monthly default color (See below )
|showtitle=
Shows/hides the title Picture of the Day
yes/no
yes
|showcaption=
Shows/hides the caption
yes/no
yes
|showdate=
Shows/hides the date
yes/no
yes
Monthly Default Colors [ edit ]
Background colors of picture's title, caption, date and border has following monthly default values:
Month
Title
Caption, date and border
January
||
February
||
March
||
April
||
May
||
June
||
July
||
August
||
September
||
October
||
November
||
December
||
For example, you want picture of the day for 8 November 2013. You need following code:
{{Potd custom|year=2013|month=11|day=08}}
Or:
{{Potd custom
|year = 2013
|month = 11
|day = 08
}}
Floating, Width and Language[ edit ]
You can float picture left or right by |float=
, change width in px or % by |width=
or change the language of caption by |lang=
. An example is here:
{{Potd custom|year=2014|month=10|day=29|float=left|width=300px|lang=de}}
Or:
{{Potd custom
|year = 2014
|month = 10
|day = 29
|float = left
|width = 300px
|lang = de
}}
You can change title Picture of the day' s text color by |titlecolor=
background color by |titlebackground=
parameters.
{{Potd custom
|year = 2015
|month = 09
|day = 21
|titlecolor = yellow
|titlebackground = red
}}
You can also use hex code for color
Caption text color can be change by |captioncolor=
, background color by |captionbackground=
and font style by |captionfontstyle=
parameters
{{Potd custom
|year = 2012
|month = 07
|day = 13
|captioncolor = green
|captionbackground = lightyellow
|captionfontstyle = serif
}}
Bold Caption: |captionbold=
Italic Caption: |captionitalic=
Underline Caption: |captionunderline=
Custom Caption: |customcaption=
{{Potd custom
|year = 2011
|month = 06
|day = 16
|captionbold=yes
}}
{{Potd custom
|year = 2011
|month = 06
|day = 16
|captionitalic=yes
}}
{{Potd custom
|year = 2011
|month = 06
|day = 16
|captionunderline=yes
}}
{{Potd custom
|year = 2011
|month = 06
|day = 16
|customcaption=This is my custom caption for this picture.
}}
Date text color can be change by |datecolor=
, background color by |datebackground=
and font style by |datefontstyle=
parameters.
{{Potd custom
|year = 2010
|month = 02
|day = 24
|datecolor = yellow
|datebackground = #db7093
|datefontstyle = courier new
}}
Border color can be change by |bordercolor=
parameter.
{{Potd custom
|year = 2009
|month = 01
|day = 17
|bordercolor = red
}}
Hiding Title |showtitle=no
Hiding Caption |showcaption=no
Hiding Date |showdate=no
View from Arni to Chli Windgällen (2986m, in front) and the Groß Windgällen (3188m, behind) in the Canton of Uri/Switzerland
4 April 2009
Picture of the day
View from Arni to Chli Windgällen (2986m, in front) and the Groß Windgällen (3188m, behind) in the Canton of Uri/Switzerland
{{Potd custom
|year = 2009
|month=04
|day=04
|showtitle=no
}}
{{Potd custom
|year = 2009
|month=04
|day=04
|showcaption=no
}}
{{Potd custom
|year = 2009
|month=04
|day=04
|showdate=no
}}