Difference between revisions of "Template:Infobox Mosconi Cup"
Jump to navigation
Jump to search
(2018 now) |
|||
| (2 intermediate revisions by one other user not shown) | |||
| Line 12: | Line 12: | ||
| label4 = Captains | | label4 = Captains | ||
| data4 ={{#if:{{{homecaptain|}}}{{{awaycaptain|}}}|{{{homecaptain}}} ({{{home}}})<br/>{{{awaycaptain}}} ({{{away}}})}} | | data4 ={{#if:{{{homecaptain|}}}{{{awaycaptain|}}}|{{{homecaptain}}} ({{{home}}})<br/>{{{awaycaptain}}} ({{{away}}})}} | ||
| − | | label5 = [[Most valuable player|MVP]] | + | | label5 = {{#if:{{{MVP|}}}|[[Most valuable player|MVP]]}} |
| − | | data5 = {{{MVP}}} | + | | data5 = {{#if:{{{MVP|}}}|{{{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]]''}} | | 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; | | 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| | + | | below ={{align|left|{{#switch:{{{year|1994}}}|1994=|#default=← [[{{#expr:{{{year}}}-1}} Mosconi Cup|{{#expr:{{{year}}}-1}}]]}}}}{{align|right|{{#switch:{{{year|2019}}}|2019=|#default=[[{{#expr:{{{year}}}+1}} Mosconi Cup|{{#expr:{{{year}}}+1}}]] →}}}} |
| belowclass = hlist noprint nowrap | | belowclass = hlist noprint nowrap | ||
| belowstyle = border-top: 1px solid #aaa; padding-top: 3px; | | belowstyle = border-top: 1px solid #aaa; padding-top: 3px; | ||
Latest revision as of 00:20, 26 November 2019
| 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. |