Wikilogo.png

Maintenance has now concluded for September 11th, 2017.
Editing is now enabled.

Wikilogo.png

Difference between revisions of "Template:MLS"

From Minecart Rapid Transit Wiki
Jump to: navigation, search
Minor
Minor
Line 1: Line 1:
|style="background:{{#switch: {{{1|}}}|Waterville=darkgreen|Laclede=blue|Zaquar={{htmlcol|8EBCC1}}|Radiance=white|Chillington=cyan|Akala={{htmlcol|5E3AC1}}|Western={{htmlcol|04B4AE}}|PMWS=lime|Titsensaki=green|Utopia={{htmlcol|BE85DC}}|Royal={{htmlcol|FFFDD0}}|Oakburgh=black|Ashton=red|Arcadium|black|Ilirea=orange|Frostbite={{htmlcol|5D88A2}}}}" | {{color|{{#switch: {{{1}}}|Waterville=gold|Laclede=white|Zaquar=black|Radiance=black|Chillington=black|Akala=white|Western=white|PMWS=black|Titsensaki=white|Utopia=black|Royal={{htmlcol|D4AF37}}|Oakburgh=gold|Ashton=white|Arcadium=red|Ilirea=black|Frostbite=black}}|{{#switch: {{{1}}}|Waterville=Waterville Timbers|Laclede=Laclede United|Zaquar=Zaquar Diamondbacks|Radiance=Radiance Square SC|Chillington=Chillington United|Akala=Akala Sea Dogs|Western=Western East-Enders|PMWS=PMWS Hikers|Titsensaki=Titsensaki Ribbits|Utopia=AC Utopia|Royal=Royal Ferry Ducks|Oakburgh=Oakburgh Penguins|Ashton=Ashton Patches|Arcadium=Red Hot Chili Peppers|Ilirea=Ilirea Dragons|Frostbite=Frostbite SC}}}}
+
|style="background:{{#switch: {{{1|}}}|Waterville=darkgreen|Laclede=blue|Zaquar={{htmlcol|8EBCC1}}|Radiance=white|Chillington=cyan|Akala={{htmlcol|5E3AC1}}|Western={{htmlcol|04B4AE}}|PMWS=lime|Titsensaki=green|Utopia={{htmlcol|BE85DC}}|Royal={{htmlcol|FFFDD0}}|Oakburgh=black|Ashton=red|Arcadium|black|Ilirea=orange|Frostbite={{htmlcol|5D88A2}}}}" | {{color|{{#switch: {{{1}}}|Waterville=gold|Laclede=white|Zaquar=black|Radiance=black|Chillington=black|Akala=white|Western=white|PMWS=black|Titsensaki=white|Utopia=black|Royal={{htmlcol|D4AF37}}|Oakburgh=gold|Ashton=white|Arcadium=red|Ilirea=black|Frostbite={{htmlcol|646496}}}}|{{#switch: {{{1}}}|Waterville=Waterville Timbers|Laclede=Laclede United|Zaquar=Zaquar Diamondbacks|Radiance=Radiance Square SC|Chillington=Chillington United|Akala=Akala Sea Dogs|Western=Western East-Enders|PMWS=PMWS Hikers|Titsensaki=Titsensaki Ribbits|Utopia=AC Utopia|Royal=Royal Ferry Ducks|Oakburgh=Oakburgh Penguins|Ashton=Ashton Patches|Arcadium=Red Hot Chili Peppers|Ilirea=Ilirea Dragons|Frostbite=Frostbite SC}}}}
 
| <center>{{#ifexpr: {{{3|}}} > {{{4|}}} | '''{{{3}}}''' | {{{3}}} }} - {{#ifexpr: {{{4|}}} > {{{3|}}} | '''{{{4}}}''' | {{{4}}} }}</center>
 
| <center>{{#ifexpr: {{{3|}}} > {{{4|}}} | '''{{{3}}}''' | {{{3}}} }} - {{#ifexpr: {{{4|}}} > {{{3|}}} | '''{{{4}}}''' | {{{4}}} }}</center>
|style="background:{{#switch: {{{2|}}}||Waterville=darkgreen|Laclede=blue|Zaquar={{htmlcol|8EBCC1}}|Radiance=white|Chillington=cyan|Akala={{htmlcol|5E3AC1}}|Western={{htmlcol|04B4AE}}|PMWS=lime|Titsensaki=green|Utopia={{htmlcol|BE85DC}}|Royal={{htmlcol|FFFDD0}}|Oakburgh=black|Ashton=red|Arcadium|black|Ilirea=orange|Frostbite={{htmlcol|5D88A2}}}}" | {{color|{{#switch: {{{2}}}|Waterville=gold|Laclede=white|Zaquar=black|Radiance=black|Chillington=black|Akala=white|Western=white|PMWS=black|Titsensaki=white|Utopia=black|Royal={{htmlcol|D4AF37}}|Oakburgh=gold|Ashton=white|Arcadium=red|Ilirea=black|Frostbite=black}}|{{#switch: {{{2}}}|Waterville=Waterville Timbers|Laclede=Laclede United|Zaquar=Zaquar Diamondbacks|Radiance=Radiance Square SC|Chillington=Chillington United|Akala=Akala Sea Dogs|Western=Western East-Enders|PMWS=PMWS Hikers|Titsensaki=Titsensaki Ribbits|Utopia=AC Utopia|Royal=Royal Ferry Ducks|Oakburgh=Oakburgh Penguins|Ashton=Ashton Patches|Arcadium=Red Hot Chili Peppers|Ilirea=Ilirea Dragons|Frostbite=Frostbite SC}}}}
+
|style="background:{{#switch: {{{2|}}}||Waterville=darkgreen|Laclede=blue|Zaquar={{htmlcol|8EBCC1}}|Radiance=white|Chillington=cyan|Akala={{htmlcol|5E3AC1}}|Western={{htmlcol|04B4AE}}|PMWS=lime|Titsensaki=green|Utopia={{htmlcol|BE85DC}}|Royal={{htmlcol|FFFDD0}}|Oakburgh=black|Ashton=red|Arcadium|black|Ilirea=orange|Frostbite={{htmlcol|5D88A2}}}}" | {{color|{{#switch: {{{2}}}|Waterville=gold|Laclede=white|Zaquar=black|Radiance=black|Chillington=black|Akala=white|Western=white|PMWS=black|Titsensaki=white|Utopia=black|Royal={{htmlcol|D4AF37}}|Oakburgh=gold|Ashton=white|Arcadium=red|Ilirea=black|Frostbite={{htmlcol|646496}}}}|{{#switch: {{{2}}}|Waterville=Waterville Timbers|Laclede=Laclede United|Zaquar=Zaquar Diamondbacks|Radiance=Radiance Square SC|Chillington=Chillington United|Akala=Akala Sea Dogs|Western=Western East-Enders|PMWS=PMWS Hikers|Titsensaki=Titsensaki Ribbits|Utopia=AC Utopia|Royal=Royal Ferry Ducks|Oakburgh=Oakburgh Penguins|Ashton=Ashton Patches|Arcadium=Red Hot Chili Peppers|Ilirea=Ilirea Dragons|Frostbite=Frostbite SC}}}}
 
| {{{5|}}}
 
| {{{5|}}}
 
|-
 
|-

Revision as of 22:09, 12 September 2017

|style="background:" |

|
Expression error: Unexpected > operator. - Expression error: Unexpected > operator.

|style="background:darkgreen" | | |-



Ignore everything above; the template is working fine.

Documentation

Precede with this:

 {|class="wikitable"
 |-
 ! scope="col" | Away Team
 ! scope="col" | Score
 ! scope="col" | Home Team
 ! scope="col" | Date Played
 |-

In the middle use: {{MLS|1|2|3|4|5}} where the numbers mean

  1. Away Team (first word, properly capitalized)
  2. Home Team (first word, properly capitalized)
  3. Away Team score
  4. Home Team score
  5. Date played

End with this:

 |}