Difference between revisions of "Template:MLS table row"

From blackwiki
Jump to navigation Jump to search
imported>Skotywa
m (adding documentation)
imported>Skotywa
m (shortening parameter names)
Line 1: Line 1:
|- {{#ifeq: {{{codematch}}} | {{{code}}} |bgcolor="#DFE7FF"}}
+
|- {{#ifeq: {{{match}}} | {{{code}}} |bgcolor="#DFE7FF"}}
 
|bgcolor={{#switch: {{{color}}} |ss="#3399FF" |usoc="#66CC00" |p="#FF7F00" |wp="#FF7F00" |ep="#3399FF" | "#FFFFFF"}}| '''{{{pos}}}'''
 
|bgcolor={{#switch: {{{color}}} |ss="#3399FF" |usoc="#66CC00" |p="#FF7F00" |wp="#FF7F00" |ep="#3399FF" | "#FFFFFF"}}| '''{{{pos}}}'''
 
|align=left|{{{team}}} {{#switch: {{{conf}}} |w1=(W1)|w2=(W2)|e1=(E1)|e2=(E2)}}
 
|align=left|{{{team}}} {{#switch: {{{conf}}} |w1=(W1)|w2=(W2)|e1=(E1)|e2=(E2)}}

Revision as of 04:01, 15 May 2010

|- |bgcolor="#FFFFFF"| {{{pos}}} |align=left|{{{team}}} | {{{pts}}} | {{{gp}}} | {{{w}}} | {{{l}}} | {{{t}}} | {{{gf}}} | {{{ga}}} |  Expression error: Unrecognized punctuation character "{".

Template documentation[view] [edit] [history] [purge]

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