Difference between revisions of "Template:MLS table row"
Jump to navigation
Jump to search
(add eliminated color) |
imported>WOSlinker (tidy style for better HTML5 compatibility) |
||
| Line 1: | Line 1: | ||
|- {{#ifeq: {{{match}}} | {{{code}}} |bgcolor="#DFE7FF"}} | |- {{#ifeq: {{{match}}} | {{{code}}} |bgcolor="#DFE7FF"}} | ||
|bgcolor={{#switch: {{{color}}} |ss="#3399FF" |usoc="#66CC00" |p="#FF7F00" |wp="#FF7F00" |ep="#3399FF" |e="#DC143C" | "#FFFFFF"}}| '''{{{pos}}}''' | |bgcolor={{#switch: {{{color}}} |ss="#3399FF" |usoc="#66CC00" |p="#FF7F00" |wp="#FF7F00" |ep="#3399FF" |e="#DC143C" | "#FFFFFF"}}| '''{{{pos}}}''' | ||
| − | |align | + | | style="text-align:left;" |{{{team}}} {{#switch: {{{conf}}} |w1=(W1)|w2=(W2)|e1=(E1)|e2=(E2)}} |
| '''{{#expr:(3*{{{w}}})+{{{t}}} }}''' | | '''{{#expr:(3*{{{w}}})+{{{t}}} }}''' | ||
| {{#expr:{{{w}}}+{{{l}}}+{{{t}}} }} | | {{#expr:{{{w}}}+{{{l}}}+{{{t}}} }} | ||
Latest revision as of 08:39, 3 January 2015
|- |bgcolor="#FFFFFF"| {{{pos}}} | style="text-align:left;" |{{{team}}} | Expression error: Unrecognized punctuation character "{". | Expression error: Unrecognized punctuation character "{". | {{{w}}} | {{{l}}} | {{{t}}} | {{{gf}}} | {{{ga}}} | Expression error: Unrecognized punctuation character "{".
Parameters
- team - The team name as it will appear in the table row (use wikilinks)
- code - The code that matches the team parameter
- match - A "passthrough" for the {{{team}}} parameter in the table template
- pos - Table position number
- w - Wins
- l - Losses
- t - Ties
- gf - Goals for
- ga - Goals against (goal differential is calculated automatically)
- color - Playoff color indicator
- ss - Supporters Shield
- usoc - US Open Cup
- p - Playoffs only
- wp - West playoffs
- ep - East playoffs
- e - Eliminated
- conf - Conference placement indicator
- w1 - (W1)
- w2 - (W2)
- e1 - (E1)
- e2 - (E2)
See also
| The above documentation is transcluded from Template:MLS table row/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |