Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <onlyinclude>
- <div style="width: 100%; margin: auto; position: relative; left: 0; background: transparent; border: 1px solid black; border-radius: 30px; padding: 2px;">
- <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;">
- <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>
- </div>
- </div>
- </onlyinclude>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement