Template:CatWcolFrame: Difference between revisions

From AniDB
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 11: Line 11:
  | 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'''
              '''onoffSec'''
              '''onoffSecOne'''
              '''onoff'''        ->  <span style="background:white; border:1px solid #CCCCA3;">CCCCA3</span>
              '''red'''
              '''worstcaseSec'''
              '''worstcase'''    ->  <span style="background:white; border:1px solid #CCA3A3;">CCA3A3</span>
              '''green'''
              '''amountSec'''
              '''amount'''      ->  <span style="background:white; border:1px solid #A3CCA3;">A3CCA3</span>
              '''blue'''        ->  <span style="background:white; border:1px solid #A3A3CC;">A3A3CC</span>
              '''purple'''
              '''misc'''   
            (default)    ->  <span style="background:white; border:1px solid #DFC8EC;">DFC8EC</span>
 
;Example : <nowiki>{{CatWcolFrame|blue}}</nowiki><br>{{CatWcolFrame|blue}}
 
;Used by the templates : CatWeight, CatWeightInfo, CatWeightTable
 
[[Category:Category Weight|Helper]]</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.