Template:CatWcolBackground: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#switch: {{{1}}} | <includeonly>{{#switch: {{{1}}} | ||
| yellow | | yellow | ||
| onoffSec | |||
| onoffSecOne | |||
| onoff = FFFFEF | | onoff = FFFFEF | ||
| red | | red | ||
| worstcaseSec | |||
| worstcase = FFEFEF | | worstcase = FFEFEF | ||
| green | | green | ||
| amountSec | |||
| amount = EFFFEF | | amount = EFFFEF | ||
| blue = EFEFFF | | blue = EFEFFF | ||
Line 14: | Line 18: | ||
;Syntax : <nowiki>{{CatWcolBackground|<colour>}}</nowiki> | ;Syntax : <nowiki>{{CatWcolBackground|<colour>}}</nowiki> | ||
<colour> = '''yellow''' | <colour> = '''yellow''' | ||
'''red''' | '''onoffSec''' | ||
'''green''' | '''onoffSecOne''' | ||
'''blue''' | '''onoff''' -> <span style="background:#FFFFEF; border:1px solid grey;">FFFFEF</span> | ||
'''purple''' | |||
'''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}} | ;Example : <nowiki>{{CatWcolBackground|blue}}</nowiki><br>{{CatWcolBackground|blue}} |
Revision as of 13:35, 4 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 purple misc (default) -> FAF0FF
- Example
- {{CatWcolBackground|blue}}
EFEFFF
- Used by the templates
- CatWeight, CatWeightInfo, CatWeightTable