Difference between revisions of "Template:StatbarSmall"
Jump to navigation
Jump to search
m |
m |
||
Line 1: | Line 1: | ||
{| align=center width=" | {| align=center width="170px" | ||
| height=5px style="width: {{#expr: ( ( {{{l|50}}} / ( {{{l|50}}} + {{{r|50}}} ) ) * 100 ) round 2 }}%; background-color: #{{{l-c|0000FF}}}; padding: 0"| | | height=5px style="width: {{#expr: ( ( {{{l|50}}} / ( {{{l|50}}} + {{{r|50}}} ) ) * 100 ) round 2 }}%; background-color: #{{{l-c|0000FF}}}; padding: 0"| | ||
| height=5px style="width: {{#expr: ( ( {{{r|50}}} / ( {{{l|50}}} + {{{r|50}}} ) ) * 100 ) round 2 }}%; background-color: #{{{r-c|FF0000}}}; padding: 0"| | | height=5px style="width: {{#expr: ( ( {{{r|50}}} / ( {{{l|50}}} + {{{r|50}}} ) ) * 100 ) round 2 }}%; background-color: #{{{r-c|FF0000}}}; padding: 0"| |
Latest revision as of 15:54, 1 October 2018
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 #.
- Main Article: Template:Statbar