Template:CatWeight: Difference between revisions

From AniDB
Jump to navigation Jump to search
m (Swapped colours.... worst case is red, on/off yellow.)
m (CatWeight as alias for CatWeightTable template.)
Line 1: Line 1:
{{#switch: {{#if: {{{4|}}} | {{{1}}} | }}
{{#if: {{{4|}}}  
| 1 = :
| {{CatWeightTable|{{{1}}}|{{{2}}}|{{{3}}}|{{{4}}}}}
| 2 = ::
| {{CatWeightTable|0|{{{2}}}|{{{3}}}|{{{4}}}}}  
| 3 = :::
}}<noinclude>
| 4 = ::::
<!-- Technically CatWeight turned out to be a special one row case of CatWeightTable -->
| 5 = :::::
{{ {{TALKPAGENAME}} }}[[Category:Template]]</noinclude>
| 6 = ::::::
|
}}{| style="background:#{{#switch: {{#if: {{{4|}}} | {{{2}}} | {{{1}}} }}
| onoff = FFFFEF
| worstcase = FFEFEF
| amount = EFFFEF
| misc
| FAF0FF
}}; border:1px solid #{{#switch: {{#if: {{{4|}}} | {{{2}}} | {{{1}}} }}
| onoff = CCCCA3
| worstcase = CCA3A3
| 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 = CCCCA3
| worstcase = CCA3A3
| 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: {{{4|}}} | {{{3}}} | {{{2}}} }}
| 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: {{{4|}}} | {{{4}}} | {{{3}}}}}''
|}<noinclude>{{ {{TALKPAGENAME}} }}[[Category:Template]]</noinclude>

Revision as of 14:25, 4 May 2009

Category Weight     {{{4}}}

Template talk:CatWeight