Difference between revisions of "Template:Blue button"

From blackwiki
Jump to navigation Jump to search
imported>Edokter
(does not help)
imported>Matt Fitzpatrick
(simplified and removed unnecessary css)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<span class="mw-ui-button mw-ui-progressive mw-ui-big" role="button">{{#if:{{{elink|}}}|[{{{elink}}} <span style="color: #FFF;">{{{text}}}</span>]|{{#if:{{{link|}}}|[[{{{link}}}|<span style="color: #FFF;">{{{text}}}</span>]]|{{{text|{{{1|Go on}}} }}} }} }}</span>
+
<span style="
 +
-webkit-box-shadow: rgba(255, 255, 255, 0.199219) 0px 1px 0px 0px inset, rgba(0, 0, 0, 0.046875) 0px 1px 2px 0px;
 +
-webkit-transition-delay: 0s;
 +
-webkit-transition-duration: 0.10000000149011612s;
 +
-webkit-transition-property: all;
 +
-webkit-transition-timing-function: linear;
 +
background-color: #0064CD;
 +
background-image: -webkit-linear-gradient(top, rgb(4, 156, 219), rgb(0, 100, 205));
 +
border: 1px solid rgba(0, 0, 0, 0.0976562);
 +
border-bottom-color: rgba(0, 0, 0, 0.246094);
 +
border-radius: 6px;
 +
box-shadow: rgba(255, 255, 255, 0.199219) 0px 1px 0px 0px inset, rgba(0, 0, 0, 0.046875) 0px 1px 2px 0px;
 +
color: white;
 +
cursor: pointer;
 +
display: inline-block;
 +
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
 +
font-size: 16px;
 +
font-style: normal;
 +
font-weight: 200;
 +
height: 18px;
 +
line-height: normal;
 +
overflow-y: visible;
 +
padding: 9px 14px;
 +
text-rendering: optimizelegibility;
 +
text-shadow: rgba(0, 0, 0, 0.246094) 0px -1px 0px;">{{#if:{{{elink|}}}|[{{{elink}}} <span style="color: #FFF;">{{{text}}}</span>]|{{#if:{{{link|}}}|[[{{{link}}}|<span style="color: #FFF;">{{{text}}}</span>]]|{{{text|{{{1|Go on}}} }}} }} }}</span>
 
<noinclude>
 
<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 17:02, 15 October 2017

Go on

50px Template documentation[view] [edit] [history] [purge]

This makes a blue button. It's not the same as {{Big Blue Button}}.

Usage

{{blue button|link=Target of link|text=Text of link}}

For instance, {{blue button|link=google|text=google}} shows up as google