Difference between revisions of "Template:Arrow button"
Jump to navigation
Jump to search
(Change blue to 70/25 SL) |
James Hare (talk | contribs) ("external" parameter for external links) |
||
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;">→ {{{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;">→ {{{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;">→ {{{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 23:37, 24 May 2013
- [[{{{link}}}|]]