Template:CatWeight: Difference between revisions

no edit summary
m (CatWeight template now allows for colour coding, same as for CatWeightInfo template.)
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#switch: {{#if: {{{3|}}} | {{{1}}} | }}
<!-- Technically CatWeight turned out to be a special one row case of CatWeightTable --><includeonly>{{#if: {{{4|}}}  
| 1 = :
| {{CatWeightTable|{{{1}}}|{{{2}}}|{{{3}}}|{{{4}}}}}
| 2 = ::
| {{CatWeightTable|0|{{{1}}}|{{{2}}}|{{{3}}}}}  
| 3 = :::
}}</includeonly><noinclude>{{{{PAGENAME}}/doc}}[[Category:Category Weight]]</noinclude>
| 4 = ::::
| 5 = :::::
| 6 = ::::::
|
}}{| style="background:#{{#switch: {{#if: {{{4|}}} | {{{2}}} | {{{1}}} }}
| onoff = FFEFEF
| worstcase = FFFFEF
| amount = EFFFEF
| misc
| FAF0FF
}}; border:1px solid #{{#switch: {{#if: {{{4|}}} | {{{2}}} | {{{1}}} }}
| onoff = CCA3A3
| worstcase = CCCCA3
| amount = A3CCA3
| misc
| DFC8EC
}}; font-size:90%;"
| style="background:black; padding-bottom:2px; padding-left:8px; padding-right:8px; white-space:nowrap;" | <span style="color:white; font-weight:bold;">Category Weight</span>
| style="background:#{{#switch: {{#if: {{{4|}}} | {{{2}}} | {{{1}}} }}
| onoff = CCA3A3
| worstcase = CCCCA3
| amount = A3CCA3
| misc
| DFC8EC
}}; padding-bottom:2px; padding-left:8px; padding-right:8px; width:200px; white-space:nowrap;" | <span style="color:black; font-weight:bold;"><tt>{{#switch: {{#if: {{{3|}}} | {{{2}}} | {{{1}}} }}
| 1 = +&nbsp;&nbsp;
| 2 = &#42;&nbsp;&nbsp;
| 3 = &#42;+&nbsp;
| 4 = &#42;&#42;&nbsp;
| 5 = &#42;&#42;+
| 6 = &#42;&#42;&#42;
| 1-5 = + to &#42;&#42;+
| 1-6 = + to &#42;&#42;&#42;
| &nbsp;&nbsp;&nbsp;
}}</tt></span>
| style="padding: 2px; width: 100%;" | ''{{#if: {{{3|}}} | {{{3}}} | {{{2}}}}}''
|}<noinclude>{{ {{TALKPAGENAME}} }}[[Category:Template]]</noinclude>
staff
2,096

edits

MediaWiki spam blocked by CleanTalk.
MediaWiki spam blocked by CleanTalk.