Template:CatWeightInfo: Difference between revisions

From AniDB
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{#switch: {{{1}}}
{| cellspacing="0" cellpadding="0" style="{{#switch: {{#if: {{{2|}}} | {{{2}}} | }}
| 1 = :
  | left = clear:left;
| 2 = ::
  | right = clear:right;
| 3 = :::
| 4 = ::::
  | 5 = :::::
  | 6 = ::::::
  |
  |
}}{{{!}}  style="background:#{{#switch: {{{2}}}
}} {{#switch: {{#if: {{{2|}}} | {{{2}}} | }}
  | red
| left = float:left;
| right = float:right;
  |
}} {{#switch: {{#if: {{{2|}}} | {{{2}}} | }}
| left =  margin-bottom:.5em; padding: .5em 1.4em .5em 0;
| right = margin-bottom:.5em; padding: .5em 0 .5em 1.4em;
|
}}"
|
{| style="background:#{{#switch: {{{1}}}
  | onoffSec
| onoffSecOne
  | onoff = FFEFEF
  | onoff = FFEFEF
  | yellow
  | worstcaseSec
  | worstcase = FFFFEF
  | worstcase = FFFFEF
  | green
  | amountSec
  | amount = EFFFEF
  | amount
  | blue = EFEFFF
  | EFFFEF
| purple
}}; border:1px solid #{{#switch: {{{1}}}
| misc
  | onoffSec
| FAF0FF
  | onoffSecOne
}}; border:1px solid #{{#switch: {{{2}}}
| red
| onoff = CCA3A3
| yellow
| worstcase = CCCCA3
| green
| amount = A3CCA3
| blue = A3A3CC
| purple
| misc
| DFC8EC
}};"
{{!}}  style="background:black; padding:2px 8px;"    {{!}}  <span style="color:white; font-weight:bold;">Category&nbsp;Weight</span>
{{!}}  style="background:#{{#switch: {{{2}}}
| red
| onoff = CCA3A3
| yellow
| worstcase = CCCCA3
| green
| amount = A3CCA3
| blue = A3A3CC
| purple
| misc
| DFC8EC
}}; padding:2px 8px;"  {{!}}  <span style="color:black; font-weight:bold;"><tt>{{{3}}}</tt></span>
{{!}}  style="padding:2px 8px; vertical-align:center;" {{!}}  ''{{{4}}}''
{{#if: {{{6|}}} |
{{!}}-
{{!}} style="" {{!}} &nbsp;
{{!}} style="background:#{{#switch: {{{2}}}
| red
| onoff = CCA3A3
| yellow
| worstcase = CCCCA3
| green
| amount = A3CCA3
| blue = A3A3CC
| purple
| misc
| DFC8EC
}}; padding:2px 8px;" {{!}} <span style="color:black; font-weight:bold;"><tt>{{{5}}}</tt></span>
{{!}} style="padding:2px 8px; vertical-align:center;" {{!}} ''{{{6}}}'' }}
{{#if: {{{8|}}} |
{{!}}-
{{!}} style="" {{!}} &nbsp;
{{!}} style="background:#{{#switch: {{{2}}}
| red
| onoff = CCA3A3
| yellow
| worstcase = CCCCA3
| green
| amount = A3CCA3
| blue = A3A3CC
| purple
| misc
| DFC8EC
}}; padding:2px 8px;" {{!}} <span style="color:black; font-weight:bold;"><tt>{{{7}}}</tt></span>
{{!}} style="padding:2px 8px; vertical-align:center;" {{!}} ''{{{8}}}'' }}
{{#if: {{{10|}}} |
{{!}}-
{{!}} style="" {{!}} &nbsp;
{{!}} style="background:#{{#switch: {{{2}}}
  | red
| onoff = CCA3A3
| yellow
| worstcase = CCCCA3
| green
| amount = A3CCA3
| blue = A3A3CC
| purple
| misc
| DFC8EC
}}; padding:2px 8px;" {{!}} <span style="color:black; font-weight:bold;"><tt>{{{9}}}</tt></span>
{{!}} style="padding:2px 8px; vertical-align:center;" {{!}} ''{{{10}}}'' }}
{{#if: {{{12|}}} |
{{!}}-
{{!}} style="" {{!}} &nbsp;
{{!}} style="background:#{{#switch: {{{2}}}
  | red
  | onoff = CCA3A3
  | onoff = CCA3A3
  | yellow
  | worstcaseSec
  | worstcase = CCCCA3
  | worstcase = CCCCA3
  | green
  | amountSec
  | amount = A3CCA3
  | amount
  | blue = A3A3CC
  | A3CCA3
| purple
}}; width:180px; font-size:90%;"
| misc
| style="background:black; padding:2px; text-align:center;"   | <span style="color:white; font-weight:bold;">Category Weight</span>
| DFC8EC
| style="background:#{{#switch: {{{1}}}
}}; padding:2px 8px;" {{!}} <span style="color:black; font-weight:bold;"><tt>{{{11}}}</tt></span>
  | onoffSec
{{!}} style="padding:2px; vertical-align:center;" {{!}} ''{{{12}}}'' }}
| onoffSecOne
{{#if: {{{14|}}} |
{{!}}-
{{!}} style="" {{!}} &nbsp;
{{!}} style="background:#{{#switch: {{{2}}}
  | red
  | onoff = CCA3A3
  | onoff = CCA3A3
  | yellow
  | worstcaseSec
  | worstcase = CCCCA3
  | worstcase = CCCCA3
  | green
  | amountSec
  | amount = A3CCA3
  | amount
  | blue = A3A3CC
  | A3CCA3
| purple
}}; padding:2px;" | <span style="color:black; font-weight:bold;"><tt>{{#switch: {{{1}}}
| misc
| onoffSec
| DFC8EC
| onoffSecOne
}}; padding:2px 8px;" {{!}} <span style="color:black; font-weight:bold;"><tt>{{{13}}}</tt></span>
| onoff = - or &#42;&#42;&#42;
{{!}} style="padding:2px 8px; vertical-align:center;" {{!}} ''{{{14}}}'' }}
| worstcaseSec
{{!}}}<noinclude>{{ {{TALKPAGENAME}} }}[[Category:Template]]</noinclude>
| worstcase
| amountSec
| amount
| + to &#42;&#42;&#42;
}}</tt></span>
|-
| style="padding:2px; text-align:center;" colspan="2" | ''{{#switch: {{{1}}}
| onoff =  If applicable, this category should be weighted with '''<tt>***</tt>''' (on). Otherwise do '''not''' set it at all!
| onoffSec = If one or more categories in this section are applicable they should be weighted with '''<tt>***</tt>''' (on). Otherwise do '''not''' set them!
| onoffSecOne = Only '''one''' of the categories in this section is applicable and should be weighted with '''<tt>***</tt>''' (on). Otherwise do '''not''' set any of them!
| worstcase = If applicable, choose a weight between '''<tt>+</tt>''' (slight) to '''<tt>***</tt>''' (exces- sive) describing the '''worst case''' of category occurrence in the anime.
| worstcaseSec = For all the categories in this section choose (if applicable) a weight between '''<tt>+</tt>''' (slight) to '''<tt>***</tt>''' (excessive) describing the '''worst case''' of specific category occurrence in the anime.
| amountSec = For all the categories in this section choose (if applicable) a weight between '''<tt>+</tt>''' (seldom) to '''<tt>***</tt>''' (abundant) denoting '''how often''' the specific category occurs in the anime.
| amount
| If applicable, choose a weight between '''<tt>+</tt>''' (seldom) to '''<tt>***</tt>''' (abundant) denoting '''how often''' the category occurs in the anime.
}}''
|}
|}<noinclude>{{ {{TALKPAGENAME}} }}[[Category:Template]]</noinclude>

Revision as of 16:40, 2 May 2009

Category Weight + to ***
If applicable, choose a weight between + (seldom) to *** (abundant) denoting how often the category occurs in the anime.

Template talk:CatWeightInfo