Template:CatWcolBackground: Difference between revisions

From AniDB
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(8 intermediate revisions by the same user not shown)
Line 11: Line 11:
  | amount = EFFFEF
  | amount = EFFFEF
  | blue = EFEFFF
  | blue = EFEFFF
| grey = F9F9F9
  | purple
  | purple
  | misc
  | misc
  | FAF0FF
  | FAF0FF
}}</includeonly><noinclude>
}}</includeonly><noinclude>{{{{PAGENAME}}/doc}}[[Category:Category Weight|Helper]]</noinclude>
;Info : Insert requested CatWeight '''background colour'''.
 
;Syntax : <nowiki>{{CatWcolBackground|<colour>}}</nowiki>
<colour>  =  '''yellow'''
              '''onoffSec'''
              '''onoffSecOne'''
              '''onoff'''        ->  <span style="background:#FFFFEF; border:1px solid grey;">FFFFEF</span>
              '''red'''
              '''worstcaseSec'''
              '''worstcase'''    ->  <span style="background:#FFEFEF; border:1px solid grey;">FFEFEF</span>
              '''green'''
              '''amountSec'''
              '''amount'''      ->  <span style="background:#EFFFEF; border:1px solid grey;">EFFFEF</span>
              '''blue'''        ->  <span style="background:#EFEFFF; border:1px solid grey;">EFEFFF</span>
              '''purple'''
              '''misc'''   
            (default)    ->  <span style="background:#FAF0FF; border:1px solid grey;">FAF0FF</span>
 
;Example : <nowiki>{{CatWcolBackground|blue}}</nowiki><br>{{CatWcolBackground|blue}}
 
;Used by the templates : CatWeight, CatWeightInfo, CatWeightTable
 
[[Category:Category Weight]]</noinclude>

Latest revision as of 17:56, 16 May 2009

Insert requested CatWeight background colour.

Syntax

The template can only have 1 parameter:

  1. {{CatWcolBackground|<colour>}} - Name of required 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

Usage

Used by the templates CatWeight, CatWeightInfo, and CatWeightTable.