Difference between revisions of "Template:Infobox tournament/sandbox"
Jump to navigation
Jump to search
imported>Anthony Appleyard m (Anthony Appleyard moved page Template:Infobox sport tournament/sandbox to Template:Infobox tournament/sandbox: Requested by Prisencolin at WP:RM/TR: more general use template, rather than just sports) |
imported>Frietjes |
||
| Line 17: | Line 17: | ||
| data3 = {{{location|}}} | | data3 = {{{location|}}} | ||
| − | | label4 = | + | | label4 = Date{{#if:{{{date|}}}||s}} |
| − | | data4 = {{#if:{{{start_date|}}} | {{{start_date}}}–{{{end_date|}}} }} | + | | data4 = {{#if:{{{date|}}}|{{{date}}}|{{#if:{{{start_date|}}} | {{{start_date}}}–{{{end_date|}}} }}}} |
| label5 = Month played | | label5 = Month played | ||
| Line 68: | Line 68: | ||
| data20 = {{#if:{{{champion|}}}|{{{champion}}}|{{{champions|}}}}} | | data20 = {{#if:{{{champion|}}}|{{{champion}}}|{{{champions|}}}}} | ||
| − | | label21 = {{#if:{{{runner-up2|}}} | + | | label21 = {{#if:{{{runner-up2|}}}|1st runner-up|{{#if:{{{runners-up2|}}}|1st runners-up|Runner-up}}}} |
| data21 = {{#if:{{{runner-up1|}}}|{{{runner-up1}}}|{{{runners-up1|}}}}} | | data21 = {{#if:{{{runner-up1|}}}|{{{runner-up1}}}|{{{runners-up1|}}}}} | ||
| Line 130: | Line 130: | ||
}}<noinclude> | }}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
| − | |||
| − | |||
| − | |||
</noinclude> | </noinclude> | ||
Revision as of 15:49, 27 November 2016
| 50px | This is the template sandbox page for Template:Infobox tournament (diff). |
| This template uses Lua: |
Contents
Usage
Template:Parameter names example
Sport tournament series
{{Infobox tournament
| name =
| image =
| caption =
| sport =
| location =
| start_date = <!-- or | date = or | month_played = -->
| end_date = <!-- or | month_played = -->
| established =
| defunct =
| teams =
| number = Number of tournaments
| commissioner =
| format =
| current_champion = <!--Use if still played-->
| final_champion = <!--Use if no longer played-->
}}
Single sport tournament
{{Infobox tournament
| name =
| sport =
| year =
| image =
| caption =
| location =
| start_date = <!-- or | date = -->
| end_date =
| established =
| administrator =
| tournament_format =
| host =
| venues =
| participants = <!-- or | teams = -->
| purse =
| champions = <!-- or | champion = -->
| runners-up1 = <!-- or | runner-up1 = -->
| runners-up2 = <!-- or | runner-up2 = -->
| matches =
| points =
| tries =
| goals =
| attendance =
| noaverage = <!-- Set to 1 to exclude average attendance per match -->
| mvp =
| top_scorer =
| top_try_scorer =
| stat1_label =
| stat1 =
| stat2_label =
| stat2 =
| stat3_label =
| stat3 =
| previous =
| next =
}}
Tracking category
See also
| The above documentation is transcluded from Template:Infobox tournament/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. |