Template:Shortcut/styles.css and Template:MONTHNUMBER: Difference between pages

From Frontierpedia, the Microsoft Agent encyclopedia
(Difference between pages)
en>Pppery
(Adding protection template)
 
en>Amorymeltzer
m (Changed protection level for "Template:MONTHNUMBER": Allow template editor access, see Template:MONTHNAME ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite)))
 
Line 1: Line 1:
/* {{pp-template}} */
<includeonly>{{#if:{{{1|}}}
.module-shortcutboxplain {
|{{#switch:{{lc:{{{1}}}}}
float:right;
  |january|jan=1
border:1px solid #aaa;
  |february|feb=2
background:#fff;
  |march|mar=3
margin:0 0 0 1em;
  |apr|april=4
padding:.3em .6em .2em .6em;
  |may=5
text-align:center;
  |june|jun=6
font-size:85%;
  |july|jul=7
font-weight:bold
  |august|aug=8
}
  |september|sep|sept=9
 
  |october|oct=10
.module-shortcutlist {
  |november|nov=11
display:inline-block;
  |december|dec=12
border-bottom:1px solid #aaa;
  |{{#ifexpr:{{{1}}}<0
margin-bottom:.2em;
  |{{#ifexpr:(({{{1}}})round 0)!=({{{1}}})
font-weight: normal;
    |{{#expr:12-(((0.5-({{{1}}}))round 0)mod 12)}}
}
    |{{#expr:12-(((11.5-({{{1}}}))round 0)mod 12)}}
 
  }}
.module-shortcutanchordiv {
  |{{#expr:(((10.5+{{{1}}})round 0)mod 12)+1}}
position:relative;
  }}
top:-3em;
}}
}
|Missing required parameter 1=''month''!
}}</includeonly><noinclude>
{{Documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>

Revision as of 15:25, 17 December 2018