Difference between revisions of "Template:AlignBGcolor"

From Ouroboros Portal
Jump to: navigation, search
m
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{#switch: {{lc|{{{1}}}}}
+
{{#switch: {{lc:{{{1}}}}}
 
|h
 
|h
 
|hero
 
|hero
 
|vig
 
|vig
 
|vigilante=darkblue
 
|vigilante=darkblue
|r
+
|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.