Difference between revisions of "Template:Infobox basketball final"

From blackwiki
Jump to navigation Jump to search
imported>Sabbatino
(Rvt undiscussed change)
imported>Infinite mission
(For series not east-west)
Line 9: Line 9:
 
<table style="width:100%; background:transparent; text-align: center;">
 
<table style="width:100%; background:transparent; text-align: center;">
 
<tr><th>Team</th><th>Coach</th><th>Wins</th></tr>
 
<tr><th>Team</th><th>Coach</th><th>Wins</th></tr>
<tr class="vcard" style="{{#ifexpr:{{#if:{{{champion|}}}|1|{{ifempty|{{{west_games|}}}|0}} > {{ifempty|{{{east_games|}}}|0}} }}|font-weight:bold;}}">
+
<tr class="vcard" style="{{#ifexpr:{{#if:{{{champion|}}}|1|{{ifempty|{{{team_A_games|}}}|0}} > {{ifempty|{{{team_B_games|}}}|0}} }}|font-weight:bold;}}">
<td class="fn org" style="text-align:left;">{{{west_team|{{{champion}}}}}}</td>
+
<td class="fn org" style="text-align:left;">{{{team_A|{{{champion}}}}}}</td>
<td class="agent">{{{west_coach|{{{champion_coach}}}}}}</td>
+
<td class="agent">{{{team_A_coach|{{{champion_coach}}}}}}</td>
<td>{{{west_games|{{{champion_games}}}}}}</td>
+
<td>{{{team_A_games|{{{champion_games}}}}}}</td>
 
</tr>
 
</tr>
<tr class="vcard" style="{{#ifexpr:{{#if:{{{champion|}}}|0|{{ifempty|{{{east_games|}}}|0}} > {{ifempty|{{{west_games|}}}|0}} }}|font-weight:bold;}}">
+
<tr class="vcard" style="{{#ifexpr:{{#if:{{{champion|}}}|0|{{ifempty|{{{team_B_games|}}}|0}} > {{ifempty|{{{team_A_games|}}}|0}} }}|font-weight:bold;}}">
<td class="fn org" style="text-align:left;">{{{east_team|{{{runnerup}}}}}}</td>
+
<td class="fn org" style="text-align:left;">{{{team_B|{{{runnerup}}}}}}</td>
<td class="agent">{{{east_coach|{{{runnerup_coach}}}}}}</td>
+
<td class="agent">{{{team_B_coach|{{{runnerup_coach}}}}}}</td>
<td>{{{east_games|{{{runnerup_games}}}}}}</td>
+
<td>{{{team_B_games|{{{runnerup_games}}}}}}</td>
 
</tr></table>
 
</tr></table>
  

Revision as of 22:01, 13 June 2019

Template:Parameter names example


Usage

{{Infobox basketball final
| league = REQUIRED
| year = REQUIRED
| image = 
| image_size = 
| image_alt = 
| caption = 
<!-- CHAMPION/RUNNERUP -->
| champion = 
| champion_coach = 
| champion_games = 
| runnerup = 
| runnerup_coach = 
| runnerup_games = 
<! -- TEAM A/TEAM B -->
| team_A = 
| team_A_coach =
| team_A_games = 
| team_B = 
| team_B_coach = 
| team_B_games = 

| dates = 
| MVP = 
| HOFers = 

| ECF result = 
| WCF result = 
| PF result = <!-- For WNBL -->
}}