Template:CatWcolBackground: Difference between revisions

From AniDB
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#switch: {{{1}}}
<includeonly>{{#switch: {{{1}}}
  | yellow
  | yellow
| onoffSec
| onoffSecOne
  | onoff = FFFFEF
  | onoff = FFFFEF
  | red
  | red
| worstcaseSec
  | worstcase = FFEFEF
  | worstcase = FFEFEF
  | green
  | green
| amountSec
  | amount = EFFFEF
  | amount = EFFFEF
  | blue = EFEFFF
  | blue = EFEFFF
| grey = F9F9F9
  | purple
  | purple
  | misc
  | misc
  | FAF0FF
  | FAF0FF
}}</includeonly><noinclude>
}}</includeonly><noinclude>{{{{PAGENAME}}/doc}}[[Category:Category Weight|Helper]]</noinclude>
;Info : Insert requested CatWeight background colour.
 
;Syntax : <nowiki>{{CatWcolBackground|<color>}}</nowiki>
 
;Example : <nowiki>{{CatWcolBackground|blue}}</nowiki>
{{CatWcolBackground|blue}}
 
;Used by the templates : CatWeight, CatWeightInfo, CatWeightTable
 
[[Category:Template]]</noinclude>

Latest revision as of 17:56, 16 May 2009

Insert requested CatWeight background colour.

Syntax

The template can only have 1 parameter:

  1. {{CatWcolBackground|<colour>}} - Name of required colour.
<colour>  =  yellow
             onoffSec
             onoffSecOne
             onoff        ->   FFFFEF 

             red
             worstcaseSec
             worstcase    ->   FFEFEF 

             green
             amountSec
             amount       ->   EFFFEF 

             blue         ->   EFEFFF 

             grey         ->   F9F9F9 

             purple 
             misc    
            (default)     ->   FAF0FF 

Example

{{CatWcolBackground|blue}}

EFEFFF

Usage

Used by the templates CatWeight, CatWeightInfo, and CatWeightTable.