Difference between revisions of "Template:Infobox basketball final"
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|{{{ | + | <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;">{{{ | + | <td class="fn org" style="text-align:left;">{{{team_A|{{{champion}}}}}}</td> |
| − | <td class="agent">{{{ | + | <td class="agent">{{{team_A_coach|{{{champion_coach}}}}}}</td> |
| − | <td>{{{ | + | <td>{{{team_A_games|{{{champion_games}}}}}}</td> |
</tr> | </tr> | ||
| − | <tr class="vcard" style="{{#ifexpr:{{#if:{{{champion|}}}|0|{{ifempty|{{{ | + | <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;">{{{ | + | <td class="fn org" style="text-align:left;">{{{team_B|{{{runnerup}}}}}}</td> |
| − | <td class="agent">{{{ | + | <td class="agent">{{{team_B_coach|{{{runnerup_coach}}}}}}</td> |
| − | <td>{{{ | + | <td>{{{team_B_games|{{{runnerup_games}}}}}}</td> |
</tr></table> | </tr></table> | ||
Revision as of 22:01, 13 June 2019
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
| 30px | This template uses Lua: |
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 -->
}}
| The above documentation is transcluded from Template:Infobox basketball final/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |