Difference between revisions of "Template:A-LeagueDiscipline"

From blackwiki
Jump to navigation Jump to search
blackwiki>Borgarde
(fix into noinclude)
blackwiki>Borgarde
(use doc template)
Line 1: Line 1:
<noinclude>{{Template:A-LeagueDiscipline/doc}}</noinclude>
 
 
The Fair Play Award will go to the team with the lowest points on the fair play ladder at the conclusion of the home and away season.
 
The Fair Play Award will go to the team with the lowest points on the fair play ladder at the conclusion of the home and away season.
 
   
 
   
Line 36: Line 35:
 
|style="text-align:center;"|'''Totals''' || '''{{#expr:{{{T1Y|0}}} + {{{T2Y|0}}} + {{{T3Y|0}}} + {{{T4Y|0}}} + {{{T5Y|0}}} + {{{T6Y|0}}} + {{{T7Y|0}}} + {{{T8Y|0}}} + {{{T9Y|0}}} + {{{T10Y|0}}}}}''' || '''{{#expr:{{{T1YYR|0}}} + {{{T2YYR|0}}} + {{{T3YYR|0}}} + {{{T4YYR|0}}} + {{{T5YYR|0}}} + {{{T6YYR|0}}} + {{{T7YYR|0}}} + {{{T8YYR|0}}} + {{{T9YYR|0}}} + {{{T10YYR|0}}}}}''' || '''{{#expr:{{{T1R|0}}} + {{{T2R|0}}} + {{{T3R|0}}} + {{{T4R|0}}} + {{{T5R|0}}} + {{{T6R|0}}} + {{{T7R|0}}} + {{{T8R|0}}} + {{{T9R|0}}} + {{{T10R|0}}}}}''' ||
 
|style="text-align:center;"|'''Totals''' || '''{{#expr:{{{T1Y|0}}} + {{{T2Y|0}}} + {{{T3Y|0}}} + {{{T4Y|0}}} + {{{T5Y|0}}} + {{{T6Y|0}}} + {{{T7Y|0}}} + {{{T8Y|0}}} + {{{T9Y|0}}} + {{{T10Y|0}}}}}''' || '''{{#expr:{{{T1YYR|0}}} + {{{T2YYR|0}}} + {{{T3YYR|0}}} + {{{T4YYR|0}}} + {{{T5YYR|0}}} + {{{T6YYR|0}}} + {{{T7YYR|0}}} + {{{T8YYR|0}}} + {{{T9YYR|0}}} + {{{T10YYR|0}}}}}''' || '''{{#expr:{{{T1R|0}}} + {{{T2R|0}}} + {{{T3R|0}}} + {{{T4R|0}}} + {{{T5R|0}}} + {{{T6R|0}}} + {{{T7R|0}}} + {{{T8R|0}}} + {{{T9R|0}}} + {{{T10R|0}}}}}''' ||
 
|}<noinclude>
 
|}<noinclude>
 +
{{documentation}}
 
[[Category:Football (soccer) templates]]
 
[[Category:Football (soccer) templates]]
 
</noinclude>
 
</noinclude>

Revision as of 09:43, 1 February 2009

The Fair Play Award will go to the team with the lowest points on the fair play ladder at the conclusion of the home and away season.

1 point Yellow card.svg Yellow Card
2 points File:Yellow card.svgFile:Yellow card.svgFile:Red card.svg Second Caution Red Card
3 points File:Red card.svg Direct Red Card
Team File:Yellow card.svg File:Yellow card.svgFile:Yellow card.svgFile:Red card.svg File:Red card.svg Points
Template:ALeague AU 0 0 0 0
Template:ALeague CCM 0 0 0 0
Template:ALeague GCU 0 0 0 0
Template:ALeague MV 0 0 0 0
Template:ALeague NQF 0 0 0 0
Template:ALeague NUJ 0 0 0 0
Template:ALeague PG 0 0 0 0
Template:ALeague QR 0 0 0 0
Template:ALeague 0 0 0 0
Template:ALeague 0 0 0 0
Totals 0 0 0
50px Template documentation[view] [edit] [history] [purge]

Usage

Automates the Fair Play award calculation on A-League articles.

Example:

{{A-LeagueDiscipline|
T1=NUJ | T1Y = 44 | T1YYR = 0 | T1R = 0 |
T2=PG  | T2Y = 34 | T2YYR = 1 | T2R = 3 |
T3=SFC | T3Y = 42 | T3YYR = 1 | T3R = 2 |
T4=BR  | T4Y = 45 | T4YYR = 3 | T4R = 0 |
T5=WP  | T5Y = 46 | T5YYR = 1 | T5R = 2 |
T6=AU  | T6Y = 45 | T6YYR = 3 | T6R = 1 |
T7=MV  | T7Y = 43 | T7YYR = 1 | T7R = 3 |
T8=CCM | T8Y = 44 | T8YYR = 3 | T8R = 4 |
T9=NQF | T9Y = 47 | T9YYR = 1 | T9R = 3 |
T10=GCU| T10Y= 52 | T10YYR= 3 | T10R= 4 |
}}