Difference between revisions of "Template:Infobox Mosconi Cup"

From blackwiki
Jump to navigation Jump to search
imported>Lee Vilenski
(remove MVP if not relevent)
imported>Lee Vilenski
Line 13: Line 13:
 
| data4 ={{#if:{{{homecaptain|}}}{{{awaycaptain|}}}|{{{homecaptain}}} ({{{home}}})<br/>{{{awaycaptain}}} ({{{away}}})}}
 
| data4 ={{#if:{{{homecaptain|}}}{{{awaycaptain|}}}|{{{homecaptain}}} ({{{home}}})<br/>{{{awaycaptain}}} ({{{away}}})}}
 
| label5 = {{#if:{{{MVP|}}}|[[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">&nbsp;&nbsp;{{{homescore|0}}}&nbsp;&nbsp;–&nbsp;{{{awayscore|0}}}&nbsp;&nbsp;</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">&nbsp;&nbsp;{{{homescore|0}}}&nbsp;&nbsp;–&nbsp;{{{awayscore|0}}}&nbsp;&nbsp;</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]]''}}

Revision as of 10:09, 8 March 2019

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

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.
}}