Difference between revisions of "Template:Color"
Jump to navigation
Jump to search
(try the suggested #switch syntax) |
(Force the # symbol not to be interpreted) |
||
Line 1: | Line 1: | ||
<includeonly>{{#switch:{{{1}}} | <includeonly>{{#switch:{{{1}}}| | ||
blue=<nowiki>#7777ff</nowiki>| | |||
gray=<nowiki>#dddddd</nowiki>| | |||
green=<nowiki>#90ee90</nowiki>| | |||
red=<nowiki>#ff7777</nowiki>| | |||
yellow=<nowiki>#ffff77</nowiki>| | |||
{{{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:54, 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.