Difference between revisions of "Template:Arrow button"

From Wikimedia District of Columbia
Jump to navigation Jump to search
("external" parameter for external links)
(Removing indent)
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=570f0f|green=0f5733|blue=13476c}}; color:#ffffff; font-size:125%; width:100px; padding-top:0.3em; padding-bottom:0.3em; padding-left:0.5em; padding-right:0.5em;">→&nbsp;{{{label}}}</span>]|[[{{{link}}}|<span class="arrowbutton-{{{color|green}}}" style="background:#{{#switch:{{{color|green}}}|red=570f0f|green=0f5733|blue=13476c}}; color:#ffffff; font-size:125%; width:100px; padding-top:0.3em; padding-bottom:0.3em; padding-left:0.5em; padding-right:0.5em;">→&nbsp;{{{label}}}</span>]]}}</div>
+
<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=570f0f|green=0f5733|blue=13476c}}; color:#ffffff; font-size:125%; width:100px; padding-top:0.3em; padding-bottom:0.3em; padding-left:0.5em; padding-right:0.5em;">→&nbsp;{{{label}}}</span>]|[[{{{link}}}|<span class="arrowbutton-{{{color|green}}}" style="background:#{{#switch:{{{color|green}}}|red=570f0f|green=0f5733|blue=13476c}}; color:#ffffff; font-size:125%; width:100px; padding-top:0.3em; padding-bottom:0.3em; padding-left:0.5em; padding-right:0.5em;">→&nbsp;{{{label}}}</span>]]}}</div>
 
{{#if:{{{description|}}}|
 
{{#if:{{{description|}}}|
 
:: <p style="font-size:110%; padding-top:0.5em; padding-bottom:0.5em;">{{{description}}}</p>
 
:: <p style="font-size:110%; padding-top:0.5em; padding-bottom:0.5em;">{{{description}}}</p>

Revision as of 19:31, 8 June 2013