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:Tournament chronology: Difference between revisions

Template page
Build reusable tournament data and rendering system
 
m Build reusable tournament data and rendering system
Line 1: Line 1:
<includeonly>{{#switch:{{lc:{{{direction|}}}}}
<includeonly>{{#switch:{{lc:{{{scope|overall}}}}}
|town={{#switch:{{lc:{{{direction|}}}}}
|previous={{#switch:{{{name|}}}
|Asgard V=Asgard IV
|Asgard IV=
|Southern Valyria I=
|Riverside I=
|#default=}}
|next={{#switch:{{{name|}}}
|Asgard V=
|Asgard IV=Asgard V
|Southern Valyria I=
|Riverside I=
|#default=}}
|#default=
}}
|overall={{#switch:{{lc:{{{direction|}}}}}
|previous={{#switch:{{{name|}}}
|previous={{#switch:{{{name|}}}
|Riverside I=Southern Valyria I
|Riverside I=Southern Valyria I
|Southern Valyria I=Asgard V
|Southern Valyria I=Asgard V
|Asgard V=
|Asgard V=Vinovia I
|Vinovia I=
|#default=}}
|next={{#switch:{{{name|}}}
|Riverside I=
|Southern Valyria I=Riverside I
|Asgard V=Southern Valyria I
|Vinovia I=Asgard V
|#default=}}
|#default=
}}
|#default={{#switch:{{lc:{{{direction|}}}}}
|previous={{#switch:{{{name|}}}
|Riverside I=Southern Valyria I
|Southern Valyria I=Asgard V
|Asgard V=Vinovia I
|Vinovia I=
|#default=}}
|#default=}}
|next={{#switch:{{{name|}}}
|next={{#switch:{{{name|}}}
Line 9: Line 41:
|Southern Valyria I=Riverside I
|Southern Valyria I=Riverside I
|Asgard V=Southern Valyria I
|Asgard V=Southern Valyria I
|Vinovia I=Asgard V
|#default=}}
|#default=}}
|#default=
|#default=
}}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
== Purpose ==
== Purpose ==


Returns the previous or next tournament from the central newest-first registry. Article infoboxes call this automatically.
Returns the previous or next tournament from the central overall or host-town chronology. Article infoboxes call this automatically.


<pre>{{Tournament chronology|name=Southern Valyria I|direction=next}}</pre>
<pre>{{Tournament chronology|name=Southern Valyria I|direction=next}}</pre>
<pre>{{Tournament chronology|name=Asgard V|direction=previous|scope=town}}</pre>


Do not enter dates or results here; those remain in each tournament's central data record.
Do not enter dates or results here; those remain in each tournament's central data record.

Revision as of 00:26, 19 August 2026

Purpose

Returns the previous or next tournament from the central overall or host-town chronology. Article infoboxes call this automatically.

{{Tournament chronology|name=Southern Valyria I|direction=next}}
{{Tournament chronology|name=Asgard V|direction=previous|scope=town}}

Do not enter dates or results here; those remain in each tournament's central data record.

Contents