Difference between revisions of "Template:RPG color"

From Action
Jump to navigation Jump to search
m (New template.)
 
m (Change to more legible color.)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>{{#switch: {{{1}}}
 
<includeonly>{{#switch: {{{1}}}
 
| #default                = <nowiki>#</nowiki>C6C9FF
 
| #default                = <nowiki>#</nowiki>C6C9FF
| Purple Dragon            = <nowiki>#</nowiki>800080
+
| Purple Dragon            = <nowiki>#</nowiki>C6C9FF
}}</includeonly><noinclude>{{template doc}}{{pp-semi-template|small=yes}}</noinclude>
+
}}</includeonly><noinclude>{{/doc}}</noinclude>

Latest revision as of 12:42, 7 January 2008

This template takes a campaign or game name as argument, and returns a color code for use in templates. The default is purpleish.