Difference between revisions of "Main Page"
Jump to navigation
Jump to search
(username removed) |
(username removed) |
||
Line 1: | Line 1: | ||
<templatestyles src="Wikipedia:Main Page/styles.css" /> | |||
<div id="mp-topbanner" class="mp-bordered"> | |||
<div id="mp-welcomecount"> | |||
<div id="mp-welcome">Welcome to [[Wikipedia]],</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> | |||
<ul id="mp-portals"> | |||
<li>[[Portal:The arts|The arts]]</li> | |||
<li class="portal-vmid">[[Portal:Biography|Biography]]</li> | |||
<li class="portal-vbot">[[Portal:Geography|Geography]]</li> | |||
<li class="portal-hmid">[[Portal:History|History]]</li> | |||
<li class="portal-hmid portal-vmid">[[Portal:Mathematics|Mathematics]]</li> | |||
<li class="portal-hmid portal-vbot">[[Portal:Science|Science]]</li> | |||
<li class="portal-hright">[[Portal:Society|Society]]</li> | |||
<li class="portal-hright portal-vmid">[[Portal:Technology|Technology]]</li> | |||
<li class="portal-hright portal-vbot">[[Wikipedia:Contents/Portals|All portals]]</li> | |||
</ul> | |||
</div> | |||
{{#if:{{Main Page banner}}| | |||
<div id="mp-banner" class="MainPageBG mp-bordered"> | |||
{{Main Page banner}} | |||
</div> | |||
}} | |||
{| role="presentation" id="mp-upper" | |||
| id="mp-left" class="MainPageBG mp-bordered" | | |||
<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">{{#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> | |||
<div id="mp-dyk">{{Did you know}}</div> | |||
| class="mp-bordered mid-table" | | |||
| id="mp-right" class="MainPageBG mp-bordered" | | |||
<h2 id="mp-itn-h2" class="mp-h2">In the news</h2> | |||
<div id="mp-itn">{{In the news}}</div> | |||
<h2 id="mp-otd-h2" class="mp-h2">On this day</h2> | |||
<div id="mp-otd">{{Wikipedia:Selected anniversaries/{{#time:F j}}}}</div> | |||
|} | |||
<!-- IF MONDAY OR FRIDAY, SHOW TFL -->{{#switch:{{CURRENTDAYNAME}}|Monday|Friday= | |||
<div id="mp-middle" class="MainPageBG mp-bordered"> | |||
<div id="mp-center"> | |||
<h2 id="mp-tfl-h2" class="mp-h2">From today's featured list</h2> | |||
<div id="mp-tfl">{{#ifexist:Wikipedia:Today's featured list/{{#time:F j, Y}}|{{Wikipedia:Today's featured list/{{#time:F j, Y}}}}|{{TFLempty}}}}</div> | |||
</div> | |||
</div>|}}<!-- END CONDITIONAL SHOW --> | |||
<div id="mp-lower" class="MainPageBG mp-bordered"> | |||
<div id="mp-bottom"> | |||
<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> | |||
</div> | |||
<div id="mp-other-lower" class="mp-bordered"> | |||
<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__ | |||
=Welcome to [[WikiLaw]]= | =Welcome to [[WikiLaw]]= | ||
Revision as of 08:36, 5 September 2021
<templatestyles src="Wikipedia:Main Page/styles.css" />
{{#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 ... |
In the newsOn this day{{Wikipedia:Selected anniversaries/{{#time:F j}}}}
|
{{#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}}||}}
Welcome to WikiLaw
the free source of legal articles and political profiles written for the people, by the people.