Module:Sports series/doc: Difference between revisions

Content deleted Content added
m top: adjust
Line 174:
 
|style="text-align:center;vertical-align:top"|{{TOC tab|bold_winner}}
|style="background-color:#fff"|To enable, set to a positive value (e.g. y, yes, 1). Automatically bolds the winning team of the tie. First priority is given to the winning team of scores listed inside brackets (which is commonly used to denote the results of a [[Penalty shoot-out (association football)|penalty shoot-out]]). Otherwise, the regular score will be used. If the aggregate scores are level (suchfor astwo-legged ties decidedand onno results of penalty shoot-outs are given, the [[Awayaway goals rule|away goals]] will be applied to determine the winning team (unless {{para|away_goals}} is used to turn off this feature). In all other cases, orif no winner can be determined based on the input, neither team in a given tie will be bolded.
|style="background-color:#fff"|String
 
Line 180:
 
|style="text-align:center;vertical-align:top"|{{TOC tab|color_winner}}
|style="background-color:#fff"|To enable, set to a positive value (e.g. y, yes, 1). Automatically gives the winning team of the tie with a background color of {{bg|#CCFFCC|green (#CCFFCC)}}. First priority is given to the winning team of scores listed inside brackets (which is commonly used to denote the results of a [[Penalty shoot-out (association football)|penalty shoot-out]]). Otherwise, the regular score will be used. If the aggregate scores are level (suchfor astwo-legged ties decidedand onno results of penalty shoot-outs are given, the [[Awayaway goals rule|away goals]] will be applied to determine the winning team (unless {{para|away_goals}} is used to turn off this feature). In all other cases, orif no winner can be determined based on the input, neither team in a given tie will be colored.
 
When this parameter is enabled for single-leg ties, the score cell of any draws will be automatically given a background color of {{bg|#FFFFBB|yellow (#FFFFBB)}}.
Line 294:
|style="background-color:#fff"|Set to an integer value for the width of the aggregate score column and each leg score column, in pixels. Default is <code>80</code>.
|style="background-color:#fff"|Number
 
|-
 
|style="text-align:center;vertical-align:top"|{{TOC tab|away_goals}}
|style="background-color:#fff"|If set to a negative value (e.g. n, no, 0), the module will not apply the [[away goals rule]] for two-legged ties in which the aggregate score is level. Otherwise, by default the module will use the away goals rule to determine the winner.
|style="background-color:#fff"|String
 
|-