Difference between revisions of "Template:Button"
Jump to navigation
Jump to search
James Hare (talk | contribs) (Working) |
James Hare (talk | contribs) (Fix to allow button to be at full width (within its container) on main page redesign) |
||
Line 1: | Line 1: | ||
− | <div class="plainlinks" style=" |
+ | <div class="plainlinks"{{#ifeq:{{{mainpage|}}}|yes| style="margin-right:2.5em;"|}}>[{{{link|http://example.com}}} <span class="btn btn-large {{#ifeq:{{{primary|}}}|yes|btn-primary}}" style="{{#if:{{{width|}}}|width:{{{width}}};}} color:{{#ifeq:{{{primary|}}}|yes|white|black}} !important;{{#if:{{{textsize|}}}| font-size:{{{textsize}}} !important;}}">{{{label|Set a label}}}</span>]</div><noinclude>[[Category:Visual identity templates]]</noinclude> |