Dota 2 Wiki
Register
(date formatting)
No edit summary
Line 25: Line 25:
 
| zh-hans = 开始日期
 
| zh-hans = 开始日期
 
}}'''
 
}}'''
|{{#time: j F Y | {{{start date|}}} | {{If lang|en=en|non-en={{SUBPAGENAME}}}} }}
+
|{{#time: {{lang|en=j F Y|zh-hans=Y年Fj日}} | {{{start date|}}} | {{If lang|en=en|non-en={{SUBPAGENAME}}}} }}
 
|-
 
|-
 
|'''{{lang
 
|'''{{lang
Line 34: Line 34:
 
| zh-hans = 结束日期
 
| zh-hans = 结束日期
 
}}'''
 
}}'''
|{{#time: j F Y | {{{end date|}}} | {{If lang|en=en|non-en={{SUBPAGENAME}}}} }}
+
|{{#time: {{lang|en=j F Y|zh-hans=Y年Fj日}} | {{{end date|}}} | {{If lang|en=en|non-en={{SUBPAGENAME}}}} }}
 
|-
 
|-
 
{{#if: {{{teams|}}}|
 
{{#if: {{{teams|}}}|

Revision as of 08:36, 22 August 2016

Template:Translation switching

Documentation for Template:Tournament infobox [ Usage | View | Edit | Purge | Subpages ]

Tournament infobox
Unknown
United States Moon
The best Tournament EU where 42 teams battle over an old cheese trophy.
Template:Lang UTCUTC12pWednesdayam31UTC:1am1212
Template:Lang UTCUTC12pTuesdayam31UTC:1am1212
Template:Lang 16
Template:Lang [[Version 6.66Template:If lang|6.66]] - [[Version 6.67Template:If lang|6.67]]
Template:Lang $ 3 000 000
Template:Lang Template:Lang
Template:Lang

Usage

{{Tournament infobox
| name = 
| icon = 
| image = 
| description = 
| location = 
| venue = 
| start date = 
| end date = 
| tier = <!-- The International/Major/Minor) -->
| teams = 
| version = 
| version2 = <!-- if needed -->
| access = 
| spectate = <!-- free/ticket -->
| link = 
| prize pool = 
| points = 
}}

Notes

  • Winners etc should be part of the page, NOT the template
  • Next/last seasons are given mostly in the navigation templates in the bottom of a page.
  • Wrapping supported: Template:Tournament infobox wrapper
  • Do not use Template:Ticon for the icon next to the name, it needs to be a direct file link. You can still look up the icons in the source code. Size is fixed 20px.

TemplateData

No description.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Tournament Namename title

no description

Example
The International 2011
Auto value
{{subst:PAGENAME}}
Stringrequired
Iconicon

no description

Example
File:Tournament icon The International.png
Auto value
Filesuggested
Imageimage

no description

Example
File:Tournament logo The International.png
Filesuggested
Locationlocation

The tournaments location and the flag of the country it takes place in.

Example
{{Flag|USA}} Seattle
Stringsuggested
Descriptiondescription

no description

Stringsuggested
Start Datestart date

no description

Example
2011-08-17
Daterequired
End Dateend date

no description

Example
2011-08-21
Daterequired
Tiertier

The tournament tier (The International, Major, Minor, Premium)

Example
Major
Stringsuggested
# of Teamsteams

The number of participating teams.

Example
16
Numbersuggested
Venuevenue

The name of the venue.

Example
Commerzbank Arena
Stringsuggested
Versionversion

The game version the tournament was played on. Use version2 if the tournament spanned multiple versions.

Example
7.00
Stringrequired
Version 2version2

The last game version the tournament was played on

Example
7.00b
Stringoptional
Prizepoolprize pool

no description

Example
$1,600,000
Stringrequired
Qualifying Pointspoints

The total number of qualifying points.

Example
1500
Numbersuggested
Organizerorganizer

no description

Example
[[BeyondTheSummit]]
Stringoptional
Websitelink

The tournament website.

Example
http://www.dota2.com.cn/dac/2018/index/?l=english
URLsuggested
Accessaccess

The tournament ticket/compendium.

Example
{{Cosmetic|ASUS ROG DreamLeague Season 3 (Ticket)}}
Stringoptional
Spectatespectate

Whether or not a ticket is needed to watch the game in the client (free/ticket).

Stringoptional
structurestructure

no description

Unknownoptional