Difference between revisions of "Template:Arrow button"

From Wikimedia District of Columbia
Jump to navigation Jump to search
(Change blue to 70/25 SL)
(The arrow is now a part of the CSS)
 
(18 intermediate revisions by 2 users not shown)
Line 1: Line 1:
:<div style="{{#if:{{{description|}}}||padding-top:0.5em; padding-bottom:0.5em;}}">[[{{{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="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="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>

Latest revision as of 19:09, 27 April 2015