Difference between revisions of "Template:Button"

From Twilight Heroes Wiki
Jump to: navigation, search
Line 1: Line 1:
<includeonly>{| cellspacing="0" align=left style="margin-left: auto; margin-right: auto; border: 2px black solid; padding-right: 8px; padding-left: 8px; background-color: #EEEEEE"  
+
<includeonly>{| cellspacing="0" align={{#ifeq:{{{2}}}|center|center|left}} style="margin-left: auto; margin-right: auto; border: 2px black solid; padding-right: 8px; padding-left: 8px; background-color: #EEEEEE"  
 
| {{{1}}}  
 
| {{{1}}}  
 
|}<br clear=all></includeonly><noinclude>
 
|}<br clear=all></includeonly><noinclude>
Line 9: Line 9:
  
 
{{button|text}}
 
{{button|text}}
 +
 +
<nowiki>{{button|text|center}}</nowiki>
 +
 +
yields
 +
 +
{{button|text|center}}
  
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Revision as of 10:38, 9 February 2010

Usage

{{button|text}}

yields

text

{{button|text|center}}

yields

text