Template:CatWcolBackground: Difference between revisions
Jump to navigation
Jump to search
m (Helper module for CatWeight Templates... makes code much more readable.) |
mNo edit summary |
||
(14 intermediate revisions by the same user not shown) | |||
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 | ||
| grey = F9F9F9 | |||
| purple | | purple | ||
| misc | | misc | ||
| FAF0FF | | FAF0FF | ||
}}</includeonly><noinclude | }}</includeonly><noinclude>{{{{PAGENAME}}/doc}}[[Category:Category Weight|Helper]]</noinclude> | ||
Latest revision as of 17:56, 16 May 2009
Insert requested CatWeight background colour.
Syntax
The template can only have 1 parameter:
- {{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.