Open main menu

Difference between revisions of "Template:Color"

86 bytes added ,  23:18, 22 September 2009
m
Fix the handling of empty arguments
(Move the color selection to its own template)
 
m (Fix the handling of empty arguments)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#switch:{{{1}}}|
<includeonly>{{#switch:{{{1}}}|
blue=#7777ff|
blue=<nowiki>#7777ff</nowiki>|
gray=#dddddd|
gray=<nowiki>#dddddd</nowiki>|
green=#90ee90|
green=<nowiki>#90ee90</nowiki>|
red=#ff7777|
red=<nowiki>#ff7777</nowiki>|
yellow=#ffff77|
yellow=<nowiki>#ffff77</nowiki>|
{{{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.
960

edits