Difference between revisions of "Template:Infobox basketball final"
Jump to navigation
Jump to search
imported>Infinite mission |
imported>Bagumba (champion should be in bold, please use the sandbox test cases) |
||
| 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|}}}| | + | <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;">{{{team_A|{{{champion}}}}}}</td> | <td class="fn org" style="text-align:left;">{{{team_A|{{{champion}}}}}}</td> | ||
<td class="agent">{{{team_A_coach|{{{champion_coach}}}}}}</td> | <td class="agent">{{{team_A_coach|{{{champion_coach}}}}}}</td> | ||
Revision as of 03:01, 14 June 2019
| 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. |