Main Page: Difference between revisions

2,989 bytes added ,  27 December 2022
no edit summary
No edit summary
 
No edit summary
Line 9: Line 9:
* [https://www.mediawiki.org/wiki/Special:MyLanguage/Localisation#Translation_resources Localise MediaWiki for your language]
* [https://www.mediawiki.org/wiki/Special:MyLanguage/Localisation#Translation_resources Localise MediaWiki for your language]
* [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Combating_spam Learn how to combat spam on your wiki]
* [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Combating_spam Learn how to combat spam on your wiki]
<noinclude>{{SHORTDESC:Main page of the English Wikipedia}}</noinclude><templatestyles src="Wikipedia:Main Page/styles.css" />
<div id="mp-topbanner" class="mp-box">
<div id="mp-welcomecount">
<div id="mp-welcome"><h1>Welcome to [[Wikipedia]]</h1>,</div>
<div id="mp-free">the [[free content|free]] [[encyclopedia]] that [[Help:Introduction to Wikipedia|anyone can edit]].</div>
<div id="articlecount">[[Special:Statistics|{{NUMBEROFARTICLES}}]] articles in [[English language|English]]</div>
</div>
</div>
{{#if:{{Main Page banner}}|
<div id="mp-banner" class="MainPageBG mp-box">
{{Main Page banner}}
</div>
}}
<div id="mp-upper">
<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>
<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&nbsp;...</h2>
<div id="mp-dyk" class="mp-contains-float">{{Did you know}}</div>
</div>
<div id="mp-right" class="MainPageBG mp-box">
<h2 id="mp-itn-h2" class="mp-h2">In the news</h2>
<div id="mp-itn" class="mp-contains-float">{{In the news}}</div>
<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>
</div>
<!-- IF MONDAY OR FRIDAY, SHOW TFL -->{{#switch:{{CURRENTDAYNAME}}|Monday|Friday=
<div id="mp-middle" class="MainPageBG mp-box">
<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>}}<!-- END CONDITIONAL SHOW -->
<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>
<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 id="mp-bottom" class="mp-box">
<h2 id="mp-other" class="mp-h2">Other areas of Wikipedia</h2>
<div id="mp-other-content">{{Other areas of Wikipedia}}</div>
<h2 id="mp-sister" class="mp-h2">Wikipedia's sister projects</h2>
<div id="mp-sister-content">{{Wikipedia's sister projects}}</div>
<h2 id="mp-lang" class="mp-h2">Wikipedia languages</h2>
<div>{{Wikipedia languages}}</div>
</div><noinclude>{{Main Page interwikis}}{{noexternallanglinks}}{{#if:{{Wikipedia:Main_Page/Tomorrow}}||}}</noinclude>__NOTOC____NOEDITSECTION__