Template:Infobox darts tournament/doc

From IxWiki
Revision as of 08:26, 2 December 2018 by >Zyxw (document alternative parameter names)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usage

{{{tournament_name}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}]]
Tournament information
Dates{{{dates}}}
Venue{{{venue}}}
Location{{{location}}}
Country{{{country}}}
Established{{{establishment}}}
Organisation(s){{{organisation}}}
Format{{{format}}}
Prize fund{{{prizefund}}}
Month(s) Played{{{month_played}}}
Final Year{{{final year}}}
Current champion(s)
{{{Current Champion}}}
Final champion(s)
{{{Final Champion}}}
{{Infobox darts tournament
| tournament_name  = 
| image            = 
| image_size       = 
| alt              = 
| dates            = 
| venue            = 
| location         = 
| country          = 
| establishment    = 
| organisation     = 
| format           = 
| prizefund        = 
| month_played     = 
| final year       = 
| Current Champion = 
| Final Champion   = 
}}

Parameters

Some parameters are required.

Required

tournament_name or name
The full name of the tournament.
location
In what town/city the tournament was held for the previous tournament.
country
In what country the tournament was held for the previous tournament.
establishment
The year of the first tournament
organisation or organization
The abbreviated version of the organisation that runs the tournament (e.g. PDC, BDO)

Optional

image
image_size or imagesize
alt
The logo of the tournament. Use the full image syntax, including the [[File:]] markup, a size, and alt text. Do not use the "thumb" or "frame" attributes.
dates
The start and end date.
venue
The name of the place where the tournament was held for the previous tournament.
format
The format of the games (legs/sets).
prizefund
The prize pool for the previous tournament.
month_played
Note: Only use this parameter if tournament is still played. The month the tournament was played in the previous year.
final year
Note: Only use this parameter if tournament is no longer played. The final year of which the tournament was held.
Current Champion
Note: Only use this parameter if tournament is still played. The champion of the previous tournament.
Final Champion
Note: Only use this parameter if tournament is no longer played. The champion of the final year in which the tournament was held.

Example

Sponsor
Template Tournament
Tournament information
VenueTemplate Palace
LocationTemplate City
CountryTemplonaian
Established1994
Organisation(s)TEO
FormatSets
Prize fund£100,000,000 (2010)
Month(s) PlayedMarch
Current champion(s)
England Tim Template
{{Infobox darts tournament
| tournament_name  = Sponsor<br>Template Tournament
| image            = 
| image_size       = 
| alt              = 
| dates            = 
| venue            = [[Template Palace]]
| location         = [[Template City]]
| country          = [[Templonaian]]
| establishment    = 1994
| organisation     = [[Template Example Organisation|TEO]]
| format           = [[Set (darts)|Sets]]
| prizefund        = [[Pound sterling|£]]100,000,000 (2010)
| month_played     = March
| final year       = 
| Current Champion = {{flagicon|ENG}} [[Tim Template]]
| Final Champion   = 
}}

See also