Difference between revisions of "Template:Infobox darts tournament/doc"
Jump to navigation
Jump to search
imported>Zyxw (add Parameter names example, misc formatting) |
imported>Zyxw (document alternative parameter names) |
||
Line 3: | Line 3: | ||
== Usage == | == Usage == | ||
− | {{Parameter names example | name | tournament_name | image | image_size | imagesize | alt | dates | venue | location | country | establishment | organization | organisation | format | prizefund | prize_fund | month_played | final year | final_year | Current Champion | current_champion | Final Champion | final_champion }} | + | {{Parameter names example <!--| name --> | tournament_name | image | image_size | imagesize | alt | dates | venue | location | country | establishment <!--| organization --> | organisation | format | prizefund | prize_fund | month_played | final year | final_year | Current Champion | current_champion | Final Champion | final_champion }} |
<pre style="overflow: auto;"> | <pre style="overflow: auto;"> | ||
Line 30: | Line 30: | ||
Some parameters are required. | Some parameters are required. | ||
=== Required === | === Required === | ||
− | ; tournament_name: The full name of the tournament. | + | ; tournament_name {{nobold|or}} name: The full name of the tournament. |
; location: In what town/city the tournament was held for the previous 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. | ; country: In what country the tournament was held for the previous tournament. | ||
; establishment: The year of the first tournament | ; establishment: The year of the first tournament | ||
− | ; organisation: The abbreviated version of the organisation that runs the tournament (e.g. PDC, BDO) | + | ; organisation {{nobold|or}} organization: The abbreviated version of the organisation that runs the tournament (e.g. PDC, BDO) |
=== Optional === | === Optional === | ||
; image | ; image | ||
− | ; image_size | + | ; image_size {{nobold|or}} imagesize |
; alt | ; alt | ||
: The logo of the tournament. Use the full image syntax, including the <nowiki>[[File:]]</nowiki> markup, a size, and [[WP:ALT|alt text]]. Do not use the "thumb" or "frame" attributes. | : The logo of the tournament. Use the full image syntax, including the <nowiki>[[File:]]</nowiki> markup, a size, and [[WP:ALT|alt text]]. Do not use the "thumb" or "frame" attributes. |
Latest revision as of 13:26, 2 December 2018
![]() | This is a documentation subpage for Template:Infobox darts tournament. It contains usage information, categories and other content that is not part of the original template page. |
Usage
Template:Parameter names example
{{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 | |
Venue | Template Palace |
Location | Template City |
Country | Templonaian |
Established | 1994 |
Organisation(s) | TEO |
Format | Sets |
Prize fund | £100,000,000 (2010) |
Month(s) Played | March |
Current champion(s) | |
![]() |
{{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