Template:Indicator: Difference between revisions

From Step Mods | Change The Game
(uploaded with x-external-editor)
(uploaded with x-external-editor)
Line 1: Line 1:
{{#vardefine:height|{{#expr: {{{1}}}/1.6 round0 }}}}
{{#if: {{{1|}}} | {{#if: {{{2|}}} |
{{#var:height}}
<div style="border-radius:3px;width:{{{1}}};height:{{{2}}};background-color:{{{3}}};background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, from({{{3}}}), to({{{4}}}));background-image:-webkit-linear-gradient(top, {{{3}}}, {{{4}}});background-image:-moz-linear-gradient(top, {{{3}}}, {{{4}}});background-image:-ms-linear-gradient(top, {{{3}}}, {{{4}}});background-image:-o-linear-gradient(top, {{{3}}}, {{{4}}});">
'''{{{5}}}'''</div>
}} }}
<noinclude>
<noinclude>
width|s_gradient|e_gradient|text
width|height|s_gradient|e_gradient|text
</noinclude>
</noinclude>

Revision as of 05:54, February 19, 2013


width|height|s_gradient|e_gradient|text