Difference between revisions of "Template:AlignBGcolor"

From Ouroboros Portal
Jump to: navigation, search
(Created page with "{{#switch: {{lc|{{{1}}}}} |r |rogue |v |vill |villain=darkred |#default=grey }}<noinclude>{{documentation}}</noinclude>")
 
m
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{#switch: {{lc|{{{1}}}}}
+
{{#switch: {{lc:{{{1}}}}}
|r
+
|h
 +
|hero
 +
|vig
 +
|vigilante=darkblue
 +
|ro
 
|rogue
 
|rogue
 
|v
 
|v
 
|vill
 
|vill
 
|villain=darkred
 
|villain=darkred
 +
|l
 +
|loy
 +
|loyalist
 +
|re
 +
|res
 +
|resistance=goldenrod
 
|#default=grey
 
|#default=grey
 
}}<noinclude>{{documentation}}</noinclude>
 
}}<noinclude>{{documentation}}</noinclude>

Latest revision as of 07:42, 4 June 2011

grey
[edit] Documentation

Usage

This template takes a single, unnamed parameter and returns a background color. It is called by the CharInfo template.