Template:Main page image/DYK: Difference between revisions

From EMC23 - Satellite Of Love
Jump to navigation Jump to search
(Created page with "<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,</...")
 
mNo edit summary
 
Line 1: Line 1:
<templatestyles src="Wikipedia:Main Page/styles.css" />
<div class="dyk-img" style="float: right; margin-left: 0.5em;">
<div id="mp-topbanner" class="mp-bordered">
{{Main page image
<div id="mp-welcomecount">
| image        = {{{image|<noinclude>Example-serious.jpg</noinclude>}}}
<div id="mp-welcome">Welcome to [[Wikipedia]],</div>
| link          = {{{link|}}}
<div id="mp-free">the [[free content|free]] [[encyclopedia]] that [[Help:Introduction to Wikipedia|anyone can edit]].</div>
| border        = {{{border|}}}
<div id="articlecount">[[Special:Statistics|{{NUMBEROFARTICLES}}]] articles in [[English language|English]]</div>
| width        = {{{width|{{#invoke:Main_page_image|width|{{Remove file prefix|{{{image|{{{1<noinclude>|Example-serious.jpg</noinclude>}}}}}}}}}}}}}
</div>
| caption      = {{{caption|<noinclude>Caption goes here.</noinclude>}}}
<ul id="mp-portals">
| caption align = {{{caption align|}}}
<li>[[Portal:The arts|The arts]]</li>
| title        =  {{{title|}}}
<li class="portal-vmid">[[Portal:Biography|Biography]]</li>
| alt          = {{{alt|}}}
<li class="portal-vbot">[[Portal:Geography|Geography]]</li>
}}</div><noinclude>
<li class="portal-hmid">[[Portal:History|History]]</li>
{{Documentation}}
<li class="portal-hmid portal-vmid">[[Portal:Mathematics|Mathematics]]</li>
</noinclude>
<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&nbsp;...</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&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>
<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__

Latest revision as of 21:01, 27 August 2021