Difference between revisions of "Template:Color"
Jump to navigation
Jump to search
(Move the color selection to its own template) |
(try the suggested #switch syntax) |
||
Line 1: | Line 1: | ||
<includeonly>{{#switch:{{{1}}}| | <includeonly>{{#switch:{{{1}}} | ||
blue=#7777ff| | | blue=#7777ff | ||
gray=#dddddd| | | gray=#dddddd | ||
green=#90ee90| | | green=#90ee90 | ||
red=#ff7777| | | red=#ff7777 | ||
yellow=#ffff77| | | yellow=#ffff77 | ||
{{{1}}} | | {{{1}}} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
This template returns the palette of colors common to most pages of this wiki. | This template returns the palette of colors common to most pages of this wiki. |
Revision as of 13:42, 21 September 2009
This template returns the palette of colors common to most pages of this wiki.
Usage
{{Color|your color}}
Special colors are: blue, gray, green, red and yellow. Any other value will be used as is.