Template:CatWcolFrame: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (Expanded list of <colour> parameter names.) |
||
Line 1: | Line 1: | ||
<includeonly>{{#switch: {{{1}}} | <includeonly>{{#switch: {{{1}}} | ||
| yellow | | yellow | ||
| onoffSec | |||
| onoffSecOne | |||
| onoff = CCCCA3 | | onoff = CCCCA3 | ||
| red | | red | ||
| worstcaseSec | |||
| worstcase = CCA3A3 | | worstcase = CCA3A3 | ||
| green | | green | ||
| amountSec | |||
| amount = A3CCA3 | | amount = A3CCA3 | ||
| blue = A3A3CC | | blue = A3A3CC | ||
Line 14: | Line 18: | ||
;Syntax : <nowiki>{{CatWcolFrame|<colour>}}</nowiki> | ;Syntax : <nowiki>{{CatWcolFrame|<colour>}}</nowiki> | ||
<colour> = '''yellow''' | <colour> = '''yellow''' | ||
'''red''' | '''onoffSec''' | ||
'''green''' | '''onoffSecOne''' | ||
'''blue''' | '''onoff''' -> <span style="background:white; border:1px solid #CCCCA3;">CCCCA3</span> | ||
'''purple''' | |||
'''red''' | |||
'''worstcaseSec''' | |||
'''worstcase''' -> <span style="background:white; border:1px solid #CCA3A3;">CCA3A3</span> | |||
'''green''' | |||
'''amountSec''' | |||
'''amount''' -> <span style="background:white; border:1px solid #A3CCA3;">A3CCA3</span> | |||
'''blue''' -> <span style="background:white; border:1px solid #A3A3CC;">A3A3CC</span> | |||
'''purple''' | |||
'''misc''' | |||
(default) -> <span style="background:white; border:1px solid #DFC8EC;">DFC8EC</span> | |||
;Example : <nowiki>{{CatWcolFrame|blue}}</nowiki><br>{{CatWcolFrame|blue}} | ;Example : <nowiki>{{CatWcolFrame|blue}}</nowiki><br>{{CatWcolFrame|blue}} |
Revision as of 13:43, 4 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 purple misc (default) -> DFC8EC
- Example
- {{CatWcolFrame|blue}}
A3A3CC
- Used by the templates
- CatWeight, CatWeightInfo, CatWeightTable