Template:CatWcolFrame: Difference between revisions

From AniDB
Jump to navigation Jump to search
m (Helper module for CatWeight Templates... makes code much more readable.)
 
mNo edit summary
Line 13: Line 13:
;Info : Insert requested CatWeight '''frame colour'''.
;Info : Insert requested CatWeight '''frame colour'''.


;Syntax : <nowiki>{{CatWcolFrame|<color>}}</nowiki>
;Syntax : <nowiki>{{CatWcolFrame|<colour>}}</nowiki>
<colour>  =  '''yellow''', '''onoff'''  ->  CCCCA3
              '''red''', '''worstcase'''  ->  CCA3A3
              '''green''', '''amount'''  ->  A3CCA3
              '''blue'''            ->  A3A3CC
              '''purple''', '''misc'''    ->  DFC8EC  (default)


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


;Used by the templates : CatWeight, CatWeightInfo, CatWeightTable
;Used by the templates : CatWeight, CatWeightInfo, CatWeightTable


[[Category:Template]]</noinclude>
[[Category:Template]]</noinclude>

Revision as of 10:40, 4 May 2009

Info
Insert requested CatWeight frame colour.
Syntax
{{CatWcolFrame|<colour>}}
<colour>  =  yellow, onoff   ->  CCCCA3
             red, worstcase  ->  CCA3A3
             green, amount   ->  A3CCA3
             blue            ->  A3A3CC
             purple, misc    ->  DFC8EC  (default)
Example
{{CatWcolFrame|blue}}
A3A3CC
Used by the templates
CatWeight, CatWeightInfo, CatWeightTable