Template:Potd: Difference between revisions

From MapSpawn
Jump to navigationJump to search
(Created page with "<div id="mp-lower" class="MainPageBG" style="margin-top:4px; border:1px solid #ddcef2; background:#faf5ff; overflow:auto;"> <div id="mp-bottom"> <h2 id="mp-tfp-h2" style="margin:0.5em; background:#ddcef2; font-family:inherit; font-size:120%; font-weight:bold; border:1px solid #afa3bf; color:#000; padding:0.2em 0.4em">{{#ifexist:Template:POTD protected/{{#time:Y-m-d}}|Today's featured picture | Featured picture <span style="font-size:85%; font-weight:normal;">(Check...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<div id="mp-lower" class="MainPageBG" style="margin-top:4px; border:1px solid #ddcef2; background:#faf5ff; overflow:auto;">
{{imbox
<div id="mp-bottom">
| type  = featured
<h2 id="mp-tfp-h2" style="margin:0.5em; background:#ddcef2; font-family:inherit; font-size:120%; font-weight:bold; border:1px solid #afa3bf; color:#000; padding:0.2em 0.4em">{{#ifexist:Template:POTD protected/{{#time:Y-m-d}}|Today's featured picture | Featured picture&ensp;<span style="font-size:85%; font-weight:normal;">(Check back later for today's.)</span>}}</h2>
| image = [[File:Wikipedia-logo-v2.svg|24px|Wikipedia logo]]
<div id="mp-tfp" style="margin:0.1em 0.4em 0.6em;">{{#ifexist:Template:POTD protected/{{#time:Y-m-d}}|{{POTD protected/{{#time:Y-m-d}}}}|{{POTD protected/{{#time:Y-m-d|-1 day}}}}}}</div>
| text  = This image was selected as '''[[Wikipedia:Picture of the day|picture of the day]]''' on the [[English Wikipedia]] for {{POTDlink|{{{1<noinclude>|</noinclude>}}}}}{{#if:{{{2|}}}|{{#if:{{{3|}}}|, |, and}} {{POTDlink|{{{2}}}}}
</div>
}}{{#if:{{{3|}}}|{{#if:{{{4|}}}|, |, and}} {{POTDlink|{{{3}}}}}
</div><noinclude>
}}{{#if:{{{4|}}}|, and {{POTDlink|{{{4}}}}}
{{User:UBX/Purge}}
}}.
[[Category:POTD display templates]]
}}<includeonly>{{File other|[[Category:Wikipedia Picture of the day files]]}}</includeonly><noinclude>
{{Documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Latest revision as of 22:14, 3 February 2024