Template:Infobox tournament/doc: Difference between revisions
m +purse_label to templatedata |
|||
(20 intermediate revisions by 14 users not shown) | |||
Line 1: | Line 1: | ||
{{Documentation subpage}} |
{{Documentation subpage}} |
||
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> |
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> |
||
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}} |
|||
== Usage == |
== Usage == |
||
{{Parameter names example|Current Champion|Final Champion|administrator|administrators|alt|attendance|best_player|broadcast|caption|champion|champions|current|current_champion|defunct|end_date|established|final year|final_champion|final_year|format|goals|host|image|image_size|location|matches|month played|month_played|mvp|mvp_label|name|next|number|participants|points|previous|purse|runner-up1|runner-up2|runners-up1|runners-up2|sport|start_date|stat1|stat1_label|stat2|stat2_label|stat3|stat3_label|teams|top_scorer|top_try_scorer|tournament format|tournament_format|tournament_name|tries|venues|website|year}} |
|||
=== Sport tournament series === |
=== Sport tournament series === |
||
<syntaxhighlight lang="wikitext" style="overflow: auto;"> |
|||
<pre> |
|||
{{Infobox |
{{Infobox tournament |
||
| name = |
| name = |
||
| image = |
| image = |
||
| caption = |
| caption = |
||
| sport = |
|||
| location = |
| location = |
||
| start_date = <!-- or | month_played = --> |
| start_date = <!-- or | date = or | month_played = --> |
||
| end_date = <!-- or | month_played = --> |
| end_date = <!-- or | month_played = --> |
||
| |
| established = |
||
| defunct = |
| defunct = |
||
| teams = |
|||
| final_year = <!--Use if no longer played--> |
|||
| number = <!-- Number of tournaments --> |
|||
| administrator = |
|||
| commissioner = |
|||
| format = |
| format = |
||
| purse = |
|||
| current_champion = <!--Use if still played--> |
| current_champion = <!--Use if still played--> |
||
| final_champion = <!--Use if no longer played--> |
| final_champion = <!--Use if no longer played--> |
||
}} |
}} |
||
</syntaxhighlight> |
|||
</pre> |
|||
=== Single sport tournament === |
=== Single sport tournament === |
||
<syntaxhighlight lang="wikitext" style="overflow: auto;"> |
|||
<pre> |
|||
{{Infobox |
{{Infobox tournament |
||
| name = |
| name = |
||
| sport = |
|||
| year = |
| year = |
||
| image = |
| image = |
||
| caption = |
| caption = |
||
| location = |
| location = |
||
| start_date = |
| start_date = <!-- or | date = --> |
||
| end_date = |
| end_date = |
||
| established = |
|||
| administrator = |
| administrator = |
||
| tournament_format = |
| tournament_format = |
||
Line 42: | Line 49: | ||
| runners-up2 = <!-- or | runner-up2 = --> |
| runners-up2 = <!-- or | runner-up2 = --> |
||
| matches = |
| matches = |
||
| points = |
|||
| tries = |
|||
| goals = |
| goals = |
||
| attendance = |
| attendance = |
||
| noaverage = <!-- Set to 1 to exclude average attendance per match --> |
|||
| mvp = |
|||
| top_scorer = |
| top_scorer = |
||
| top_try_scorer = |
|||
| stat1_label = |
| stat1_label = |
||
| stat1 = |
| stat1 = |
||
| stat2_label = |
| stat2_label = |
||
| stat2 = |
| stat2 = |
||
| stat3_label = |
|||
| stat3 = |
|||
| previous = |
| previous = |
||
| next = |
| next = |
||
}} |
}} |
||
</syntaxhighlight> |
|||
</pre> |
|||
{{-}} |
|||
== TemplateData == |
|||
{{TemplateData header}} |
|||
{{collapse top|TemplateData}} |
|||
<templatedata> |
|||
{ |
|||
"params": { |
|||
"name": { |
|||
"aliases": [ |
|||
"tournament_name" |
|||
] |
|||
}, |
|||
"year": {}, |
|||
"image": {}, |
|||
"image_size": {}, |
|||
"alt": {}, |
|||
"caption": {}, |
|||
"game": {}, |
|||
"sport": {}, |
|||
"location": {}, |
|||
"date": {}, |
|||
"start_date": {}, |
|||
"end_date": {}, |
|||
"month_played": {}, |
|||
"established": {}, |
|||
"establishment": {}, |
|||
"defunct": {}, |
|||
"final_year": {}, |
|||
"number": {}, |
|||
"administrators": {}, |
|||
"administrator": {}, |
|||
"format": { |
|||
"aliases": [ |
|||
"tournament_format" |
|||
] |
|||
}, |
|||
"host": {}, |
|||
"venues": {}, |
|||
"venue": {}, |
|||
"participants": {}, |
|||
"teams": {}, |
|||
"events": {}, |
|||
"defending_champs": {}, |
|||
"purse_label": {}, |
|||
"purse": {}, |
|||
"broadcast": {}, |
|||
"website": {}, |
|||
"champion": {}, |
|||
"champions": {}, |
|||
"runner-up1": {}, |
|||
"runners-up1": {}, |
|||
"runner-up2": {}, |
|||
"runners-up2": {}, |
|||
"num_championships": {}, |
|||
"2nd place": {}, |
|||
"3rd place": {}, |
|||
"matches": {}, |
|||
"goals": {}, |
|||
"attendance": {}, |
|||
"top_scorer": {}, |
|||
"best_player": {}, |
|||
"stat1": {}, |
|||
"stat2": {}, |
|||
"stat3": {}, |
|||
"points": {}, |
|||
"tries": {}, |
|||
"noaverage": {}, |
|||
"mvp_label": {}, |
|||
"mvp": {}, |
|||
"top_try_scorer": {}, |
|||
"stat1_label": {}, |
|||
"stat2_label": {}, |
|||
"stat3_label": {}, |
|||
"current_champion": {}, |
|||
"current": {}, |
|||
"final_champion": {}, |
|||
"event1": {}, |
|||
"event1_location": {}, |
|||
"event1_dates": {}, |
|||
"event1_venue": {}, |
|||
"event1_purse": {}, |
|||
"event1_champion": {}, |
|||
"event1_runner-up": {}, |
|||
"event1_matches": {}, |
|||
"event1_mvp": {}, |
|||
"event2": {}, |
|||
"event2_location": {}, |
|||
"event2_dates": {}, |
|||
"event2_venue": {}, |
|||
"event2_purse": {}, |
|||
"event2_champion": {}, |
|||
"event2_runner-up": {}, |
|||
"event2_matches": {}, |
|||
"event2_mvp": {}, |
|||
"event3": {}, |
|||
"event3_location": {}, |
|||
"event3_dates": {}, |
|||
"event3_venue": {}, |
|||
"event3_purse": {}, |
|||
"event3_champion": {}, |
|||
"event3_runner-up": {}, |
|||
"event3_matches": {}, |
|||
"event3_mvp": {}, |
|||
"event4": {}, |
|||
"event4_location": {}, |
|||
"event4_dates": {}, |
|||
"event4_venue": {}, |
|||
"event4_purse": {}, |
|||
"event4_champion": {}, |
|||
"event4_runner-up": {}, |
|||
"event4_matches": {}, |
|||
"event4_mvp": {}, |
|||
"previous": {}, |
|||
"next": {} |
|||
}, |
|||
"paramOrder": [ |
|||
"name", |
|||
"year", |
|||
"image", |
|||
"image_size", |
|||
"alt", |
|||
"caption", |
|||
"game", |
|||
"sport", |
|||
"location", |
|||
"date", |
|||
"start_date", |
|||
"end_date", |
|||
"month_played", |
|||
"established", |
|||
"establishment", |
|||
"defunct", |
|||
"final_year", |
|||
"number", |
|||
"administrators", |
|||
"administrator", |
|||
"format", |
|||
"host", |
|||
"venues", |
|||
"venue", |
|||
"participants", |
|||
"teams", |
|||
"events", |
|||
"defending_champs", |
|||
"purse_label", |
|||
"purse", |
|||
"broadcast", |
|||
"website", |
|||
"champion", |
|||
"champions", |
|||
"runner-up1", |
|||
"runners-up1", |
|||
"runner-up2", |
|||
"runners-up2", |
|||
"num_championships", |
|||
"2nd place", |
|||
"3rd place", |
|||
"matches", |
|||
"goals", |
|||
"attendance", |
|||
"top_scorer", |
|||
"best_player", |
|||
"stat1", |
|||
"stat2", |
|||
"stat3", |
|||
"points", |
|||
"tries", |
|||
"noaverage", |
|||
"mvp_label", |
|||
"mvp", |
|||
"top_try_scorer", |
|||
"stat1_label", |
|||
"stat2_label", |
|||
"stat3_label", |
|||
"current_champion", |
|||
"current", |
|||
"final_champion", |
|||
"event1", |
|||
"event1_location", |
|||
"event1_dates", |
|||
"event1_venue", |
|||
"event1_purse", |
|||
"event1_champion", |
|||
"event1_runner-up", |
|||
"event1_matches", |
|||
"event1_mvp", |
|||
"event2", |
|||
"event2_location", |
|||
"event2_dates", |
|||
"event2_venue", |
|||
"event2_purse", |
|||
"event2_champion", |
|||
"event2_runner-up", |
|||
"event2_matches", |
|||
"event2_mvp", |
|||
"event3", |
|||
"event3_location", |
|||
"event3_dates", |
|||
"event3_venue", |
|||
"event3_purse", |
|||
"event3_champion", |
|||
"event3_runner-up", |
|||
"event3_matches", |
|||
"event3_mvp", |
|||
"event4", |
|||
"event4_location", |
|||
"event4_dates", |
|||
"event4_venue", |
|||
"event4_purse", |
|||
"event4_champion", |
|||
"event4_runner-up", |
|||
"event4_matches", |
|||
"event4_mvp", |
|||
"previous", |
|||
"next" |
|||
] |
|||
} |
|||
</templatedata> |
|||
{{collapse bottom}} |
|||
== Tracking category == |
|||
* {{clc|Pages using infobox tournament with unknown parameters}} |
|||
== See also == |
|||
* [[Template:Infobox sports competition event]] |
|||
* [[Template:Infobox games]] |
|||
<includeonly> |
<includeonly>{{Sandbox other|| |
||
<!-- Categories go here, and interwikis go in Wikidata --> |
<!-- Categories go here, and interwikis go in Wikidata --> |
||
[[Category:Sports infobox templates]] |
[[Category:Sports infobox templates|Tournament]] |
||
[[Category:Templates that add a tracking category]] |
|||
</includeonly> |
|||
}}</includeonly> |
Latest revision as of 23:10, 16 November 2024
This is a documentation subpage for Template:Infobox tournament. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
Usage
[edit]{{{year}}} | |
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}]] | |
Tournament information | |
---|---|
Sport | {{{sport}}} |
Location | {{{location}}} |
Dates | {{{start_date}}}–{{{end_date}}} |
Month played | {{{month_played}}} |
Established | {{{established}}} |
Defunct | {{{defunct}}} |
Final year | {{{final_year}}} |
Number of tournaments | {{{number}}} |
Administrators | {{{administrator}}} |
Format | {{{format}}} |
Tournament format(s) | {{{tournament_format}}} |
Host(s) | {{{host}}} |
Venue(s) | {{{venues}}} |
Participants | {{{participants}}} |
Purse | {{{purse}}} |
Broadcast | {{{broadcast}}} |
Website | {{{website}}} |
Final positions | |
Champion | {{{champion}}} |
1st runner-up | {{{runner-up1}}} |
2nd runner-up | {{{runner-up2}}} |
Tournament statistics | |
Matches played | {{{matches}}} |
Goals scored | {{{goals}}} |
Points scored | {{{points}}} |
Tries scored | {{{tries}}} |
Attendance | {{{attendance}}} (Expression error: Unrecognized punctuation character "&". per match) |
{{{mvp_label}}} | {{{mvp}}} |
Top scorer(s) | {{{top_scorer}}} |
Top try scorer(s) | {{{top_try_scorer}}} |
{{{stat1_label}}} | {{{stat1}}} |
{{{stat2_label}}} | {{{stat2}}} |
{{{stat3_label}}} | {{{stat3}}} |
Current champion | |
{{{current_champion}}} | |
Most recent tournament | |
{{{current}}} | |
Final champion | |
{{{final_champion}}} | |
Sport tournament series
[edit]{{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
[edit]{{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 =
}}
TemplateData
[edit]TemplateData for Infobox tournament
TemplateData
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
No description.
|
Tracking category
[edit]See also
[edit]