Main Page: Difference between revisions
No edit summary |
No edit summary |
||
Line 18: | Line 18: | ||
<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">{{#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> | ||
<div id="mp-tfa" class="mp-contains-float">{{#ifexpr:{{formatnum:{{PAGESIZE:Wikipedia:Today's featured article/{{#time:F j, Y}}}}|R}}>150|{{Wikipedia:Today's featured article/{{#time:F j, Y}}}}|{{Wikipedia:Today's featured article/{{#time:F j, Y|-1 day}}}}}}</div> | <div id="mp-tfa" class="mp-contains-float">{{#ifexpr:{{formatnum:{{PAGESIZE:Wikipedia:Today's featured article/{{#time:F j, Y}}}}|R}}>150|{{Wikipedia:Today's featured article/{{#time:F j, Y}}}}|{{Wikipedia:Today's featured article/{{#time:F j, Y|-1 day}}}}}}</div> | ||
<h2 id="mp-dyk-h2" class="mp-h2">Did you know ...</h2> | <h2 id="mp-dyk-h2" class="mp-h2">Did you know ...</h2> | ||
<div id="mp-dyk" class="mp-contains-float">{{Did you know}}</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">{{In the news}}</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">{{Wikipedia:Selected anniversaries/{{#time:F j}}}}</div> | <div id="mp-otd" class="mp-contains-float">{{Wikipedia:Selected anniversaries/{{#time:F j}}}}</div> | ||
</div> | </div> | ||
</div> | </div> | ||
<!-- IF MONDAY OR FRIDAY, SHOW TFL -->{{#switch:{{CURRENTDAYNAME}}|Monday|Friday= | <!-- IF MONDAY OR FRIDAY, SHOW TFL -->{{#switch:{{CURRENTDAYNAME}}|Monday|Friday= | ||
<div id="mp-middle" class="MainPageBG mp-box"> | <div id="mp-middle" class="MainPageBG mp-box"> | ||
<h2 id="mp-tfl-h2" class="mp-h2">From today's featured list</h2> | <h2 id="mp-tfl-h2" class="mp-h2">From today's featured list</h2> | ||
<div id="mp-tfl" class="mp-contains-float">{{#ifexist:Wikipedia:Today's featured list/{{#time:F j, Y}}|{{Wikipedia:Today's featured list/{{#time:F j, Y}}}}|{{TFLempty}}}}</div> | <div id="mp-tfl" class="mp-contains-float">{{#ifexist:Wikipedia:Today's featured list/{{#time:F j, Y}}|{{Wikipedia:Today's featured list/{{#time:F j, Y}}}}|{{TFLempty}}}}</div> | ||
</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 <span class="mp-later">(Check back later for today's.)</span>}}</h2> | <h2 id="mp-tfp-h2" class="mp-h2">{{#ifexist:Template:POTD protected/{{#time:Y-m-d}}|Today's featured picture|Featured picture <span class="mp-later">(Check back later for today's.)</span>}}</h2> | ||
<div id="mp-tfp">{{#ifexist:Template:POTD protected/{{#time:Y-m-d}}|{{POTD protected/{{#time:Y-m-d}}}}|{{POTD protected/{{#time:Y-m-d|-1 day}}}}}}</div> | <div id="mp-tfp">{{#ifexist:Template:POTD protected/{{#time:Y-m-d}}|{{POTD protected/{{#time:Y-m-d}}}}|{{POTD protected/{{#time:Y-m-d|-1 day}}}}}}</div> | ||
</div> | </div> | ||
<div id="mp-bottom" class="mp-box"> | <div id="mp-bottom" class="mp-box"> | ||
<h2 id="mp-other" class="mp-h2">Other areas of Wikipedia</h2> | <h2 id="mp-other" class="mp-h2">Other areas of Wikipedia</h2> | ||
<div id="mp-other-content">{{Other areas of Wikipedia}}</div> | <div id="mp-other-content">{{Other areas of Wikipedia}}</div> | ||
<h2 id="mp-sister" class="mp-h2">Wikipedia's sister projects</h2> | <h2 id="mp-sister" class="mp-h2">Wikipedia's sister projects</h2> | ||
<div id="mp-sister-content">{{Wikipedia's sister projects}}</div> | <div id="mp-sister-content">{{Wikipedia's sister projects}}</div> | ||
<h2 id="mp-lang" class="mp-h2">Wikipedia languages</h2> | <h2 id="mp-lang" class="mp-h2">Wikipedia languages</h2> | ||
<div>{{Wikipedia languages}}</div> | <div>{{Wikipedia languages}}</div> | ||
</div><noinclude>{{Main Page interwikis}}{{noexternallanglinks}}{{#if:{{Wikipedia:Main_Page/Tomorrow}}||}}</noinclude>__NOTOC____NOEDITSECTION__ | </div><noinclude>{{Main Page interwikis}}{{noexternallanglinks}}{{#if:{{Wikipedia:Main_Page/Tomorrow}}||}}</noinclude>__NOTOC____NOEDITSECTION__ |
Revision as of 13:37, 29 May 2023
{{#if:Template:Main Page banner|
}}
{{#ifexpr:0>150|From today's featured article|Featured article (Check back later for today's.)}}
{{#ifexpr:0>150|{{Wikipedia:Today's featured article/{{#time:F j, Y}}}}|{{Wikipedia:Today's featured article/{{#time:F j, Y|-1 day}}}}}}
Did you know ...
{{#switch:Saturday|Monday|Friday=
From today's featured list
{{#ifexist:Wikipedia:Today's featured list/{{#time:F j, Y}}|{{Wikipedia:Today's featured list/{{#time:F j, Y}}}}|Template:TFLempty}}
}}
{{#ifexist:Template:POTD protected/{{#time:Y-m-d}}|Today's featured picture|Featured picture (Check back later for today's.)}}
{{#ifexist:Template:POTD protected/{{#time:Y-m-d}}|{{POTD protected/{{#time:Y-m-d}}}}|{{POTD protected/{{#time:Y-m-d|-1 day}}}}}}
Other areas of Wikipedia
Wikipedia's sister projects
Wikipedia languages
Template:Main Page interwikisTemplate:Noexternallanglinks{{#if:{{Wikipedia:Main_Page/Tomorrow}}||}}