Difference between revisions of "Template:Infobox Mosconi Cup"
Jump to navigation
Jump to search
imported>Zackmann08 |
imported>Zackmann08 (converting to use Template:infobox) |
||
| Line 1: | Line 1: | ||
| − | < | + | <includeonly>{{Infobox |
| − | + | | above = {{{year}}} Mosconi Cup | |
| − | {{# | + | |
| − | + | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|size={{{logowidth|130px}}}|alt={{{alt|}}}}} | |
| − | + | ||
| − | + | | data1 = {{#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]]''}} | |
| − | + | ||
| − | + | | label2 = Dates | |
| − | + | | data2 = {{{dates|}}} | |
| − | {{#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]]}} | + | | label3 = Venue |
| − | {{#if:{{{result|}}}|< | + | | data3 = {{{venue|}}} |
| − | + | | label4 = Location | |
| − | + | | data4 = {{{location|}}} | |
| − | + | | label5 = Captains | |
| − | + | | data5 ={{#if:{{{homecaptain|}}}{{{awaycaptain|}}}|{{{homecaptain}}} ({{{home}}})<br/>{{{awaycaptain}}} ({{{away}}})}} | |
| − | + | ||
| − | | | + | | 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}}]] →}}}} |
| − | | | + | | belowclass = hlist noprint nowrap |
| − | + | | belowstyle = border-top: 1px solid #aaa; padding-top: 3px; | |
| − | + | ||
| − | + | }}</includeonly><noinclude> | |
| − | + | {{Documentation}} | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | }} | ||
| − | </ | ||
| − | < | ||
| − | |||
| − | |||
| − | }} | ||
</noinclude> | </noinclude> | ||
Revision as of 07:38, 29 January 2017
| 30px | 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. |