Difference between revisions of "Template:AlignBGcolor"

From Ouroboros Portal
Jump to: navigation, search
m
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{#switch: {{lc|{{{1}}}}}
+
{{#switch: {{lc:{{{1}}}}}
 
|h
 
|h
 
|hero
 
|hero
Line 10: Line 10:
 
|villain=darkred
 
|villain=darkred
 
|l
 
|l
 +
|loy
 
|loyalist
 
|loyalist
 
|re
 
|re
 +
|res
 
|resistance=goldenrod
 
|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.