Difference between revisions of "Template:Button"

From Wikimedia District of Columbia
Jump to navigation Jump to search
(Making entire button clickable)
(Working)
Line 1: Line 1:
<div class="plainlinks">[{{{link}}} <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}}}</span>]</div><noinclude>[[Category:Visual identity templates]]</noinclude>
+
<span class="plainlinks">[{{{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>]</span><noinclude>[[Category:Visual identity templates]]</noinclude>

Revision as of 01:43, 6 June 2013