User:John rech knaik/common.js
Appearance
Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes. A guide to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. This code will be executed when previewing this page. |
The accompanying .css page for this skin can be added at User:John rech knaik/common.css. |
<!-- BANNER ACROSS TOP OF PAGE -->
{| id="mp-topbanner" style="width:100%; background:#f9f9f9; margin:1.2em 0 6px 0; border:1px solid #ddd;"
| style="width:61%; color:#000;" |
<!-- "WELCOME TO WIKIPEDIA" AND ARTICLE COUNT -->
{| style="width:280px; border:none; background:none;"
| style="width:280px; text-align:center; white-space:nowrap; color:#000;" |
<div style="font-size:162%; border:none; margin:0; padding:.1em; color:#000;">Welcome to [[Wikipedia]],</div>
<div style="top:+0.2em; font-size:95%;">the [[free content|free]] [[encyclopedia]] that [[Wikipedia:Introduction|anyone can edit]].</div>
<div id="articlecount" style="font-size:85%;">[[Special:Statistics|{{NUMBEROFARTICLES}}]] articles in [[English language|English]]</div>
|}
<!-- PORTAL LIST ON RIGHT-HAND SIDE -->
| style="width:13%; font-size:95%;" |
* [[Portal:Arts|Arts]]
* [[Portal:Biography|Biography]]
* [[Portal:Geography|Geography]]
| style="width:13%; font-size:95%;" |
* [[Portal:History|History]]
* [[Portal:Mathematics|Mathematics]]
* [[Portal:Science|Science]]
| style="width:13%; font-size:95%;" |
* [[Portal:Society|Society]]
* [[Portal:Technology|Technology]]
* '''[[Portal:Contents/Portals|All portals]]'''
|}
<!-- MAIN PAGE BANNER -->
{{#if:{{Main Page banner}}|
<table id="mp-banner" style="width: 100%; margin:4px 0 0 0; background:none; border-spacing: 0px;">
<tr><td class="MainPageBG" style="padding:2px 8px; background-color:#fffaf5; border:1px solid #f2e0ce; color:#000; font-size:100%;">{{Main Page banner}}
</td></tr>
</table>
}}
<!-- TODAY'S FEATURED CONTENT -->
{| id="mp-upper" style="width: 100%; margin:4px 0 0 0; background:none; border-spacing: 0px;"
<!-- TODAY'S FEATURED ARTICLE; DID YOU KNOW -->
| class="MainPageBG" style="width:55%; border:1px solid #cef2e0; background:#f5fffa; vertical-align:top; color:#000;" |
{| id="mp-left" style="width:100%; vertical-align:top; background:#f5fffa;"
| style="padding:2px;" | <h2 id="mp-tfa-h2" style="margin:3px; background:#cef2e0; font-family:inherit; font-size:120%; font-weight:bold; border:1px solid #a3bfb1; text-align:left; color:#000; padding:0.2em 0.4em;">{{#ifexpr:{{formatnum:{{PAGESIZE:Wikipedia:Today's featured article/{{#time:F j, Y}}}}|R}}>150|From today's featured article|Featured article <span style="font-size:85%; font-weight:normal;">(Check back later for today's.)</span>}}</h2>
|-
| style="color:#000;" | <div id="mp-tfa" style="padding:2px 5px">{{#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>
|-
| style="padding:2px;" | <h2 id="mp-dyk-h2" style="margin:3px; background:#cef2e0; font-family:inherit; font-size:120%; font-weight:bold; border:1px solid #a3bfb1; text-align:left; color:#000; padding:0.2em 0.4em;">Did you know...</h2>
|-
| style="color:#000; padding:2px 5px 5px;" | <div id="mp-dyk">{{Did you know}}</div>
|}
| style="border:1px solid transparent;" |
<!-- IN THE NEWS; ON THIS DAY -->
| class="MainPageBG" style="width:45%; border:1px solid #cedff2; background:#f5faff; vertical-align:top;"|
{| id="mp-right" style="width:100%; vertical-align:top; background:#f5faff;"
| style="padding:2px;" | <h2 id="mp-itn-h2" style="margin:3px; background:#cedff2; font-family:inherit; font-size:120%; font-weight:bold; border:1px solid #a3b0bf; text-align:left; color:#000; padding:0.2em 0.4em;">In the news</h2>
|-
| style="color:#000; padding:2px 5px;" | <div id="mp-itn">{{In the news}}</div>
|-
| style="padding:2px;" | <h2 id="mp-otd-h2" style="margin:3px; background:#cedff2; font-family:inherit; font-size:120%; font-weight:bold; border:1px solid #a3b0bf; text-align:left; color:#000; padding:0.2em 0.4em;">On this day...</h2>
|-
| style="color:#000; padding:2px 5px 5px;" | <div id="mp-otd">{{Wikipedia:Selected anniversaries/{{#time:F j}}}}</div>
|}
|}
<!-- TODAY'S FEATURED LIST --><!-- CONDITIONAL SHOW -->{{#switch:{{CURRENTDAYNAME}}|Monday|Friday=
<table id="mp-middle" style="width:100%; margin:4px 0 0 0; background:none; border-spacing: 0px;">
<tr>
<td class="MainPageBG" style="width:100%; border:1px solid #f2cedd; background:#fff5fa; vertical-align:top; color:#000;">
<table id="mp-center" style="width:100%; vertical-align:top; background:#fff5fa; color:#000;">
<tr>
<td style="padding:2px;"><h2 id="mp-tfl-h2" style="margin:3px; background:#f2cedd; font-family:inherit; font-size:120%; font-weight:bold; border:1px solid #bfa3af; text-align:left; color:#000; padding:0.2em 0.4em">From today's featured list</h2></td>
</tr><tr>
<td style="color:#000;"><div id="mp-tfl" style="padding:2px 5px;">{{#ifexist:Wikipedia:Today's featured list/{{#time:F j, Y}}|{{Wikipedia:Today's featured list/{{#time:F j, Y}}}}|{{TFLempty}}}}</div></td>
</tr>
</table>
</td>
</tr>
</table>|}}<!-- END CONDITIONAL SHOW -->
<!-- TODAY'S FEATURED PICTURE -->
{| id="mp-lower" style="margin:4px 0 0 0; width:100%; background:none; border-spacing: 0px;"
| class="MainPageBG" style="width:100%; border:1px solid #ddcef2; background:#faf5ff; vertical-align:top; color:#000;" |
{| id="mp-bottom" style="width:100%; vertical-align:top; background:#faf5ff; color:#000;"
| style="padding:2px;" | <h2 id="mp-tfp-h2" style="margin:3px; background:#ddcef2; font-family:inherit; font-size:120%; font-weight:bold; border:1px solid #afa3bf; text-align:left; color:#000; padding:0.2em 0.4em">{{#ifexist:Template:POTD protected/{{#time:Y-m-d}}|Today's featured picture | Featured picture <span style="font-size:85%; font-weight:normal;">(Check back later for today's.)</span>}}</h2>
|-
| style="color:#000; padding:2px;" | <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>
|}
|}
<!-- SECTIONS AT BOTTOM OF PAGE -->
<div id="mp-other" style="padding-top:4px; padding-bottom:2px;">
== Other areas of Wikipedia ==
{{Other areas of Wikipedia}}
</div><div id="mp-sister">
== Wikipedia's sister projects ==
{{Wikipedia's sister projects}}
</div><div id="mp-lang">
== Wikipedia languages ==
{{Wikipedia languages}}
</div>
<!-- INTERWIKI STRAPLINE -->
<noinclude>{{Main Page interwikis}}{{noexternallanglinks}}</noinclude>__NOTOC____NOEDITSECTION__