Template:CatWcolFrame: Difference between revisions

From AniDB
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#switch: {{{1}}}
<includeonly>{{#switch: {{{1}}}
  | yellow
  | yellow
| onoffSec
| onoffSecOne
  | onoff = CCCCA3
  | onoff = CCCCA3
  | red
  | red
| worstcaseSec
  | worstcase = CCA3A3
  | worstcase = CCA3A3
  | green
  | green
| amountSec
  | amount = A3CCA3
  | amount = A3CCA3
  | blue = A3A3CC
  | blue = A3A3CC
| grey = AAAAAA
  | purple
  | purple
  | misc
  | misc
  | DFC8EC
  | DFC8EC
}}</includeonly><noinclude>
}}</includeonly><noinclude>{{{{PAGENAME}}/doc}}[[Category:Category Weight|Helper]]</noinclude>
;Info : Insert requested CatWeight '''frame colour'''.
 
;Syntax : <nowiki>{{CatWcolFrame|<colour>}}</nowiki>
<colour>  =  '''yellow''', '''onoff'''  ->  CCCCA3
              '''red''', '''worstcase'''  ->  CCA3A3
              '''green''', '''amount'''  ->  A3CCA3
              '''blue'''            ->  A3A3CC
              '''purple''', '''misc'''    ->  DFC8EC  (default)
 
;Example : <nowiki>{{CatWcolFrame|blue}}</nowiki><br>{{CatWcolFrame|blue}}
 
;Used by the templates : CatWeight, CatWeightInfo, CatWeightTable
 
[[Category:Template]]</noinclude>

Latest revision as of 18:06, 16 May 2009

Insert requested CatWeight frame colour.

Syntax

The template can only have 1 parameter:

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

             red
             worstcaseSec
             worstcase    ->   CCA3A3 

             green
             amountSec
             amount       ->   A3CCA3 

             blue         ->   A3A3CC 

             grey         ->   AAAAAA 

             purple 
             misc    
            (default)     ->   DFC8EC 

Example

{{CatWcolFrame|blue}}

A3A3CC

Usage

Used by the templates Template:CatWeight, Template:CatWeightInfo and Template:CatWeightTable.