Template:Featured picture

{{if in page|1=%{%{%s*[Pp]icture ?of ?the ?day%s*{{!}}|2=|3={{if in category|2=Picture of the day/Unused|3=|4=[[Category:Featured pictures that have not appeared on the Main Page|{{#time:Y-m|{{if in page|%[%[Category:Featured picture nominations/(%P+)|%1||page=Wikipedia:Featured picture candidates/{{{1|{{FULLPAGENAME}}}}}|sub=yes}}}}]]}}}} {{documentation}}