|
|
| (70 intermediate revisions by the same user not shown) |
| Line 1: |
Line 1: |
| <includeonly><templatestyles src="Template:Infobox tournament/styles.css" />{{Infobox | | <includeonly>__NOTOC____NOEDITSECTION__<templatestyles src="Template:Infobox tournament/styles.css" />{{Infobox |
| |name={{{name|{{PAGENAME}}}}} | | |name={{{name|{{PAGENAME}}}}} |
| |image={{
| | |image= |
| | |type={{#if:{{#if:{{{date|} |
|
| |
|
| <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. Built on [[Template:Infobox]] for the shared name/image/type-badge/row chrome -- see there for the wiki's common infobox look.
| | 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> |
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