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 Build reusable tournament data and rendering system
m Create Template:Infobox tournament
Line 3: Line 3:
|image=
|image=
|type={{#if:{{{upcoming|}}}|Upcoming {{{type|Player Run Festival}}}|{{{type|Player Run Festival}}}}}
|type={{#if:{{{upcoming|}}}|Upcoming {{{type|Player Run Festival}}}|{{{type|Player Run Festival}}}}}
|content=<div class="loka-tournament-columns"><div class="loka-tournament-details"><div class="loka-tournament-col-heading">Tournament Details</div><div class="loka-tournament-details-grid">{{#if:{{{date|}}}|<div class="loka-tournament-detail"><span class="loka-tournament-detail-label">Date</span><span class="loka-tournament-detail-value">{{{date|}}}</span></div>}}{{#if:{{{format|}}}{{{mode|}}}|<div class="loka-tournament-detail"><span class="loka-tournament-detail-label">Format</span><span class="loka-tournament-detail-value">{{#switch:{{lc:{{{mode|}}}}}|potion=[[File:Splash Potion of Healing.png|14px|link=]]&#32;|barebones=[[File:Wooden Sword.png|14px|link=]]&#32;|#default=}}{{#if:{{{format|}}}|{{{format|}}}{{#if:{{{mode|}}}|&#32;{{{mode|}}}}}|{{{mode|}}}}}</span></div>}}{{#if:{{{host|}}}|<div class="loka-tournament-detail"><span class="loka-tournament-detail-label">Host town</span><span class="loka-tournament-detail-value">{{#if:{{{continent|}}}|[[File:Shield {{lc:{{{continent|}}}}}.png|14px|link=]]&#32;}}[[{{{host|}}}]]</span></div>}}{{#if:{{{post|}}}|<div class="loka-tournament-detail"><span class="loka-tournament-detail-label">Forums Post</span><span class="loka-tournament-detail-value">[https://forums.lokamc.com/threads/{{{post|}}}/ Thread]</span></div>}}{{#if:{{{challonge|}}}|<div class="loka-tournament-detail"><span class="loka-tournament-detail-label">Bracket</span><span class="loka-tournament-detail-value">[[File:Challonge logo.svg|14px|link=https://challonge.com/{{{challonge|}}}]] [https://challonge.com/{{{challonge|}}} Challonge]</span></div>}}</div>{{#if:{{{runner1|}}}|<div class="loka-tournament-detail loka-tournament-runners-tile"><span class="loka-tournament-detail-label">Tournament Runners</span><span class="loka-tournament-detail-value"><ul class="loka-hlist loka-hlist--stacked">{{#if:{{{runner1|}}}|<li>{{{runner1|}}}</li>}}{{#if:{{{runner2|}}}|<li>{{{runner2|}}}</li>}}{{#if:{{{runner3|}}}|<li>{{{runner3|}}}</li>}}{{#if:{{{runner4|}}}|<li>{{{runner4|}}}</li>}}{{#if:{{{runner5|}}}|<li>{{{runner5|}}}</li>}}{{#if:{{{runner6|}}}|<li>{{{runner6|}}}</li>}}</ul></span></div>}}</div><div class="loka-tournament-results">{{#if:{{{winnerteam|}}}|<div class="loka-podium-row">[[File:Medal Gold.png|22px|link=]]<div class="loka-podium-info"><div class="loka-podium-label">Winning Team</div><div class="loka-podium-team">{{{winnerteam|}}}</div><ul class="loka-hlist loka-hlist--stacked">{{#if:{{{winner1|}}}|<li>{{{winner1|}}}</li>}}{{#if:{{{winner2|}}}|<li>{{{winner2|}}}</li>}}{{#if:{{{winner3|}}}|<li>{{{winner3|}}}</li>}}</ul></div></div>|{{#if:{{{winner|}}}|<div class="loka-podium-row">[[File:Medal Gold.png|22px|link=]]<div class="loka-podium-info"><div class="loka-podium-label">Winner</div><div class="loka-podium-single">{{{winner|}}}</div></div></div>}}}}{{#if:{{{secondteam|}}}|<div class="loka-podium-row">[[File:Medal Silver.png|22px|link=]]<div class="loka-podium-info"><div class="loka-podium-label">2nd Place</div><div class="loka-podium-team">{{{secondteam|}}}</div><ul class="loka-hlist loka-hlist--stacked">{{#if:{{{second1|}}}|<li>{{{second1|}}}</li>}}{{#if:{{{second2|}}}|<li>{{{second2|}}}</li>}}{{#if:{{{second3|}}}|<li>{{{second3|}}}</li>}}</ul></div></div>|{{#if:{{{second|}}}|<div class="loka-podium-row">[[File:Medal Silver.png|22px|link=]]<div class="loka-podium-info"><div class="loka-podium-label">2nd Place</div><div class="loka-podium-single">{{{second|}}}</div></div></div>}}}}{{#if:{{{thirdteam|}}}|<div class="loka-podium-row">[[File:Medal Bronze.png|22px|link=]]<div class="loka-podium-info"><div class="loka-podium-label">3rd Place</div><div class="loka-podium-team">{{{thirdteam|}}}</div><ul class="loka-hlist loka-hlist--stacked">{{#if:{{{third1|}}}|<li>{{{third1|}}}</li>}}{{#if:{{{third2|}}}|<li>{{{third2|}}}</li>}}{{#if:{{{third3|}}}|<li>{{{third3|}}}</li>}}</ul></div></div>|{{#if:{{{third|}}}|<div class="loka-podium-row">[[File:Medal Bronze.png|22px|link=]]<div class="loka-podium-info"><div class="loka-podium-label">3rd Place</div><div class="loka-podium-single">{{{third|}}}</div></div></div>}}}}</div></div>{{#if:{{{winner|}}}{{{winnerteam|}}}{{{second|}}}{{{secondteam|}}}{{{third|}}}{{{thirdteam|}}}|<div class="loka-podium-disclaimer">IGNs correct at the time of tournament</div>}}{{#if:{{{previous|}}}{{{next|}}}|<div class="loka-chrono-box"><div class="loka-chrono-header"><span class="loka-chrono-header-side loka-chrono-header-side--prev"><span class="loka-chrono-header-side-text">Previous</span></span><span class="loka-chrono-header-title">Festival Chronology</span><span class="loka-chrono-header-side loka-chrono-header-side--next"><span class="loka-chrono-header-side-text">Next</span></span></div><div class="loka-chrono-grid">{{#if:{{{previous|}}}|<div class="loka-chrono-pane"><div class="loka-chrono-title">[[{{{previous|}}}]]</div>{{#if:{{#if:{{{previousmonth|}}}|{{{previousmonth|}}}|{{#ifexist:Template:Tournament data/{{{previous|}}}|{{Tournament data/{{{previous|}}}|render=month}}}}}|<div class="loka-chrono-year">({{#if:{{{previousmonth|}}}|{{{previousmonth|}}}|{{#ifexist:Template:Tournament data/{{{previous|}}}|{{Tournament data/{{{previous|}}}|render=month}}}}})</div>}}</div>|<div class="loka-chrono-pane loka-chrono-pane--empty"><div class="loka-chrono-empty">&mdash;</div></div>}}<div class="loka-chrono-pane loka-chrono-pane--current"><div class="loka-chrono-title loka-chrono-title--current">{{{name|{{PAGENAME}}}}}</div>{{#if:{{{date|}}}|<div class="loka-chrono-year">({{#time:F Y|{{{date|}}}}})</div>}}</div>{{#if:{{{next|}}}|<div class="loka-chrono-pane"><div class="loka-chrono-title">[[{{{next|}}}]]</div>{{#if:{{#if:{{{nextmonth|}}}|{{{nextmonth|}}}|{{#ifexist:Template:Tournament data/{{{next|}}}|{{Tournament data/{{{next|}}}|render=month}}}}}|<div class="loka-chrono-year">({{#if:{{{nextmonth|}}}|{{{nextmonth|}}}|{{#ifexist:Template:Tournament data/{{{next|}}}|{{Tournament data/{{{next|}}}|render=month}}}}})</div>}}</div>|<div class="loka-chrono-pane loka-chrono-pane--tba"><div class="loka-chrono-tba">TBA</div></div>}}</div></div>}}{{#if:{{{townprevious|}}}{{{townnext|}}}|<div class="loka-chrono-box"><div class="loka-chrono-header"><span class="loka-chrono-header-side loka-chrono-header-side--prev"><span class="loka-chrono-header-side-text">Previous</span></span><span class="loka-chrono-header-title">{{{host|}}} Chronology</span>{{#if:{{{townnext|}}}|<span class="loka-chrono-header-side loka-chrono-header-side--next"><span class="loka-chrono-header-side-text">Next</span></span>}}</div><div class="loka-chrono-grid">{{#if:{{{townprevious|}}}|<div class="loka-chrono-pane"><div class="loka-chrono-title">[[{{{townprevious|}}}]]</div>{{#if:{{#if:{{{townpreviousmonth|}}}|{{{townpreviousmonth|}}}|{{#ifexist:Template:Tournament data/{{{townprevious|}}}|{{Tournament data/{{{townprevious|}}}|render=month}}}}}|<div class="loka-chrono-year">({{#if:{{{townpreviousmonth|}}}|{{{townpreviousmonth|}}}|{{#ifexist:Template:Tournament data/{{{townprevious|}}}|{{Tournament data/{{{townprevious|}}}|render=month}}}}})</div>}}</div>|<div class="loka-chrono-pane loka-chrono-pane--empty"><div class="loka-chrono-empty">&mdash;</div></div>}}<div class="loka-chrono-pane loka-chrono-pane--current"><div class="loka-chrono-title loka-chrono-title--current">{{{name|{{PAGENAME}}}}}</div>{{#if:{{{date|}}}|<div class="loka-chrono-year">({{#time:F Y|{{{date|}}}}})</div>}}</div>{{#if:{{{townnext|}}}|<div class="loka-chrono-pane"><div class="loka-chrono-title">[[{{{townnext|}}}]]</div>{{#if:{{#if:{{{townnextmonth|}}}|{{{townnextmonth|}}}|{{#ifexist:Template:Tournament data/{{{townnext|}}}|{{Tournament data/{{{townnext|}}}|render=month}}}}}|<div class="loka-chrono-year">({{#if:{{{townnextmonth|}}}|{{{townnextmonth|}}}|{{#ifexist:Template:Tournament data/{{{townnext|}}}|{{Tournament data/{{{townnext|}}}|render=month}}}}})</div>}}</div>}}</div></div>}}
|content=<div class="loka-tournament-columns"><div class="loka-tournament-details"><div class="loka-tournament-col-heading">Tournament Details</div><div class="loka-tournament-details-grid">{{#if:{{{date|}}}|<div class="loka-tournament-detail"><span class="loka-tournament-detail-label">Date</span><span class="loka-tournament-detail-value">{{{date|}}}</span></div>}}{{#if:{{{format|}}}{{{mode|}}}|<div class="loka-tournament-detail"><span class="loka-tournament-detail-label">Format</span><span class="loka-tournament-detail-value">{{#switch:{{lc:{{{mode|}}}}}|potion=[[File:Splash Potion of Healing.png|14px|link=]]&#32;|barebones=[[File:Wooden Sword.png|14px|link=]]&#32;|#default=}}{{#if:{{{format|}}}|{{{format|}}}{{#if:{{{mode|}}}|&#32;{{{mode|}}}}}|{{{mode|}}}}}</span></div>}}{{#if:{{{host|}}}|<div class="loka-tournament-detail"><span class="loka-tournament-detail-label">Host town</span><span class="loka-tournament-detail-value">{{#if:{{{continent|}}}|[[File:Shield {{lc:{{{continent|}}}}}.png|14px|link=]]&#32;}}[[{{{host|}}}]]</span></div>}}{{#if:{{{post|}}}|<div class="loka-tournament-detail"><span class="loka-tournament-detail-label">Forums Post</span><span class="loka-tournament-detail-value">[https://forums.lokamc.com/threads/{{{post|}}}/ Thread]</span></div>}}{{#if:{{{challonge|}}}|<div class="loka-tournament-detail"><span class="loka-tournament-detail-label">Bracket</span><span class="loka-tournament-detail-value">[[File:Challonge logo.svg|14px|link=https://challonge.com/{{{challonge|}}}]] [https://challonge.com/{{{challonge|}}} Challonge]</span></div>}}</div>{{#if:{{{runner1|}}}|<div class="loka-tournament-detail loka-tournament-runners-tile"><span class="loka-tournament-detail-label">Tournament Runners</span><span class="loka-tournament-detail-value"><ul class="loka-hlist loka-hlist--stacked">{{#if:{{{runner1|}}}|<li>{{{runner1|}}}</li>}}{{#if:{{{runner2|}}}|<li>{{{runner2|}}}</li>}}{{#if:{{{runner3|}}}|<li>{{{runner3|}}}</li>}}{{#if:{{{runner4|}}}|<li>{{{runner4|}}}</li>}}{{#if:{{{runner5|}}}|<li>{{{runner5|}}}</li>}}{{#if:{{{runner6|}}}|<li>{{{runner6|}}}</li>}}</ul></span></div>}}</div><div class="loka-tournament-results">{{#if:{{{winnerteam|}}}|<div class="loka-podium-row">[[File:Medal Gold.png|22px|link=]]<div class="loka-podium-info"><div class="loka-podium-label">Winning Team</div><div class="loka-podium-team">{{{winnerteam|}}}</div><ul class="loka-hlist loka-hlist--stacked">{{#if:{{{winner1|}}}|<li>{{{winner1|}}}</li>}}{{#if:{{{winner2|}}}|<li>{{{winner2|}}}</li>}}{{#if:{{{winner3|}}}|<li>{{{winner3|}}}</li>}}</ul></div></div>|{{#if:{{{winner|}}}|<div class="loka-podium-row">[[File:Medal Gold.png|22px|link=]]<div class="loka-podium-info"><div class="loka-podium-label">Winner</div><div class="loka-podium-single">{{{winner|}}}</div></div></div>}}}}{{#if:{{{secondteam|}}}|<div class="loka-podium-row">[[File:Medal Silver.png|22px|link=]]<div class="loka-podium-info"><div class="loka-podium-label">2nd Place</div><div class="loka-podium-team">{{{secondteam|}}}</div><ul class="loka-hlist loka-hlist--stacked">{{#if:{{{second1|}}}|<li>{{{second1|}}}</li>}}{{#if:{{{second2|}}}|<li>{{{second2|}}}</li>}}{{#if:{{{second3|}}}|<li>{{{second3|}}}</li>}}</ul></div></div>|{{#if:{{{second|}}}|<div class="loka-podium-row">[[File:Medal Silver.png|22px|link=]]<div class="loka-podium-info"><div class="loka-podium-label">2nd Place</div><div class="loka-podium-single">{{{second|}}}</div></div></div>}}}}{{#if:{{{thirdteam|}}}|<div class="loka-podium-row">[[File:Medal Bronze.png|22px|link=]]<div class="loka-podium-info"><div class="loka-podium-label">3rd Place</div><div class="loka-podium-team">{{{thirdteam|}}}</div><ul class="loka-hlist loka-hlist--stacked">{{#if:{{{third1|}}}|<li>{{{third1|}}}</li>}}{{#if:{{{third2|}}}|<li>{{{third2|}}}</li>}}{{#if:{{{third3|}}}|<li>{{{third3|}}}</li>}}</ul></div></div>|{{#if:{{{third|}}}|<div class="loka-podium-row">[[File:Medal Bronze.png|22px|link=]]<div class="loka-podium-info"><div class="loka-podium-label">3rd Place</div><div class="loka-podium-single">{{{third|}}}</div></div></div>}}}}</div></div>{{#if:{{{winner|}}}{{{winnerteam|}}}{{{second|}}}{{{secondteam|}}}{{{third|}}}{{{thirdteam|}}}|<div class="loka-podium-disclaimer">IGNs correct at the time of tournament</div>}}{{#if:{{{previous|}}}{{{next|}}}|<div class="loka-chrono-box"><div class="loka-chrono-header"><span class="loka-chrono-header-side loka-chrono-header-side--prev"><span class="loka-chrono-header-side-text">Previous</span></span><span class="loka-chrono-header-title">Festival Chronology</span><span class="loka-chrono-header-side loka-chrono-header-side--next"><span class="loka-chrono-header-side-text">Next</span></span></div><div class="loka-chrono-grid">{{#if:{{{previous|}}}|<div class="loka-chrono-pane"><div class="loka-chrono-title">[[{{{previous|}}}]]</div>{{#if:{{#if:{{{previousmonth|}}}|{{{previousmonth|}}}|{{#ifexist:Template:Tournament data/{{{previous|}}}|{{Tournament data/{{{previous|}}}|render=month}}}}}}|<div class="loka-chrono-year">({{#if:{{{previousmonth|}}}|{{{previousmonth|}}}|{{#ifexist:Template:Tournament data/{{{previous|}}}|{{Tournament data/{{{previous|}}}|render=month}}}}}})</div>}}</div>|<div class="loka-chrono-pane loka-chrono-pane--empty"><div class="loka-chrono-empty">&mdash;</div></div>}}<div class="loka-chrono-pane loka-chrono-pane--current"><div class="loka-chrono-title loka-chrono-title--current">{{{name|{{PAGENAME}}}}}</div>{{#if:{{{date|}}}|<div class="loka-chrono-year">({{#time:F Y|{{{date|}}}}})</div>}}</div>{{#if:{{{next|}}}|<div class="loka-chrono-pane"><div class="loka-chrono-title">[[{{{next|}}}]]</div>{{#if:{{#if:{{{nextmonth|}}}|{{{nextmonth|}}}|{{#ifexist:Template:Tournament data/{{{next|}}}|{{Tournament data/{{{next|}}}|render=month}}}}}}|<div class="loka-chrono-year">({{#if:{{{nextmonth|}}}|{{{nextmonth|}}}|{{#ifexist:Template:Tournament data/{{{next|}}}|{{Tournament data/{{{next|}}}|render=month}}}}}})</div>}}</div>|<div class="loka-chrono-pane loka-chrono-pane--tba"><div class="loka-chrono-tba">TBA</div></div>}}</div></div>}}{{#if:{{{townprevious|}}}{{{townnext|}}}|<div class="loka-chrono-box"><div class="loka-chrono-header"><span class="loka-chrono-header-side loka-chrono-header-side--prev"><span class="loka-chrono-header-side-text">Previous</span></span><span class="loka-chrono-header-title">{{{host|}}} Chronology</span>{{#if:{{{townnext|}}}|<span class="loka-chrono-header-side loka-chrono-header-side--next"><span class="loka-chrono-header-side-text">Next</span></span>}}</div><div class="loka-chrono-grid">{{#if:{{{townprevious|}}}|<div class="loka-chrono-pane"><div class="loka-chrono-title">[[{{{townprevious|}}}]]</div>{{#if:{{#if:{{{townpreviousmonth|}}}|{{{townpreviousmonth|}}}|{{#ifexist:Template:Tournament data/{{{townprevious|}}}|{{Tournament data/{{{townprevious|}}}|render=month}}}}}}|<div class="loka-chrono-year">({{#if:{{{townpreviousmonth|}}}|{{{townpreviousmonth|}}}|{{#ifexist:Template:Tournament data/{{{townprevious|}}}|{{Tournament data/{{{townprevious|}}}|render=month}}}}}})</div>}}</div>|<div class="loka-chrono-pane loka-chrono-pane--empty"><div class="loka-chrono-empty">&mdash;</div></div>}}<div class="loka-chrono-pane loka-chrono-pane--current"><div class="loka-chrono-title loka-chrono-title--current">{{{name|{{PAGENAME}}}}}</div>{{#if:{{{date|}}}|<div class="loka-chrono-year">({{#time:F Y|{{{date|}}}}})</div>}}</div>{{#if:{{{townnext|}}}|<div class="loka-chrono-pane"><div class="loka-chrono-title">[[{{{townnext|}}}]]</div>{{#if:{{#if:{{{townnextmonth|}}}|{{{townnextmonth|}}}|{{#ifexist:Template:Tournament data/{{{townnext|}}}|{{Tournament data/{{{townnext|}}}|render=month}}}}}}|<div class="loka-chrono-year">({{#if:{{{townnextmonth|}}}|{{{townnextmonth|}}}|{{#ifexist:Template:Tournament data/{{{townnext|}}}|{{Tournament data/{{{townnext|}}}|render=month}}}}}})</div>}}</div>}}</div></div>}}
|wide=1
|wide=1
|headerimage={{{image|}}}
|headerimage={{{image|}}}
Line 12: Line 12:
{{#if:{{{winner|}}}{{{winnerteam|}}}{{{second|}}}{{{secondteam|}}}{{{third|}}}{{{thirdteam|}}}|{{#if:{{{winner|}}}{{{winnerteam|}}}|The tournament was won by {{#if:{{{winnerteam|}}}|{{{winnerteam|}}} ({{#if:{{{winner1|}}}|{{{winner1|}}}}}{{#if:{{{winner2|}}}|{{#if:{{{winner1|}}}|{{#if:{{{winner3|}}}|,&#32;|&#32;and&#32;}}}}{{{winner2|}}}}}{{#if:{{{winner3|}}}|{{#if:{{{winner1|}}}{{{winner2|}}}|{{#if:|,&#32;|&#32;and&#32;}}}}{{{winner3|}}}}})|{{{winner|}}}}}.}} {{#if:{{{second|}}}{{{secondteam|}}}|{{#if:{{{third|}}}{{{thirdteam|}}}|{{#if:{{{secondteam|}}}|{{{secondteam|}}} ({{#if:{{{second1|}}}|{{{second1|}}}}}{{#if:{{{second2|}}}|{{#if:{{{second1|}}}|{{#if:{{{second3|}}}|,&#32;|&#32;and&#32;}}}}{{{second2|}}}}}{{#if:{{{second3|}}}|{{#if:{{{second1|}}}{{{second2|}}}|{{#if:|,&#32;|&#32;and&#32;}}}}{{{second3|}}}}})|{{{second|}}}}} placed second, and {{#if:{{{thirdteam|}}}|{{{thirdteam|}}} ({{#if:{{{third1|}}}|{{{third1|}}}}}{{#if:{{{third2|}}}|{{#if:{{{third1|}}}|{{#if:{{{third3|}}}|,&#32;|&#32;and&#32;}}}}{{{third2|}}}}}{{#if:{{{third3|}}}|{{#if:{{{third1|}}}{{{third2|}}}|{{#if:|,&#32;|&#32;and&#32;}}}}{{{third3|}}}}})|{{{third|}}}}} placed third.|{{#if:{{{secondteam|}}}|{{{secondteam|}}} ({{#if:{{{second1|}}}|{{{second1|}}}}}{{#if:{{{second2|}}}|{{#if:{{{second1|}}}|{{#if:{{{second3|}}}|,&#32;|&#32;and&#32;}}}}{{{second2|}}}}}{{#if:{{{second3|}}}|{{#if:{{{second1|}}}{{{second2|}}}|{{#if:|,&#32;|&#32;and&#32;}}}}{{{second3|}}}}})|{{{second|}}}}} placed second.}}|{{#if:{{{third|}}}{{{thirdteam|}}}|{{#if:{{{thirdteam|}}}|{{{thirdteam|}}} ({{#if:{{{third1|}}}|{{{third1|}}}}}{{#if:{{{third2|}}}|{{#if:{{{third1|}}}|{{#if:{{{third3|}}}|,&#32;|&#32;and&#32;}}}}{{{third2|}}}}}{{#if:{{{third3|}}}|{{#if:{{{third1|}}}{{{third2|}}}|{{#if:|,&#32;|&#32;and&#32;}}}}{{{third3|}}}}})|{{{third|}}}}} placed third.}}}}}}
{{#if:{{{winner|}}}{{{winnerteam|}}}{{{second|}}}{{{secondteam|}}}{{{third|}}}{{{thirdteam|}}}|{{#if:{{{winner|}}}{{{winnerteam|}}}|The tournament was won by {{#if:{{{winnerteam|}}}|{{{winnerteam|}}} ({{#if:{{{winner1|}}}|{{{winner1|}}}}}{{#if:{{{winner2|}}}|{{#if:{{{winner1|}}}|{{#if:{{{winner3|}}}|,&#32;|&#32;and&#32;}}}}{{{winner2|}}}}}{{#if:{{{winner3|}}}|{{#if:{{{winner1|}}}{{{winner2|}}}|{{#if:|,&#32;|&#32;and&#32;}}}}{{{winner3|}}}}})|{{{winner|}}}}}.}} {{#if:{{{second|}}}{{{secondteam|}}}|{{#if:{{{third|}}}{{{thirdteam|}}}|{{#if:{{{secondteam|}}}|{{{secondteam|}}} ({{#if:{{{second1|}}}|{{{second1|}}}}}{{#if:{{{second2|}}}|{{#if:{{{second1|}}}|{{#if:{{{second3|}}}|,&#32;|&#32;and&#32;}}}}{{{second2|}}}}}{{#if:{{{second3|}}}|{{#if:{{{second1|}}}{{{second2|}}}|{{#if:|,&#32;|&#32;and&#32;}}}}{{{second3|}}}}})|{{{second|}}}}} placed second, and {{#if:{{{thirdteam|}}}|{{{thirdteam|}}} ({{#if:{{{third1|}}}|{{{third1|}}}}}{{#if:{{{third2|}}}|{{#if:{{{third1|}}}|{{#if:{{{third3|}}}|,&#32;|&#32;and&#32;}}}}{{{third2|}}}}}{{#if:{{{third3|}}}|{{#if:{{{third1|}}}{{{third2|}}}|{{#if:|,&#32;|&#32;and&#32;}}}}{{{third3|}}}}})|{{{third|}}}}} placed third.|{{#if:{{{secondteam|}}}|{{{secondteam|}}} ({{#if:{{{second1|}}}|{{{second1|}}}}}{{#if:{{{second2|}}}|{{#if:{{{second1|}}}|{{#if:{{{second3|}}}|,&#32;|&#32;and&#32;}}}}{{{second2|}}}}}{{#if:{{{second3|}}}|{{#if:{{{second1|}}}{{{second2|}}}|{{#if:|,&#32;|&#32;and&#32;}}}}{{{second3|}}}}})|{{{second|}}}}} placed second.}}|{{#if:{{{third|}}}{{{thirdteam|}}}|{{#if:{{{thirdteam|}}}|{{{thirdteam|}}} ({{#if:{{{third1|}}}|{{{third1|}}}}}{{#if:{{{third2|}}}|{{#if:{{{third1|}}}|{{#if:{{{third3|}}}|,&#32;|&#32;and&#32;}}}}{{{third2|}}}}}{{#if:{{{third3|}}}|{{#if:{{{third1|}}}{{{third2|}}}|{{#if:|,&#32;|&#32;and&#32;}}}}{{{third3|}}}}})|{{{third|}}}}} placed third.}}}}}}


{{#if:{{{previous|}}}{{{next|}}}|{{#if:{{{previous|}}}|{{{name|{{PAGENAME}}}}}&#32;{{#if:{{{upcoming|}}}|will follow|followed}} [[{{{previous|}}}]]{{#if:{{#if:{{{previousmonth|}}}|{{{previousmonth|}}}|{{#ifexist:Template:Tournament data/{{{previous|}}}|{{Tournament data/{{{previous|}}}|render=month}}}}}|, held in {{#if:{{{previousmonth|}}}|{{{previousmonth|}}}|{{#ifexist:Template:Tournament data/{{{previous|}}}|{{Tournament data/{{{previous|}}}|render=month}}}}}}}, in the wiki's overall festival chronology.}} {{#if:{{{next|}}}|It {{#if:{{{upcoming|}}}|will be|was}} followed by [[{{{next|}}}]]{{#if:{{#if:{{{nextmonth|}}}|{{{nextmonth|}}}|{{#ifexist:Template:Tournament data/{{{next|}}}|{{Tournament data/{{{next|}}}|render=month}}}}}|, held in {{#if:{{{nextmonth|}}}|{{{nextmonth|}}}|{{#ifexist:Template:Tournament data/{{{next|}}}|{{Tournament data/{{{next|}}}|render=month}}}}}}}.}}}}
{{#if:{{{previous|}}}{{{next|}}}|{{#if:{{{previous|}}}|{{{name|{{PAGENAME}}}}}&#32;{{#if:{{{upcoming|}}}|will follow|followed}} [[{{{previous|}}}]]{{#if:{{#if:{{{previousmonth|}}}|{{{previousmonth|}}}|{{#ifexist:Template:Tournament data/{{{previous|}}}|{{Tournament data/{{{previous|}}}|render=month}}}}}}|, held in {{#if:{{{previousmonth|}}}|{{{previousmonth|}}}|{{#ifexist:Template:Tournament data/{{{previous|}}}|{{Tournament data/{{{previous|}}}|render=month}}}}}}}}, in the wiki's overall festival chronology.}} {{#if:{{{next|}}}|It {{#if:{{{upcoming|}}}|will be|was}} followed by [[{{{next|}}}]]{{#if:{{#if:{{{nextmonth|}}}|{{{nextmonth|}}}|{{#ifexist:Template:Tournament data/{{{next|}}}|{{Tournament data/{{{next|}}}|render=month}}}}}}|, held in {{#if:{{{nextmonth|}}}|{{{nextmonth|}}}|{{#ifexist:Template:Tournament data/{{{next|}}}|{{Tournament data/{{{next|}}}|render=month}}}}}}}}.}}}}


== See also ==
== See also ==

Revision as of 21:36, 18 August 2026

Use on tournament articles

Tournament articles should transclude their central data record:

{{Tournament data/Asgard V}}

Edit Template:Tournament data/Asgard V to change its facts. The same record supplies this infobox, generated prose, chronology dates, and overview cards. Calling this renderer directly is supported for compatibility but is no longer the recommended editing workflow.

Data parameters

Parameter Description
Basic
name Tournament name
date Full date, e.g. July 19, 2026
image Header image filename
type Badge text, defaults to Player Run Festival
upcoming Set to yes before the tournament takes place
Tournament Details
format Team size, e.g. 3v3
mode Potion or Barebones
host Hosting town
continent Host town's continent
runner1-runner6 Up to six tournament organizers
post Numeric Loka Forums thread ID
challonge Challonge tournament ID
Results
winner / second / third Placed players for 1v1
winnerteam / secondteam / thirdteam Team names for 2v2 or 3v3
winner1-3 / second1-3 / third1-3 Team members for each placing
Chronology
previous Previous festival overall
next Next festival overall
townprevious Previous festival hosted by the same town
townnext Next festival hosted by the same town
previousmonth / nextmonth / town equivalents Temporary fallback when the linked tournament has no central data record yet