Template:RPOTD default/doc

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Parameters

[edit source]
Parameter Usage Required or optional?
image Name of the image required
boxwidth How wide to make the box (limit: 500) required
subject The subject of the image optional
description The image's description required
size The size of the image required
user The name of the user who contributed the image required (unless using "flickr")
project The project of the user if not the English Wikipedia optional
flickr Link to the image's author if not a user optional
flag Flag representing a location (use what is most relevant, e.g. the UN flag for the United Nations Building, the US flag for the United States Capitol, and the New York flag for the New York State Capitol) optional (not usable on Thanksgiving & Christmas templates)

Examples

[edit source]
Default Default with flag parameter
Default with project parameter Default with flickr parameter
Christmas template
{{RPOTD {{{1|{{{style|christmas}}}}}}
|image=Santa-eop2.jpg
|boxwidth=400
|subject=[[Santa Claus]]
|description=A man dressed as [[Santa Claus]]
|size=350
|user=
|project=
|flickr=https://www.flickr.com/photos/44124451499@N01 Jacob Windham
|flag=
}}
Thanksgiving template
{{RPOTD {{{1|{{{style|thanksgiving}}}}}}
|image=2006-ca-turkey.jpg
|boxwidth=500
|subject=[[Turkey (bird)]]
|description=A [[Turkey (bird)|Turkey]]
|size=450
|user=Yathin sk
|project=commons
|flickr=
|flag=
}}