Difference between revisions of "Template:AlignBoxColor"

From Ouroboros Portal
Jump to: navigation, search
(Created page with "{{#switch: {{lc|{{{1}}}}} |h |hero |vig |vigilante=darkblue |ro |rogue |v |vill |villain=darkred |l |loyalist |re |resistance=goldenrod |#default=grey }}<noinclude>{{documentatio...")
 
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 box color. It is called by the CharInfo template.