Template:CatWcolBackground: Difference between revisions

From AniDB
Jump to navigation Jump to search
mNo edit summary
m (Added grey.)
Line 11: Line 11:
  | amount = EFFFEF
  | amount = EFFFEF
  | blue = EFEFFF
  | blue = EFEFFF
| grey = F9F9F9
  | purple
  | purple
  | misc
  | misc
Line 21: Line 22:
               '''onoffSec'''
               '''onoffSec'''
               '''onoffSecOne'''
               '''onoffSecOne'''
               '''onoff'''        ->  <span style="background:#FFFFEF; border:1px solid grey;">FFFFEF</span>
               '''onoff'''        ->  <span style="background:#{{CatWcolBackground|yellow}}; border:1px solid grey;">{{CatWcolBackground|yellow}}</span>
   
   
               '''red'''
               '''red'''
               '''worstcaseSec'''
               '''worstcaseSec'''
               '''worstcase'''    ->  <span style="background:#FFEFEF; border:1px solid grey;">FFEFEF</span>
               '''worstcase'''    ->  <span style="background:#{{CatWcolBackground|red}}; border:1px solid grey;">{{CatWcolBackground|red}}</span>
   
   
               '''green'''
               '''green'''
               '''amountSec'''
               '''amountSec'''
               '''amount'''      ->  <span style="background:#EFFFEF; border:1px solid grey;">EFFFEF</span>
               '''amount'''      ->  <span style="background:#{{CatWcolBackground|green}}; border:1px solid grey;">{{CatWcolBackground|yellow}}</span>
   
   
               '''blue'''        ->  <span style="background:#EFEFFF; border:1px solid grey;">EFEFFF</span>
               '''blue'''        ->  <span style="background:#{{CatWcolBackground|blue}}; border:1px solid grey;">{{CatWcolBackground|yellow}}</span>
              '''grey'''        ->  <span style="background:#{{CatWcolBackground|grey}}; border:1px solid grey;">{{CatWcolBackground|yellow}}</span>
   
   
               '''purple'''  
               '''purple'''  

Revision as of 15:57, 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       ->  FFFFEF

             blue         ->  FFFFEF

             grey         ->  FFFFEF

             purple 
             misc    
            (default)     ->  FAF0FF
Example
{{CatWcolBackground|blue}}
EFEFFF
Used by the templates
CatWeight, CatWeightInfo, CatWeightTable