Jump to content

Template:Infobox tournament/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
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 sport tournament
{{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 = -->
| establishment =
| 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 sport tournament
{{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

Usage

[edit]
{{{name}}}
{{{year}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}]]
{{{caption}}}
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}}}
← {{{previous}}}
{{{next}}} →

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]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Infobox tournament in articles based on its TemplateData.

TemplateData for Infobox tournament

TemplateData

No description.

Template parameters

ParameterDescriptionTypeStatus
namename tournament_name

no description

Unknownoptional
yearyear

no description

Unknownoptional
imageimage

no description

Unknownoptional
image_sizeimage_size

no description

Unknownoptional
altalt

no description

Unknownoptional
captioncaption

no description

Unknownoptional
gamegame

no description

Unknownoptional
sportsport

no description

Unknownoptional
locationlocation

no description

Unknownoptional
datedate

no description

Unknownoptional
start_datestart_date

no description

Unknownoptional
end_dateend_date

no description

Unknownoptional
month_playedmonth_played

no description

Unknownoptional
establishedestablished

no description

Unknownoptional
establishmentestablishment

no description

Unknownoptional
defunctdefunct

no description

Unknownoptional
final_yearfinal_year

no description

Unknownoptional
numbernumber

no description

Unknownoptional
administratorsadministrators

no description

Unknownoptional
administratoradministrator

no description

Unknownoptional
formatformat tournament_format

no description

Unknownoptional
hosthost

no description

Unknownoptional
venuesvenues

no description

Unknownoptional
venuevenue

no description

Unknownoptional
participantsparticipants

no description

Unknownoptional
teamsteams

no description

Unknownoptional
eventsevents

no description

Unknownoptional
defending_champsdefending_champs

no description

Unknownoptional
purse_labelpurse_label

no description

Unknownoptional
pursepurse

no description

Unknownoptional
broadcastbroadcast

no description

Unknownoptional
websitewebsite

no description

Unknownoptional
championchampion

no description

Unknownoptional
championschampions

no description

Unknownoptional
runner-up1runner-up1

no description

Unknownoptional
runners-up1runners-up1

no description

Unknownoptional
runner-up2runner-up2

no description

Unknownoptional
runners-up2runners-up2

no description

Unknownoptional
num_championshipsnum_championships

no description

Unknownoptional
2nd place2nd place

no description

Unknownoptional
3rd place3rd place

no description

Unknownoptional
matchesmatches

no description

Unknownoptional
goalsgoals

no description

Unknownoptional
attendanceattendance

no description

Unknownoptional
top_scorertop_scorer

no description

Unknownoptional
best_playerbest_player

no description

Unknownoptional
stat1stat1

no description

Unknownoptional
stat2stat2

no description

Unknownoptional
stat3stat3

no description

Unknownoptional
pointspoints

no description

Unknownoptional
triestries

no description

Unknownoptional
noaveragenoaverage

no description

Unknownoptional
mvp_labelmvp_label

no description

Unknownoptional
mvpmvp

no description

Unknownoptional
top_try_scorertop_try_scorer

no description

Unknownoptional
stat1_labelstat1_label

no description

Unknownoptional
stat2_labelstat2_label

no description

Unknownoptional
stat3_labelstat3_label

no description

Unknownoptional
current_championcurrent_champion

no description

Unknownoptional
currentcurrent

no description

Unknownoptional
final_championfinal_champion

no description

Unknownoptional
event1event1

no description

Unknownoptional
event1_locationevent1_location

no description

Unknownoptional
event1_datesevent1_dates

no description

Unknownoptional
event1_venueevent1_venue

no description

Unknownoptional
event1_purseevent1_purse

no description

Unknownoptional
event1_championevent1_champion

no description

Unknownoptional
event1_runner-upevent1_runner-up

no description

Unknownoptional
event1_matchesevent1_matches

no description

Unknownoptional
event1_mvpevent1_mvp

no description

Unknownoptional
event2event2

no description

Unknownoptional
event2_locationevent2_location

no description

Unknownoptional
event2_datesevent2_dates

no description

Unknownoptional
event2_venueevent2_venue

no description

Unknownoptional
event2_purseevent2_purse

no description

Unknownoptional
event2_championevent2_champion

no description

Unknownoptional
event2_runner-upevent2_runner-up

no description

Unknownoptional
event2_matchesevent2_matches

no description

Unknownoptional
event2_mvpevent2_mvp

no description

Unknownoptional
event3event3

no description

Unknownoptional
event3_locationevent3_location

no description

Unknownoptional
event3_datesevent3_dates

no description

Unknownoptional
event3_venueevent3_venue

no description

Unknownoptional
event3_purseevent3_purse

no description

Unknownoptional
event3_championevent3_champion

no description

Unknownoptional
event3_runner-upevent3_runner-up

no description

Unknownoptional
event3_matchesevent3_matches

no description

Unknownoptional
event3_mvpevent3_mvp

no description

Unknownoptional
event4event4

no description

Unknownoptional
event4_locationevent4_location

no description

Unknownoptional
event4_datesevent4_dates

no description

Unknownoptional
event4_venueevent4_venue

no description

Unknownoptional
event4_purseevent4_purse

no description

Unknownoptional
event4_championevent4_champion

no description

Unknownoptional
event4_runner-upevent4_runner-up

no description

Unknownoptional
event4_matchesevent4_matches

no description

Unknownoptional
event4_mvpevent4_mvp

no description

Unknownoptional
previousprevious

no description

Unknownoptional
nextnext

no description

Unknownoptional

Tracking category

[edit]

See also

[edit]