Difference between revisions of "Template:A-LeagueDiscipline"

From blackwiki
Jump to navigation Jump to search
blackwiki>Timsdad
(Rm header so template can be used for completed seasons)
blackwiki>Timsdad
(Fix)
Line 26: Line 26:
 
|-
 
|-
 
|style="text-align:center;"|{{ALeague {{{T8|PG}}}}} || {{{T8Y|0}}} || {{{T8YYR|0}}} || {{{T8R|0}}} || {{#expr:{{{T8Y|0}}} + 2 * {{{T8YYR|0}}} + 3 * {{{T8R|0}}} }}
 
|style="text-align:center;"|{{ALeague {{{T8|PG}}}}} || {{{T8Y|0}}} || {{{T8YYR|0}}} || {{{T8R|0}}} || {{#expr:{{{T8Y|0}}} + 2 * {{{T8YYR|0}}} + 3 * {{{T8R|0}}} }}
|-
+
|- {{ #if:{{{T9|}}} | | style="display:none;"}}
 
|style="text-align:center;"|{{ALeague {{{T9|SFC}}}}} || {{{T9Y|0}}} || {{{T9YYR|0}}} || {{{T9R|0}}} || {{#expr:{{{T9Y|0}}} + 2 * {{{T9YYR|0}}} + 3 * {{{T9R|0}}} }}
 
|style="text-align:center;"|{{ALeague {{{T9|SFC}}}}} || {{{T9Y|0}}} || {{{T9YYR|0}}} || {{{T9R|0}}} || {{#expr:{{{T9Y|0}}} + 2 * {{{T9YYR|0}}} + 3 * {{{T9R|0}}} }}
|-
+
|- {{ #if:{{{T10|}}} | | style="display:none;"}}
 
|style="text-align:center;"|{{ALeague {{{T10|WP}}}}} || {{{T10Y|0}}} || {{{T10YYR|0}}} || {{{T10R|0}}} || {{#expr:{{{T10Y|0}}} + 2 * {{{T10YYR|0}}} + 3 * {{{T10R|0}}} }}
 
|style="text-align:center;"|{{ALeague {{{T10|WP}}}}} || {{{T10Y|0}}} || {{{T10YYR|0}}} || {{{T10R|0}}} || {{#expr:{{{T10Y|0}}} + 2 * {{{T10YYR|0}}} + 3 * {{{T10R|0}}} }}
 
|- class="sortbottom" style="background:#eeeeee;"
 
|- class="sortbottom" style="background:#eeeeee;"

Revision as of 07:27, 31 August 2009

1 point Yellow card.svg Yellow Card
2 points Yellow card.svgYellow card.svg10px Second Caution Red Card
3 points 10px Direct Red Card
Team Yellow card.svg Yellow card.svgYellow card.svg10px 10px Points
Template:ALeague AU 0 0 0 0
Template:ALeague BR 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 NUJ 0 0 0 0
Template:ALeague NQF 0 0 0 0
Template:ALeague PG 0 0 0 0
Template:ALeague SFC 0 0 0 0
Template:ALeague WP 0 0 0 0
Totals 0 0 0
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 |
}}