Difference between revisions of "Template:Arrow button"

From Wikimedia District of Columbia
Jump to navigation Jump to search
(Testing)
(Updating style)
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:{{{font-size|125%}}}; width:100px; padding-top:0.3em; padding-bottom:0.3em; padding-left:0.5em; padding-right:0.5em; line-height:1.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:{{{font-size|125%}}}; line-height:1.5em; 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:{{{font-size|110%}}}; width:100px; padding-top:0.3em; padding-bottom:0.3em; padding-left:0.5em; padding-right:0.5em; line-height:1.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:{{{font-size|110%}}}; line-height:1.5em; 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="padding-top:0.5em; padding-bottom:0.5em;">{{{description}}}</p>
 
}}<noinclude>[[Category:Visual identity templates]]</noinclude>
 
}}<noinclude>[[Category:Visual identity templates]]</noinclude>

Revision as of 07:32, 14 April 2014