Difference between revisions of "Template:Round button"

From Wikimedia District of Columbia
Jump to navigation Jump to search
(Consistency of parameters)
(Copying code from template:arrow_button)
Line 1: Line 1:
[[{{{link}}}|<div class="{{#switch:{{{color}}}|blue=arrowbutton-blue|green=arrowbutton-green|red=arrowbutton-red|#default=arrowbutton-blue}} roundbutton" style="font-size:{{{font-size|1.75em}}}; line-height:{{{line-height|1.75em}}};">{{{label}}}]]</div><noinclude>[[Category:Visual identity templates]]</noinclude>
+
<div class="plainlinks" style="margin-bottom:0.5em;">{{#ifeq:{{{external}}}|yes|[{{{link|Home}}} <span class="roundbutton arrowbutton-{{{color|green}}}" style="line-height:{{{line-height|1.75em}}}; font-size:{{{font-size|1.75em}}};">{{{label|~}}}</span>]|[[{{{link|Home}}}|<span class="roundbutton arrowbutton-{{{color|green}}}" style="line-height:{{{line-height|1.75em}}}; font-size:{{{font-size|1.75em}}};">{{{label|~}}}</span>]]}}</div><noinclude>[[Category:Visual identity templates]]</noinclude>

Revision as of 22:22, 26 April 2015