Template:CatWcolBackground: Difference between revisions

From AniDB
Jump to navigation Jump to search
m (Added grey.)
mNo edit summary
Line 30: Line 30:
               '''green'''
               '''green'''
               '''amountSec'''
               '''amountSec'''
               '''amount'''      ->  <span style="background:#{{CatWcolBackground|green}}; border:1px solid grey;">{{CatWcolBackground|yellow}}</span>
               '''amount'''      ->  <span style="background:#{{CatWcolBackground|green}}; border:1px solid grey;">{{CatWcolBackground|green}}</span>
   
   
               '''blue'''        ->  <span style="background:#{{CatWcolBackground|blue}}; border:1px solid grey;">{{CatWcolBackground|yellow}}</span>
               '''blue'''        ->  <span style="background:#{{CatWcolBackground|blue}}; border:1px solid grey;">{{CatWcolBackground|blue}}</span>
   
   
               '''grey'''        ->  <span style="background:#{{CatWcolBackground|grey}}; border:1px solid grey;">{{CatWcolBackground|yellow}}</span>
               '''grey'''        ->  <span style="background:#{{CatWcolBackground|grey}}; border:1px solid grey;">{{CatWcolBackground|grey}}</span>
   
   
               '''purple'''  
               '''purple'''  

Revision as of 15:59, 6 May 2009

Info
Insert requested CatWeight background colour.
Syntax
{{CatWcolBackground|<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
Used by the templates
CatWeight, CatWeightInfo, CatWeightTable