Template:Button: Difference between revisions

From Twilight Heroes Wiki
Jump to navigation Jump to search
New page: <includeonly>{| cellspacing="0" style="margin-left: auto; margin-right: auto; border: 2px black solid; font-family: Arial, Helvetica, sans-serif; font-size: 10pt; font-weight: bold; backgr...
 
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{| cellspacing="0" style="margin-left: auto; margin-right: auto; border: 2px black solid; font-family: Arial, Helvetica, sans-serif; font-size: 10pt; font-weight: bold; background-color: #FFFFFF; padding-right: 8px; padding-left: 8px; margin-bottom: 8px" id="{{{1}}}"
<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}}} |}</includeonly><noinclude>
|}{{#ifeq:{{{2}}}|inline||<br clear=all>}}</includeonly><noinclude>
==Usage==
==Usage==


Line 9: Line 9:


{{button|text}}
{{button|text}}
[[Category:Templates]]</noinclude>
 
<nowiki>{{button|text|center}}</nowiki>
 
yields
 
{{button|text|center}}
 
Use <nowiki>{{button|text|inline}}</nowiki> if you want to manually add line breaks rather than the default behavior.
 
[[Category:Standardization Templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 09:33, 22 February 2010

Usage

{{button|text}}

yields

text


{{button|text|center}}

yields

text


Use {{button|text|inline}} if you want to manually add line breaks rather than the default behavior.