Difference between revisions of "Template:Arrow button"

From Wikimedia District of Columbia
Jump to navigation Jump to search
(Button tweaking)
(The arrow is now a part of the CSS)
 
(3 intermediate revisions by the same user not shown)
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|100%}}}; 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|100%}}}; 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 arrowbutton-{{{color|green}}}" style=" font-size:{{{font-size|115%}}};">{{{label}}}</span>]|[[{{{link}}}|<span class="arrowbutton arrowbutton-{{{color|green}}}" style="font-size:{{{font-size|115%}}};">{{{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>

Latest revision as of 19:09, 27 April 2015