Difference between revisions of "Template:Arrow button"

From Wikimedia District of Columbia
Jump to navigation Jump to search
(Bigger text)
(vertical spacing between buttons)
Line 1: Line 1:
<div class="plainlinks" style="{{#if:{{{description|}}}||padding-top:0.5em; padding-bottom:0.5em;}}">{{#ifeq:{{{external}}}|yes|[{{{link}}} <span class="arrowbutton-{{{color|green}}}" style="background:#{{#switch:{{{color|green}}}|red=7e322c|green=53946b|blue=4f79a2}}; color:#ffffff; font-size:{{{font-size|115%}}}; width:100px; padding:0.4em; line-height:1.5em;">'''⇒'''&nbsp;{{{label}}}</span>]|[[{{{link}}}|<span class="arrowbutton-{{{color|green}}}" style="background:#{{#switch:{{{color|green}}}|red=7e322c|green=53946b|blue=4f79a2}}; color:#ffffff; font-size:{{{font-size|115%}}}; line-height:1.5em; width:100px; padding:0.4em;">'''⇒'''&nbsp;{{{label}}}</span>]]}}</div>
+
<div class="plainlinks" style="margin-bottom:0.5em; {{#if:{{{description|}}}||padding-top:0.5em; padding-bottom:0.5em;}}">{{#ifeq:{{{external}}}|yes|[{{{link}}} <span class="arrowbutton-{{{color|green}}}" style="background:#{{#switch:{{{color|green}}}|red=7e322c|green=53946b|blue=4f79a2}}; color:#ffffff; font-size:{{{font-size|115%}}}; width:100px; padding:0.4em; line-height:1.5em;">'''⇒'''&nbsp;{{{label}}}</span>]|[[{{{link}}}|<span class="arrowbutton-{{{color|green}}}" style="background:#{{#switch:{{{color|green}}}|red=7e322c|green=53946b|blue=4f79a2}}; color:#ffffff; font-size:{{{font-size|115%}}}; line-height:1.5em; width:100px; padding:0.4em;">'''⇒'''&nbsp;{{{label}}}</span>]]}}</div>
 
{{#if:{{{description|}}}|
 
{{#if:{{{description|}}}|
 
:: <p style="padding-top:0.5em; padding-bottom:0.5em;">{{{description}}}</p>
 
:: <p style="padding-top:0.5em; padding-bottom:0.5em;">{{{description}}}</p>

Revision as of 18:07, 14 March 2015