Difference between revisions of "Template:Button"

From Wikimedia District of Columbia
Jump to navigation Jump to search
(Working)
(Working)
Line 1: Line 1:
<div class="plainlinks btn btn-large {{#ifeq:{{{primary|}}}|yes|btn-primary}}">[{{{link}}} <span style="color:{{#ifeq:{{{primary|}}}|yes|white|black}} !important">{{{label}}}</span>]</div><noinclude>[[Category:Visual identity templates]]</noinclude>
+
<div class="plainlinks btn btn-large {{#ifeq:{{{primary|}}}|yes|btn-primary}}" style="{{#if:{{{width|}}}|width={{{width}}};}}">[{{{link}}} <span style="color:{{#ifeq:{{{primary|}}}|yes|white|black}} !important">{{{label}}}</span>]</div><noinclude>[[Category:Visual identity templates]]</noinclude>

Revision as of 03:04, 20 January 2013