Difference between revisions of "Template:Button"
From partnersenproppersolutions
Line 24: | Line 24: | ||
|Text=Home | |Text=Home | ||
|Link=Main Page | |Link=Main Page | ||
− | |Class=btn- | + | |Class=btn btn-primary btn-xs |
}} | }} | ||
{{Button | {{Button | ||
|Text=Home | |Text=Home | ||
|Link=Main Page | |Link=Main Page | ||
− | |Class= | + | |Class=btn btn-primary btn-xs |
|Style= | |Style= | ||
|Target=_blank | |Target=_blank | ||
Line 38: | Line 38: | ||
</noinclude><includeonly>{{ | </noinclude><includeonly>{{ | ||
− | #if:{{{Href|}}}|{{#tag:html|{{#tag:a|{{#tag:button|{{{Text|}}}|type="button"|class=" | + | #if:{{{Href|}}}|{{#tag:html|{{#tag:a|{{#tag:button|{{{Text|}}}|type="button"|class="{{{Class|btn btn-primary}}}"|style="margin-right:6px; {{{Style|}}}"}}|href="{{{Href|}}}"|target="{{{Target|}}}"}}}}}}{{ |
− | #if:{{{Link|}}}|{{#tag:html|{{#tag:a|{{#tag:button|{{{Text|}}}|type="button"|class=" | + | #if:{{{Link|}}}|{{#tag:html|{{#tag:a|{{#tag:button|{{{Text|}}}|type="button"|class="{{{Class|btn btn-primary}}}"|style="margin-right:6px; {{{Style|}}}"}}|href="{{localurl:{{{Link|}}}}}"|target="{{{Target|}}}"}}}}}}</includeonly> |