This template formats a table cell, and must be used inside a table. It takes two numeric scores, for the left and right displayed values. The higher value is bolded in the output. To use this template, it must be prepended by a pipe (vertical bar) of wikitable formatting.
{{sports score|text=|align=|style=|nb=|1=|2=}}
|text=
— OPTIONAL – DEFAULT: black -- text color
|align=
— OPTIONAL – DEFAULT: center -- text alignment
|style=
— OPTIONAL – DEFAULT: none -- CSS styling
|nb=
— OPTIONAL – DEFAULT: false -- BOOLEAN
− if specified will not bold scores ("no bolding")
|1=
— REQUIRED – DEFAULT: none -- score for competitor A
|2=
— REQUIRED – DEFAULT: none -- score for competitor B
This template is available under other names:
- {|
- |
{{sports score|4|5}}
- |}
- {|
- |
{{sports score|text=orange|12|5}}
- |}
- {|
- |
{{sports score|nb=true|10555|122}}
- |}
- {|
- |
{{sports score|align=left|0|0}}
- |}
- {|
- |
{{sports score|align=right|5|5}}
- |}