Advertisement
Repton33333

Untitled

Feb 3rd, 2015
271
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.32 KB | None | 0 0
  1. <onlyinclude>
  2. <div style="width: 100%; margin: auto; position: relative; left: 0; background: transparent; border: 1px solid black; border-radius: 30px; padding: 2px;">
  3. <div style="width: {{ #ifexpr: ( {{ #if: {{{1|}}} | {{ #expr: 100 * {{{1}}} / {{{2|100}}} }} | 0 }} < 1 ) | 1% | {{ #if: {{{1|}}} | {{ #expr: 100 * {{{1}}} / {{{2|100}}} round 1 }} | 0 }}% }}; background: cadetblue; background: -moz-linear-gradient(top, aliceblue 0%, lightblue 35%, skyblue 65%, cadetblue 100%); background: -webkit-gradient(linear, 50% 0, 50% 100%, from(aliceblue), color-stop(35%, lightblue), color-stop(65%, skyblue), to(cadetblue)); background: -webkit-linear-gradient(top, aliceblue 0%, lightblue 35%, skyblue 65%, cadetblue 100%); background: -ms-linear-gradient(top, aliceblue 0%, lightblue 35%, skyblue 65%, cadetblue 100%); background: -o-linear-gradient(top, aliceblue 0%, lightblue 35%, skyblue 65%, cadetblue 100%); background: linear-gradient(to bottom, aliceblue 0%, lightblue 35%, skyblue 65%, cadetblue 100%); border-radius: 30px; margin: 0; padding: 2px; font-size: 8pt; overflow: hidden; line-height: 8pt;">
  4. <span style="color: black;">{{ #ifexpr: ( {{ #if: {{{1|}}} | {{ #expr: 100 * {{{1}}} / {{{2|100}}} }} | 0 }} < 1 ) | 1% | {{ #if: {{{1|}}} | {{ #expr: 100 * {{{1}}} / {{{2|100}}} round 1 }} | 0 }}% }}</span>
  5. </div>
  6. </div>
  7. </onlyinclude>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement