Template:CatWcolFrame: Difference between revisions

From AniDB
Jump to navigation Jump to search
mNo edit summary
m (Added grey.)
Line 11: Line 11:
  | amount = A3CCA3
  | amount = A3CCA3
  | blue = A3A3CC
  | blue = A3A3CC
| grey = AAAAAA
  | purple
  | purple
  | misc
  | misc
Line 17: Line 18:
;Info : Insert requested CatWeight '''frame colour'''.
;Info : Insert requested CatWeight '''frame colour'''.


;Syntax : <nowiki>{{CatWcolFrame|<colour>}}</nowiki>
;Syntax : {{m|CatWcolFrame{{!}}<colour>}}
  <colour>  =  '''yellow'''
  <colour>  =  '''yellow'''
               '''onoffSec'''
               '''onoffSec'''
               '''onoffSecOne'''
               '''onoffSecOne'''
               '''onoff'''        ->  <span style="background:white; border:1px solid #CCCCA3;">CCCCA3</span>
               '''onoff'''        ->  <span style="background:white; border:2px solid #{{CatWcolFrame|yellow}};"> {{CatWcolFrame|yellow}} </span>
   
   
               '''red'''
               '''red'''
               '''worstcaseSec'''
               '''worstcaseSec'''
               '''worstcase'''    ->  <span style="background:white; border:1px solid #CCA3A3;">CCA3A3</span>
               '''worstcase'''    ->  <span style="background:white; border:2px solid #{{CatWcolFrame|red}};"> {{CatWcolFrame|red}} </span>
   
   
               '''green'''
               '''green'''
               '''amountSec'''
               '''amountSec'''
               '''amount'''      ->  <span style="background:white; border:1px solid #A3CCA3;">A3CCA3</span>
               '''amount'''      ->  <span style="background:white; border:2px solid #{{CatWcolFrame|green}};"> {{CatWcolFrame|green}} </span>
   
   
               '''blue'''        ->  <span style="background:white; border:1px solid #A3A3CC;">A3A3CC</span>
               '''blue'''        ->  <span style="background:white; border:2px solid #{{CatWcolFrame|blue}};"> {{CatWcolFrame|blue}} </span>
              '''grey'''        ->  <span style="background:white; border:2px solid #{{CatWcolFrame|grey}};"> {{CatWcolFrame|grey}} </span>
   
   
               '''purple'''  
               '''purple'''  
               '''misc'''     
               '''misc'''     
             (default)    ->  <span style="background:white; border:1px solid #DFC8EC;">DFC8EC</span>
             (default)    ->  <span style="background:white; border:2px solid #{{CatWcolFrame|}};"> {{CatWcolFrame|}} </span>


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

Revision as of 16:11, 6 May 2009

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