Difference between revisions of "Template:Arrow button"

From Wikimedia District of Columbia
Jump to navigation Jump to search
(Using hues from color bar, adjusted to 70/20 saturation/lightness)
(The arrow is now a part of the CSS)
 
(22 intermediate revisions by 2 users not shown)
Line 1: Line 1:
  +
<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>
:[[{{{link}}}|<span style="background:#{{#switch:{{{color|green}}}|red=570f0f|green=0f5733|blue=0f3957}}; 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>]]
 
 
{{#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>
}}
 

Latest revision as of 19:09, 27 April 2015