Jump to content

Template:Main Page/sandbox: Difference between revisions

m
no edit summary
No edit summary
mNo edit summary
Line 9: Line 9:
<div id="mp-upper">
<div id="mp-upper">
<div id="mp-left" class="MainPageBG mp-box">
<div id="mp-left" class="MainPageBG mp-box">
<h2 id="mp-tfa-h2" class="mp-h2">{{#ifexpr:{{formatnum:{{PAGESIZE:Wikipedia:Today's featured article/{{#time:F j, Y}}}}|R}}>150|From today's featured article|Featured article <span class="mp-later">(Check back later for today's.)</span>}}</h2>
<h2 id="mp-tfa-h2" class="mp-h2">Featured article</h2>
<div id="mp-tfa" class="mp-contains-float"></div>
<div id="mp-tfa" class="mp-contains-float">{{#ifexpr:{{formatnum:{{PAGESIZE:Wikivahdat:Today's featured article/{{#time:F j, Y}}}}|R}}>150|{{Wikivahdat:Today's featured article/{{#time:F j, Y}}}}|{{Wikivahdat:Today's featured article/{{#time:F j, Y|-1 day}}}}}}</div>
<h2 id="mp-dyk-h2" class="mp-h2">Did you know&nbsp;...</h2>
<h2 id="mp-dyk-h2" class="mp-h2">Did you know&nbsp;...</h2>
<div id="mp-dyk" class="mp-contains-float"></div>
<div id="mp-dyk" class="mp-contains-float">{{Did you know}}</div>
</div>
</div>
<div id="mp-right" class="MainPageBG mp-box">
<div id="mp-right" class="MainPageBG mp-box">
<h2 id="mp-itn-h2" class="mp-h2">In the news</h2>
<h2 id="mp-itn-h2" class="mp-h2">In the news</h2>
<div id="mp-itn" class="mp-contains-float"></div>
<div id="mp-itn" class="mp-contains-float">{{In the news}}</div>
<h2 id="mp-otd-h2" class="mp-h2">On this day</h2>
<h2 id="mp-otd-h2" class="mp-h2">On this day</h2>
<div id="mp-otd" class="mp-contains-float"></div>
<div id="mp-otd" class="mp-contains-float">{{Wikivahdat:Selected anniversaries/{{#time:F j}}}}</div>
</div>
</div>
</div>
</div>
Line 27: Line 27:
</div>}}<!-- END CONDITIONAL SHOW -->
</div>}}<!-- END CONDITIONAL SHOW -->
<div id="mp-lower" class="MainPageBG mp-box">
<div id="mp-lower" class="MainPageBG mp-box">
<h2 id="mp-tfp-h2" class="mp-h2">{{#ifexist:Template:POTD protected/{{#time:Y-m-d}}|Today's featured picture|Featured picture&ensp;<span class="mp-later">(Check back later for today's.)</span>}}</h2>
<h2 id="mp-tfp-h2" class="mp-h2">Featured picture</h2>
<div id="mp-tfp"></div>
<div id="mp-tfp"></div>
</div>
</div>