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 |
||
Line 1: | Line 1: | ||
{| align=center width=" | {| align=center width="1000px" | ||
| style="width: {{#expr: ( ( {{{l|50}}} / ( {{{l|50}}} + {{{r|50}}} ) ) * 100 ) round 2 }}%; background-color: #{{{l-c|0000FF}}}; padding:5px;"| | | style="width: {{#expr: ( ( {{{l|50}}} / ( {{{l|50}}} + {{{r|50}}} ) ) * 100 ) round 2 }}%; background-color: #{{{l-c|0000FF}}}; padding:5px;"| | ||
| style="width: {{#expr: ( ( {{{r|50}}} / ( {{{l|50}}} + {{{r|50}}} ) ) * 100 ) round 2 }}%; background-color: #{{{r-c|FF0000}}}; padding:5px;"| | | style="width: {{#expr: ( ( {{{r|50}}} / ( {{{l|50}}} + {{{r|50}}} ) ) * 100 ) round 2 }}%; background-color: #{{{r-c|FF0000}}}; padding:5px;"| |
Revision as of 13:01, 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 #.