Difference between revisions of "Template:ColorPattern"

From SpiralKnights

Jump to: navigation, search
m (testing positioning)
m (okay that was the entire thing, trying to get within-cell content to position in center, I know what I did derpishly.)
Line 1: Line 1:
<noinclude>{|</noinclude>|-  valign="top" align="center"
+
<noinclude>{|</noinclude>|-  valign="top"  
| style="background: #c7dbea; color: #000; padding: 3px; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px" |{{#switch:{{{category|}}}
+
| style="background: #c7dbea; color: #000; padding: 3px; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px" align="center" |{{#switch:{{{category|}}}
 
|yes =[[:Category:{{{name}}}-Themed|{{{name}}}]]
 
|yes =[[:Category:{{{name}}}-Themed|{{{name}}}]]
 
|no = {{{name}}}  
 
|no = {{{name}}}  
 
|={{{name}}}  
 
|={{{name}}}  
 
}}
 
}}
| style="background: #{{{2}}}; color: #000; padding: 3px; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px" | {{{5|}}}
+
| style="background: #{{{2}}}; color: #000; padding: 3px; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px" align="center" | {{{5|}}}
| style="background: #{{{3}}}; color: #000; padding: 3px; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px" | {{{6|}}}
+
| style="background: #{{{3}}}; color: #000; padding: 3px; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px" align="center" | {{{6|}}}
| style="background: #{{{4}}}; color: #000; padding: 3px; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px" | {{{7|}}}<noinclude>
+
| style="background: #{{{4}}}; color: #000; padding: 3px; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px" align="center" | {{{7|}}}<noinclude>
 
|}</noinclude>
 
|}</noinclude>

Revision as of 23:57, 9 January 2015

{{{name}}}
Personal tools