Template:Infobox Tournament: Difference between revisions
Template page
More actions
Esportsamaze (talk | contribs) Created page with "<noinclude> {{#cargo_declare:_table=Tournaments |name=String |image=File |organizer=String |game=String |type=String |location=String |prizepool=String |start_date=Date |end_date=Date |winner=Page }} </noinclude><includeonly> {{#cargo_store:_table=Tournaments |name={{{name|{{PAGENAME}}}}} |image={{{image|}}} |organizer={{{organizer|}}} |game={{{game|BGMI}}} |type={{{type|}}} |location={{{location|}}} |prizepool={{{prizepool|}}} |start_date={{{start_date|}}} |end_date={{{..." |
Esportsamaze (talk | contribs) No edit summary |
||
| (33 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{ | == Usage == | ||
|name= | Copy and paste this code to create a new Tournament page. | ||
|image= | |||
| | <pre> | ||
| | {{Infobox Tournament | ||
| | |name = | ||
| | |image = | ||
| | |image_dark = | ||
| | |series = | ||
| | |series_season = | ||
| | |series_value = | ||
|organizer = | |||
|sponsor = | |||
|game = BGMI | |||
| | |type = Online | ||
| | |tier = A-Tier | ||
| | |mode = Squads | ||
| | |currency = ₹ | ||
| | |rate = 1 | ||
|location= | |prizepool = | ||
| | |start_date = YYYY-MM-DD | ||
| | |end_date = YYYY-MM-DD | ||
| | |location = India | ||
| | |venue = | ||
|device = | |||
|winner = | |||
|runner_up = | |||
|instagram = | |||
|twitter = | |||
|youtube = | |||
|discord = | |||
|website = | |||
}} | }} | ||
</pre> | |||
== Parameters == | |||
* '''series_value''': (Important) Enter '1', '2', '3' etc. This allows the "Previous / Next" buttons to work automatically. | |||
* '''currency''': The symbol of the prize money (e.g. $, ₹). | |||
* '''rate''': The conversion rate to INR. | |||
*: ''Example: If currency is $ and 1 USD = 84 INR, enter '''84'''.'' | |||
*: ''Example: If currency is ₹, enter '''1''' (or leave blank).'' | |||
== Cargo Declaration == | |||
{{#cargo_declare: | |||
_table = Tournaments | |||
|name = String | |||
|series = Page | |||
|series_season = String | |||
|series_value = Integer | |||
|organizer = List (,) of String | |||
|sponsor = List (,) of String | |||
|game = String | |||
|mode = String | |||
|type = String | |||
|tier = String | |||
|device = String | |||
|location = String | |||
|venue = String | |||
|prize_pool = Integer | |||
|start_date = Date | |||
|end_date = Date | |||
|winner = String | |||
|runner_up = String | |||
|image = File | |||
|image_dark = File | |||
|instagram = URL | |||
|twitter = URL | |||
|youtube = URL | |||
|discord = URL | |||
|facebook = URL | |||
|website = URL | |||
}} | |||
</noinclude><includeonly>{{DISPLAYTITLE:{{SUBPAGENAME}}}}{{#invoke:Tournament|infobox}}[[Category:Tournaments]]</includeonly> | |||
</includeonly> | |||
Latest revision as of 03:57, 21 February 2026
Usage
Copy and paste this code to create a new Tournament page.
{{Infobox Tournament
|name =
|image =
|image_dark =
|series =
|series_season =
|series_value =
|organizer =
|sponsor =
|game = BGMI
|type = Online
|tier = A-Tier
|mode = Squads
|currency = ₹
|rate = 1
|prizepool =
|start_date = YYYY-MM-DD
|end_date = YYYY-MM-DD
|location = India
|venue =
|device =
|winner =
|runner_up =
|instagram =
|twitter =
|youtube =
|discord =
|website =
}}
Parameters
- series_value: (Important) Enter '1', '2', '3' etc. This allows the "Previous / Next" buttons to work automatically.
- currency: The symbol of the prize money (e.g. $, ₹).
- rate: The conversion rate to INR.
- Example: If currency is $ and 1 USD = 84 INR, enter 84.
- Example: If currency is ₹, enter 1 (or leave blank).
Cargo Declaration
This template defines the table "Tournaments". View table.