Difference between revisions of "Main Page"

From WikiRug
Jump to navigation Jump to search
Line 24: Line 24:
 
<!--        TODAY'S FEATURED ARTICLE; DID YOU KNOW        -->
 
<!--        TODAY'S FEATURED ARTICLE; DID YOU KNOW        -->
 
| id="mp-left" class="MainPageBG" style="width:55%; border:1px solid #cef2e0; padding:0; background:#f5fffa; vertical-align:top; color:#000;" |
 
| id="mp-left" class="MainPageBG" style="width:55%; border:1px solid #cef2e0; padding:0; background:#f5fffa; vertical-align:top; color:#000;" |
 +
<h2 id="mp-tfa-h2" style="margin:0.5em; background:#cef2e0; font-family:inherit; font-size:120%; font-weight:bold; border:1px solid #a3bfb1; color:#000; padding:0.2em 0.4em;">{{#ifexpr:{{formatnum:{{PAGESIZE:WikiRug: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>
 +
<div id="mp-tfa" style="padding:0.1em 0.6em;">{{#ifexpr:{{formatnum:{{PAGESIZE:WikiRug:Today's featured article/{{#time:F j, Y}}}}|R}}>150|{{WikiRug:Today's featured article/{{#time:F j, Y}}}}|{{WikiRug:Today's featured article/{{#time:F j, Y|-1 day}}}}}}</div>
 
<h2 id="mp-dyk-h2" style="clear:both; margin:0.5em; background:#cef2e0; font-family:inherit; font-size:120%; font-weight:bold; border:1px solid #a3bfb1; color:#000; padding:0.2em 0.4em;">Did you know...</h2>
 
<h2 id="mp-dyk-h2" style="clear:both; margin:0.5em; background:#cef2e0; font-family:inherit; font-size:120%; font-weight:bold; border:1px solid #a3bfb1; color:#000; padding:0.2em 0.4em;">Did you know...</h2>
<div id="mp-dyk" style="padding:0.1em 0.6em 0.5em;">
+
<div id="mp-dyk" style="padding:0.1em 0.6em 0.5em;">{{Did you know}}</div>
<p>A rug or carpet is a textile floor covering typically consisting of an upper layer of pile attached to a backing. The pile was traditionally made from wool, but, since the 20th century, synthetic fibers such as polypropylene, nylon or polyester are often used, as these fibers are less expensive than wool. The pile usually consists of twisted tufts which are typically heat-treated to maintain their structure. The term "carpet" is often used interchangeably with the term "rug", although the term "carpet" can be applied to a floor covering that covers an entire house, whereas a "rug" is generally no bigger than a single room, and traditionally does not even span from one wall to another, and is typically not even attached as part of the floor.</p>
 
</div>
 
 
| style="border:1px solid transparent;" |
 
| style="border:1px solid transparent;" |
 
<!--        IN THE NEWS and ON THIS DAY        -->
 
<!--        IN THE NEWS and ON THIS DAY        -->
Line 36: Line 36:
 
<div id="mp-otd" style="padding:0.1em 0.6em 0.5em;">{{WikiRug:Selected anniversaries/{{#time:F j}}}}</div>
 
<div id="mp-otd" style="padding:0.1em 0.6em 0.5em;">{{WikiRug:Selected anniversaries/{{#time:F j}}}}</div>
 
|}
 
|}
<!--        TODAY'S FEATURED LIST        --><!-- CONDITIONAL SHOW -->{{#switch:{{CURRENTDAYNAME}}|Monday|Friday=
 
<div id="mp-middle" class="MainPageBG" style="margin-top:4px; border:1px solid #f2cedd; background:#fff5fa; overflow:auto;">
 
<div id="mp-center">
 
<h2 id="mp-tfl-h2" style="margin:0.5em; background:#f2cedd; font-family:inherit; font-size:120%; font-weight:bold; border:1px solid #bfa3af; color:#000; padding:0.2em 0.4em">From today's featured list</h2>
 
<div id="mp-tfl" style="padding:0.3em 0.7em;">{{#ifexist:WikiRug:Today's featured list/{{#time:F j, Y}}|{{WikiRug:Today's featured list/{{#time:F j, Y}}}}|{{TFLempty}}}}</div>
 
</div>
 
 
</div>|}}<!-- END CONDITIONAL SHOW -->
 
</div>|}}<!-- END CONDITIONAL SHOW -->
  

Revision as of 11:27, 1 July 2019

|}}