Difference between revisions of "Template:Infobox Mosconi Cup"
Jump to navigation
Jump to search
imported>Zackmann08 (converting to use Template:infobox) |
imported>Armbrust (fix order of template and add back missing template parameter) |
||
| Line 4: | Line 4: | ||
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|size={{{logowidth|130px}}}|alt={{{alt|}}}}} | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|size={{{logowidth|130px}}}|alt={{{alt|}}}}} | ||
| − | | data1 = { | + | | label1 = Dates |
| + | | data1 = {{{dates|}}} | ||
| + | | label2 = Venue | ||
| + | | data2 = {{{venue|}}} | ||
| + | | label3 = Location | ||
| + | | data3 = {{{location|}}} | ||
| + | | label4 = Captains | ||
| + | | data4 ={{#if:{{{homecaptain|}}}{{{awaycaptain|}}}|{{{homecaptain}}} ({{{home}}})<br/>{{{awaycaptain}}} ({{{away}}})}} | ||
| + | | label5 = [[Most valuable player|MVP]] | ||
| + | | data5 = {{{MVP}}} | ||
| − | | | + | | data6 = {{#switch:{{{home}}}|EU=[[Image:Flag of Europe.svg|45px|Flag of Europe]]|US=[[Image:Flag of the United States.svg|57px|Flag of the United States]]}}<span style="font-size:125%; font-weight:bold"> {{{homescore|0}}} – {{{awayscore|0}}} </span>{{#switch:{{{away}}}|EU=[[Image:Flag of Europe.svg|45px|Flag of Europe]]|US=[[Image:Flag of the United States.svg|57px|Flag of the United States]]}}{{#if:{{{result|}}}|<br>''{{{result}}} the [[Mosconi Cup]]''}} |
| − | + | | rowstyle6 = border-top: 1px solid #aaa; padding-top: 3px; | |
| − | | | ||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | |||
| below ={{align|left|{{#switch:{{{year|1994}}}|1994=|#default=← [[{{#expr:{{{year}}}-1}} Mosconi Cup|{{#expr:{{{year}}}-1}}]]}}}}{{align|right|{{#switch:{{{year|2016}}}|2016=|#default=[[{{#expr:{{{year}}}+1}} Mosconi Cup|{{#expr:{{{year}}}+1}}]] →}}}} | | below ={{align|left|{{#switch:{{{year|1994}}}|1994=|#default=← [[{{#expr:{{{year}}}-1}} Mosconi Cup|{{#expr:{{{year}}}-1}}]]}}}}{{align|right|{{#switch:{{{year|2016}}}|2016=|#default=[[{{#expr:{{{year}}}+1}} Mosconi Cup|{{#expr:{{{year}}}+1}}]] →}}}} | ||
Revision as of 19:57, 29 January 2017
| File:Lua-Logo.svg | This template uses Lua: |
Template:Parameter names example
Usage
{{Infobox Mosconi Cup
| year =
| logo =
| logowidth =
| dates =
| venue =
| location =
| home = US or EU
| away = US or EU
| homecaptain =
| awaycaptain =
| MVP =
| homescore =
| awayscore =
| result = "United States wins", "Europe retains", etc.
}}
| The above documentation is transcluded from Template:Infobox Mosconi Cup/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |