Congratulations /mlp/! | ||
Winners of the 2024 4chan Spring Babby Cup |
Difference between revisions of "Template:Statbar"
Jump to navigation
Jump to search
Fractalzoom (talk | contribs) m |
Fractalzoom (talk | contribs) m |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{| align=center width="500px" | {| align=center width="500px" | ||
| style="width: {{#expr: ( ( {{{l|50}}} / ( {{{l|50}}} + {{{r|50}}} ) ) * 100 ) round 2 }}%; background-color: #{{{l-c|0000FF}}}; padding: | | height=5px style="width: {{#expr: ( ( {{{l|50}}} / ( {{{l|50}}} + {{{r|50}}} ) ) * 100 ) round 2 }}%; background-color: #{{{l-c|0000FF}}}; padding: 0"| | ||
| style="width: {{#expr: ( ( {{{r|50}}} / ( {{{l|50}}} + {{{r|50}}} ) ) * 100 ) round 2 }}%; background-color: #{{{r-c|FF0000}}}; padding: | | height=5px style="width: {{#expr: ( ( {{{r|50}}} / ( {{{l|50}}} + {{{r|50}}} ) ) * 100 ) round 2 }}%; background-color: #{{{r-c|FF0000}}}; padding: 0"| | ||
|}<noinclude> | |}<noinclude> | ||
==Usage== | ==Usage== |
Latest revision as of 23:15, 1 January 2014
Usage
{{statbar|l= |r= |l-c= |r-c= }}
Parameters
l
:The stat belonging to the home team.r
:The stat belonging to the away team.l-c
:The home team's main colour. Hex code only, no #.r-c
:The away team's main colour. Hex code only, no #.