Jump to content
Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox tournament: Difference between revisions

Template page
m Create Template:Infobox tournament
m Host town: don't redlink when the town article doesn't exist yet, bold it either way
 
(71 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly
<includeonly>__NOTOC____NOEDITSECTION__<templatestyles src="Template:Infobox tournament/styles.css" />{{Infobox
|


<pre>
Renders a tournament article from its named [[Template:Tournament data|central data record]]
{{Infobox tournament
|name=Asgard V
|year=2026
|type=Player Run Festival
|format=1v1
|host=Asgard
|runner1=Deevil
|runner2=nainti
|runner3=Aqronso
|runner4=babisoy
|bid=10961
|challonge=riversideI
|winner=PlayerName
|second=PlayerName
|third=PlayerName
|previous=Asgard IV
|previousyear=2025
|next=Asgard VI
|townprevious=Asgard IV
|townpreviousyear=2025
|townnext=Asgard VI
}}
</pre>


Only <code>name</code> is required (it otherwise defaults to the page name); every other row is hidden when omitted.
Tournament articles use a call such as:


For a 2v2/3v3 podium finish, use the <code>*team</code> + <code>*1</code>/<code>*2</code>/<code>*3</code> parameters instead of the plain one (e.g. <code>winnerteam</code>, <code>winner1</code>, <code>winner2</code>, <code>winner3</code>) -- team fields take priority over the plain field if both are somehow given.
<pre>{{Tournament data/Asgard V}}</pre>


Both chronology sections render as a three-pane "previous / this tournament / next" box, matching Wikipedia's album/single succession boxes. If <code>next</code> (or <code>townnext</code>) isn't given, that pane shows a grey "TBA" instead of being left blank, since a series' next entry is often simply not announced yet.
Article-specific sections belong in <code>content</code> so they render before the automatic See also and External links sections:


== Parameters ==
<pre>{{Tournament data/Asgard V
|content=
== Trivia ==
* Example
}}</pre>


{| class="wikitable"
See [[Template:Tournament data]] for the concise parameter reference and multi-event workflow
! Parameter
! Description
|-
| <code>name</code>
| Tournament name. Defaults to the page name.
|-
| <code>year</code>
| This tournament's year, shown under its own name in the chronology boxes.
|-
| <code>image</code>
| Filename of an image uploaded to the wiki (no <code>File:</code> prefix).
|-
| <code>type</code>
| Free text, shown as a badge under the name -- e.g. <code>Player Run Festival</code>, matching the Loka Forums' own thread prefixes (Player Run Festival / Official Loka Festival / Unofficial Festival).
|-
| <code>format</code>
| E.g. <code>1v1</code>, <code>2v2</code>, <code>3v3</code>.
|-
| <code>host</code>
| Hosting town. Wikilinked. Displayed as "Host town".
|-
| <code>runner1</code> ... <code>runner6</code>
| Up to six players running the festival ("Tournament Runners"), shown as a horizontal list.
|-
| <code>bid</code>
| Numeric Loka Forums thread ID for the festival's bid thread (e.g. <code>10961</code> for <code>forums.lokamc.com/threads/asgard-v-february.10961/</code> -- the bare ID alone resolves correctly, no slug needed).
|-
| <code>challonge</code>
| Challonge tournament ID, e.g. <code>riversideI</code> for <code>challonge.com/riversideI</code>.
|-
| <code>winner</code> / <code>second</code> / <code>third</code>
| 1v1 podium: the winning player's name for that placing.
|-
| <code>winnerteam</code> / <code>secondteam</code> / <code>thirdteam</code>
| 2v2/3v3 podium: the team's name for that placing.
|-
| <code>winner1</code>-<code>winner3</code> / <code>second1</code>-<code>second3</code> / <code>third1</code>-<code>third3</code>
| 2v2/3v3 podium: up to three team members for that placing.
|-
| <code>previous</code> / <code>previousyear</code> / <code>next</code> / <code>nextyear</code>
| General festival chronology: the previous/next festival overall, with optional years.
|-
| <code>townprevious</code> / <code>townpreviousyear</code> / <code>townnext</code> / <code>townnextyear</code>
| Town-specific chronology: the previous/next festival hosted by the same town (e.g. Asgard IV / Asgard VI for Asgard V), shown as its own "<code>{{{host}}} Chronology</code>" box.
|}


[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 10:50, 24 August 2026

Purpose

Renders a tournament article from its named central data record

Tournament articles use a call such as:

{{Tournament data/Asgard V}}

Article-specific sections belong in content so they render before the automatic See also and External links sections:

{{Tournament data/Asgard V
|content=
== Trivia ==
* Example
}}

See Template:Tournament data for the concise parameter reference and multi-event workflow

Contents