Template:CatWcolBackground: Difference between revisions

From AniDB
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 22: Line 22:
               '''onoffSec'''
               '''onoffSec'''
               '''onoffSecOne'''
               '''onoffSecOne'''
               '''onoff'''        ->  <span style="background:#{{CatWcolBackground|yellow}}; border:1px solid grey;">{{CatWcolBackground|yellow}}</span>
               '''onoff'''        ->  <span style="background:#{{CatWcolBackground|yellow}}; border:1px solid grey; width:100px;">{{CatWcolBackground|yellow}}</span>
   
   
               '''red'''
               '''red'''
               '''worstcaseSec'''
               '''worstcaseSec'''
               '''worstcase'''    ->  <span style="background:#{{CatWcolBackground|red}}; border:1px solid grey;">{{CatWcolBackground|red}}</span>
               '''worstcase'''    ->  <span style="background:#{{CatWcolBackground|red}}; border:1px solid grey; width:100px;">{{CatWcolBackground|red}}</span>
   
   
               '''green'''
               '''green'''
               '''amountSec'''
               '''amountSec'''
               '''amount'''      ->  <span style="background:#{{CatWcolBackground|green}}; border:1px solid grey;">{{CatWcolBackground|green}}</span>
               '''amount'''      ->  <span style="background:#{{CatWcolBackground|green}}; border:1px solid grey; width:100px;">{{CatWcolBackground|green}}</span>
   
   
               '''blue'''        ->  <span style="background:#{{CatWcolBackground|blue}}; border:1px solid grey;">{{CatWcolBackground|blue}}</span>
               '''blue'''        ->  <span style="background:#{{CatWcolBackground|blue}}; border:1px solid grey; width:100px;">{{CatWcolBackground|blue}}</span>
   
   
               '''grey'''        ->  <span style="background:#{{CatWcolBackground|grey}}; border:1px solid grey;">{{CatWcolBackground|grey}}</span>
               '''grey'''        ->  <span style="background:#{{CatWcolBackground|grey}}; border:1px solid grey; width:100px;">{{CatWcolBackground|grey}}</span>
   
   
               '''purple'''  
               '''purple'''  
               '''misc'''     
               '''misc'''     
             (default)    ->  <span style="background:#{{CatWcolBackground|purple}}; border:1px solid grey;">{{CatWcolBackground|purple}}</span>
             (default)    ->  <span style="background:#{{CatWcolBackground|purple}}; border:1px solid grey; width:100px;">{{CatWcolBackground|purple}}</span>


;Example : <nowiki>{{CatWcolBackground|blue}}</nowiki><br>{{CatWcolBackground|blue}}
;Example : <nowiki>{{CatWcolBackground|blue}}</nowiki><br>{{CatWcolBackground|blue}}

Revision as of 16:02, 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