Difference between revisions of "Template:A-LeagueDiscipline"

From blackwiki
Jump to navigation Jump to search
blackwiki>Squilibob
(update - you can now have a table of between 8 and 12 teams)
m (12 revisions imported)
 
(2 intermediate revisions by one other user not shown)
Line 11: Line 11:
 
! Team !! [[Image:Yellow card.svg|10px]] !![[Image:Yellow card.svg|10px]]<span style="position:relative; left:-5px;">[[Image:Yellow card.svg|10px]]</span><span style="position:relative; left:-10px;">[[Image:Red card.svg|10px]]</span> !! [[Image:Red card.svg|10px]] !! Points
 
! Team !! [[Image:Yellow card.svg|10px]] !![[Image:Yellow card.svg|10px]]<span style="position:relative; left:-5px;">[[Image:Yellow card.svg|10px]]</span><span style="position:relative; left:-10px;">[[Image:Red card.svg|10px]]</span> !! [[Image:Red card.svg|10px]] !! Points
 
|-
 
|-
|style="text-align:center;"|{{ALeague {{{T1|AU}}}}} || {{{T1Y|0}}} || {{{T1YYR|0}}} || {{{T1R|0}}} || {{#expr:{{{T1Y|0}}} + 2 * {{{T1YYR|0}}} + 3 * {{{T1R|0}}} }}
+
|style="text-align:center;"|{{A-League team|{{{T1|AU}}}}} || {{{T1Y|0}}} || {{{T1YYR|0}}} || {{{T1R|0}}} || {{#expr:{{{T1Y|0}}} + 2 * {{{T1YYR|0}}} + 3 * {{{T1R|0}}} }}
 
|-
 
|-
|style="text-align:center;"|{{ALeague {{{T2|BR}}}}} || {{{T2Y|0}}} || {{{T2YYR|0}}} || {{{T2R|0}}} || {{#expr:{{{T2Y|0}}} + 2 * {{{T2YYR|0}}} + 3 * {{{T2R|0}}} }}
+
|style="text-align:center;"|{{A-League team|{{{T2|BR}}}}} || {{{T2Y|0}}} || {{{T2YYR|0}}} || {{{T2R|0}}} || {{#expr:{{{T2Y|0}}} + 2 * {{{T2YYR|0}}} + 3 * {{{T2R|0}}} }}
 
|-
 
|-
|style="text-align:center;"|{{ALeague {{{T3|CCM}}}}} || {{{T3Y|0}}} || {{{T3YYR|0}}} || {{{T3R|0}}} || {{#expr:{{{T3Y|0}}} + 2 * {{{T3YYR|0}}} + 3 * {{{T3R|0}}} }}
+
|style="text-align:center;"|{{A-League team|{{{T3|CCM}}}}} || {{{T3Y|0}}} || {{{T3YYR|0}}} || {{{T3R|0}}} || {{#expr:{{{T3Y|0}}} + 2 * {{{T3YYR|0}}} + 3 * {{{T3R|0}}} }}
 
|-
 
|-
|style="text-align:center;"|{{ALeague {{{T4|GCU}}}}} || {{{T4Y|0}}} || {{{T4YYR|0}}} || {{{T4R|0}}} || {{#expr:{{{T4Y|0}}} + 2 * {{{T4YYR|0}}} + 3 * {{{T4R|0}}} }}
+
|style="text-align:center;"|{{A-League team|{{{T4|GCU}}}}} || {{{T4Y|0}}} || {{{T4YYR|0}}} || {{{T4R|0}}} || {{#expr:{{{T4Y|0}}} + 2 * {{{T4YYR|0}}} + 3 * {{{T4R|0}}} }}
 
|-
 
|-
|style="text-align:center;"|{{ALeague {{{T5|MV}}}}} || {{{T5Y|0}}} || {{{T5YYR|0}}} || {{{T5R|0}}} || {{#expr:{{{T5Y|0}}} + 2 * {{{T5YYR|0}}} + 3 * {{{T5R|0}}} }}
+
|style="text-align:center;"|{{A-League team|{{{T5|MV}}}}} || {{{T5Y|0}}} || {{{T5YYR|0}}} || {{{T5R|0}}} || {{#expr:{{{T5Y|0}}} + 2 * {{{T5YYR|0}}} + 3 * {{{T5R|0}}} }}
 
|-
 
|-
|style="text-align:center;"|{{ALeague {{{T6|NUJ}}}}} || {{{T6Y|0}}} || {{{T6YYR|0}}} || {{{T6R|0}}} || {{#expr:{{{T6Y|0}}} + 2 * {{{T6YYR|0}}} + 3 * {{{T6R|0}}} }}
+
|style="text-align:center;"|{{A-League team|{{{T6|NUJ}}}}} || {{{T6Y|0}}} || {{{T6YYR|0}}} || {{{T6R|0}}} || {{#expr:{{{T6Y|0}}} + 2 * {{{T6YYR|0}}} + 3 * {{{T6R|0}}} }}
 
|-
 
|-
|style="text-align:center;"|{{ALeague {{{T7|NQF}}}}} || {{{T7Y|0}}} || {{{T7YYR|0}}} || {{{T7R|0}}} || {{#expr:{{{T7Y|0}}} + 2 * {{{T7YYR|0}}} + 3 * {{{T7R|0}}} }}
+
|style="text-align:center;"|{{A-League team|{{{T7|NQF}}}}} || {{{T7Y|0}}} || {{{T7YYR|0}}} || {{{T7R|0}}} || {{#expr:{{{T7Y|0}}} + 2 * {{{T7YYR|0}}} + 3 * {{{T7R|0}}} }}
 
|-
 
|-
|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;"|{{A-League team|{{{T8|PG}}}}} || {{{T8Y|0}}} || {{{T8YYR|0}}} || {{{T8R|0}}} || {{#expr:{{{T8Y|0}}} + 2 * {{{T8YYR|0}}} + 3 * {{{T8R|0}}} }}
 
|- {{ #if:{{{T9|}}} | | style="display:none;"}}
 
|- {{ #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;"|{{A-League team|{{{T9|SFC}}}}} || {{{T9Y|0}}} || {{{T9YYR|0}}} || {{{T9R|0}}} || {{#expr:{{{T9Y|0}}} + 2 * {{{T9YYR|0}}} + 3 * {{{T9R|0}}} }}
 
|- {{ #if:{{{T10|}}} | | style="display:none;"}}
 
|- {{ #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;"|{{A-League team|{{{T10|WP}}}}} || {{{T10Y|0}}} || {{{T10YYR|0}}} || {{{T10R|0}}} || {{#expr:{{{T10Y|0}}} + 2 * {{{T10YYR|0}}} + 3 * {{{T10R|0}}} }}
 
|- {{ #if:{{{T11|}}} | | style="display:none;"}}
 
|- {{ #if:{{{T11|}}} | | style="display:none;"}}
|style="text-align:center;"|{{ALeague {{{T11|MH}}}}} || {{{T11Y|0}}} || {{{T11YYR|0}}} || {{{T11R|0}}} || {{#expr:{{{T11Y|0}}} + 2 * {{{T11YYR|0}}} + 3 * {{{T11R|0}}} }}
+
|style="text-align:center;"|{{A-League team|{{{T11|MH}}}}} || {{{T11Y|0}}} || {{{T11YYR|0}}} || {{{T11R|0}}} || {{#expr:{{{T11Y|0}}} + 2 * {{{T11YYR|0}}} + 3 * {{{T11R|0}}} }}
 
|- {{ #if:{{{T12|}}} | | style="display:none;"}}
 
|- {{ #if:{{{T12|}}} | | style="display:none;"}}
|style="text-align:center;"|{{ALeague {{{T12|SR}}}}} || {{{T12Y|0}}} || {{{T12YYR|0}}} || {{{T12R|0}}} || {{#expr:{{{T12Y|0}}} + 2 * {{{T12YYR|0}}} + 3 * {{{T12R|0}}} }}
+
|style="text-align:center;"|{{A-League team|{{{T12|SR}}}}} || {{{T12Y|0}}} || {{{T12YYR|0}}} || {{{T12R|0}}} || {{#expr:{{{T12Y|0}}} + 2 * {{{T12YYR|0}}} + 3 * {{{T12R|0}}} }}
 
|- class="sortbottom" style="background:#eeeeee;"
 
|- class="sortbottom" style="background:#eeeeee;"
 
|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}}}+ {{{T11Y|0}}}+ {{{T12Y|0}}}}}''' || '''{{#expr:{{{T1YYR|0}}} + {{{T2YYR|0}}} + {{{T3YYR|0}}} + {{{T4YYR|0}}} + {{{T5YYR|0}}} + {{{T6YYR|0}}} + {{{T7YYR|0}}} + {{{T8YYR|0}}} + {{{T9YYR|0}}} + {{{T10YYR|0}}} + {{{T11YYR|0}}} + {{{T12YYR|0}}}}}''' || '''{{#expr:{{{T1R|0}}} + {{{T2R|0}}} + {{{T3R|0}}} + {{{T4R|0}}} + {{{T5R|0}}} + {{{T6R|0}}} + {{{T7R|0}}} + {{{T8R|0}}} + {{{T9R|0}}} + {{{T10R|0}}} + {{{T11R|0}}} + {{{T12R|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}}}+ {{{T11Y|0}}}+ {{{T12Y|0}}}}}''' || '''{{#expr:{{{T1YYR|0}}} + {{{T2YYR|0}}} + {{{T3YYR|0}}} + {{{T4YYR|0}}} + {{{T5YYR|0}}} + {{{T6YYR|0}}} + {{{T7YYR|0}}} + {{{T8YYR|0}}} + {{{T9YYR|0}}} + {{{T10YYR|0}}} + {{{T11YYR|0}}} + {{{T12YYR|0}}}}}''' || '''{{#expr:{{{T1R|0}}} + {{{T2R|0}}} + {{{T3R|0}}} + {{{T4R|0}}} + {{{T5R|0}}} + {{{T6R|0}}} + {{{T7R|0}}} + {{{T8R|0}}} + {{{T9R|0}}} + {{{T10R|0}}} + {{{T11R|0}}} + {{{T12R|0}}}}}''' ||

Latest revision as of 16:35, 14 October 2020

1 point Yellow card.svg Yellow Card
2 points Yellow card.svgYellow card.svgRed card.svg Second Caution Red Card
3 points Red card.svg Direct Red Card
Team Yellow card.svg Yellow card.svgYellow card.svgRed card.svg Red card.svg Points
Adelaide United 0 0 0 0
Brisbane Roar 0 0 0 0
Central Coast Mariners 0 0 0 0
Gold Coast United 0 0 0 0
Melbourne Victory 0 0 0 0
Newcastle Jets 0 0 0 0
North Queensland Fury 0 0 0 0
Perth Glory 0 0 0 0
Sydney FC 0 0 0 0
Wellington Phoenix 0 0 0 0
Melbourne Heart 0 0 0 0
Sydney Rovers 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 |
}}