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 Infobox tournament: auto-generate a lead paragraph from the same infobox parameters
m Infobox tournament: auto-generate a lead paragraph from the same infobox parameters
Line 3: Line 3:
|image=
|image=
|type={{{type|}}}
|type={{{type|}}}
|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">{{#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">[[{{{host|}}}]]</span></div>}}{{#if:{{{bid|}}}|<div class="loka-tournament-detail"><span class="loka-tournament-detail-label">Forums Bid</span><span class="loka-tournament-detail-value">[https://forums.lokamc.com/threads/{{{bid|}}}/ 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|16px|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:Gold Medal.png|22px|link=]]<div class="loka-podium-info"><div class="loka-podium-label">Winner</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:Gold Medal.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:Silver Medal.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:Silver Medal.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:Bronze Medal.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:Bronze Medal.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>}}}}{{#if:{{{winner|}}}{{{winnerteam|}}}{{{second|}}}{{{secondteam|}}}{{{third|}}}{{{thirdteam|}}}|<div class="loka-podium-disclaimer">IGNs correct at the time of tournament</div>}}</div></div>{{#if:{{{previous|}}}{{{next|}}}|<div class="loka-chrono-box"><div class="loka-chrono-header">Festival Chronology</div><div class="loka-chrono-grid">{{#if:{{{previous|}}}|<div class="loka-chrono-pane"><div class="loka-chrono-title">[[{{{previous|}}}]]</div>{{#if:{{{previousyear|}}}|<div class="loka-chrono-year">({{{previousyear|}}})</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:{{{nextyear|}}}|<div class="loka-chrono-year">({{{nextyear|}}})</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">{{{host|}}} Chronology</div><div class="loka-chrono-grid">{{#if:{{{townprevious|}}}|<div class="loka-chrono-pane"><div class="loka-chrono-title">[[{{{townprevious|}}}]]</div>{{#if:{{{townpreviousyear|}}}|<div class="loka-chrono-year">({{{townpreviousyear|}}})</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:{{{townnextyear|}}}|<div class="loka-chrono-year">({{{townnextyear|}}})</div>}}</div>|<div class="loka-chrono-pane loka-chrono-pane--tba"><div class="loka-chrono-tba">TBA</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">{{#if:{{{format|}}}|{{{format|}}}{{#if:{{{mode|}}}|&#32;{{{mode|}}}}}|{{{mode|}}}}}{{#ifeq:{{lc:{{{mode|}}}}}|potion|&#32;[[File:Splash Potion of Healing.png|16px|link=]]}}</span></div>}}{{#if:{{{host|}}}|<div class="loka-tournament-detail loka-tournament-detail--plain"><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:{{{bid|}}}|<div class="loka-tournament-detail loka-tournament-detail--plain"><span class="loka-tournament-detail-label">Forums Bid</span><span class="loka-tournament-detail-value">[https://forums.lokamc.com/threads/{{{bid|}}}/ Thread]</span></div>}}{{#if:{{{challonge|}}}|<div class="loka-tournament-detail loka-tournament-detail--plain"><span class="loka-tournament-detail-label">Bracket</span><span class="loka-tournament-detail-value">[[File:Challonge logo.svg|16px|link=https://challonge.com/{{{challonge|}}}]] [https://challonge.com/{{{challonge|}}} Challonge]</span></div>}}</div>{{#if:{{{runner1|}}}|<div class="loka-tournament-detail loka-tournament-detail--plain 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:Gold Medal.svg|22px|link=]]<div class="loka-podium-info"><div class="loka-podium-label">Winner</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:Gold Medal.svg|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:Silver Medal.svg|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:Silver Medal.svg|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:Bronze Medal.svg|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:Bronze Medal.svg|22px|link=]]<div class="loka-podium-info"><div class="loka-podium-label">3rd Place</div><div class="loka-podium-single">{{{third|}}}</div></div></div>}}}}{{#if:{{{winner|}}}{{{winnerteam|}}}{{{second|}}}{{{secondteam|}}}{{{third|}}}{{{thirdteam|}}}|<div class="loka-podium-disclaimer">IGNs correct at the time of tournament</div>}}</div></div>{{#if:{{{previous|}}}{{{next|}}}|<div class="loka-chrono-box"><div class="loka-chrono-header">Festival Chronology</div><div class="loka-chrono-grid">{{#if:{{{previous|}}}|<div class="loka-chrono-pane"><div class="loka-chrono-title">[[{{{previous|}}}]]</div>{{#if:{{{previousyear|}}}|<div class="loka-chrono-year">({{{previousyear|}}})</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:{{{nextyear|}}}|<div class="loka-chrono-year">({{{nextyear|}}})</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">{{{host|}}} Chronology</div><div class="loka-chrono-grid">{{#if:{{{townprevious|}}}|<div class="loka-chrono-pane"><div class="loka-chrono-title">[[{{{townprevious|}}}]]</div>{{#if:{{{townpreviousyear|}}}|<div class="loka-chrono-year">({{{townpreviousyear|}}})</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:{{{townnextyear|}}}|<div class="loka-chrono-year">({{{townnextyear|}}})</div>}}</div>|<div class="loka-chrono-pane loka-chrono-pane--tba"><div class="loka-chrono-tba">TBA</div></div>}}</div></div>}}
|wide=1
|wide=1
|headerimage={{{image|}}}
|headerimage={{{image|}}}
}}
}}


'''{{{name|{{PAGENAME}}}}}''' was a {{#if:{{{format|}}}|{{{format|}}}{{#if:{{{mode|}}}|&#32;{{{mode|}}}}}|{{{mode|}}}}}{{#if:{{{format|}}}{{{mode|}}}|&#32;}}{{#if:{{{type|}}}|{{{type|}}}|tournament}}{{#if:{{{host|}}}|&#32;hosted by [[{{{host|}}}]]}}{{#if:{{{date|}}}|&#32;on {{{date|}}}}}.{{#if:{{{runner1|}}}|&#32;It was organized by {{#if:{{{runner1|}}}|{{{runner1|}}}}}{{#if:{{{runner2|}}}|{{#if:{{{runner1|}}}|{{#if:{{{runner3|}}}{{{runner4|}}}{{{runner5|}}}{{{runner6|}}}|,&#32;|&#32;and&#32;}}}}{{{runner2|}}}}}{{#if:{{{runner3|}}}|{{#if:{{{runner1|}}}{{{runner2|}}}|{{#if:{{{runner4|}}}{{{runner5|}}}{{{runner6|}}}|,&#32;|&#32;and&#32;}}}}{{{runner3|}}}}}{{#if:{{{runner4|}}}|{{#if:{{{runner1|}}}{{{runner2|}}}{{{runner3|}}}|{{#if:{{{runner5|}}}{{{runner6|}}}|,&#32;|&#32;and&#32;}}}}{{{runner4|}}}}}{{#if:{{{runner5|}}}|{{#if:{{{runner1|}}}{{{runner2|}}}{{{runner3|}}}{{{runner4|}}}|{{#if:{{{runner6|}}}|,&#32;|&#32;and&#32;}}}}{{{runner5|}}}}}{{#if:{{{runner6|}}}|{{#if:{{{runner1|}}}{{{runner2|}}}{{{runner3|}}}{{{runner4|}}}{{{runner5|}}}|{{#if:|,&#32;|&#32;and&#32;}}}}{{{runner6|}}}}}.}}{{#if:{{{bid|}}}|&#32;It was bid for on the [https://forums.lokamc.com/threads/{{{bid|}}}/ Loka Forums].}}{{#if:{{{challonge|}}}|&#32;Its bracket was run through [https://challonge.com/{{{challonge|}}} Challonge].}}
'''{{{name|{{PAGENAME}}}}}''' was a {{#if:{{{format|}}}|{{{format|}}}{{#if:{{{mode|}}}|&#32;{{{mode|}}}}}|{{{mode|}}}}}{{#ifeq:{{lc:{{{mode|}}}}}|potion|&#32;[[File:Splash Potion of Healing.png|16px|link=]]}}{{#if:{{{format|}}}{{{mode|}}}|&#32;}}{{#if:{{{type|}}}|{{{type|}}}|tournament}}{{#if:{{{host|}}}|&#32;hosted by [[{{{host|}}}]]}}{{#if:{{{date|}}}|&#32;on {{{date|}}}}}.{{#if:{{{runner1|}}}|&#32;It was organized by {{#if:{{{runner1|}}}|{{{runner1|}}}}}{{#if:{{{runner2|}}}|{{#if:{{{runner1|}}}|{{#if:{{{runner3|}}}{{{runner4|}}}{{{runner5|}}}{{{runner6|}}}|,&#32;|&#32;and&#32;}}}}{{{runner2|}}}}}{{#if:{{{runner3|}}}|{{#if:{{{runner1|}}}{{{runner2|}}}|{{#if:{{{runner4|}}}{{{runner5|}}}{{{runner6|}}}|,&#32;|&#32;and&#32;}}}}{{{runner3|}}}}}{{#if:{{{runner4|}}}|{{#if:{{{runner1|}}}{{{runner2|}}}{{{runner3|}}}|{{#if:{{{runner5|}}}{{{runner6|}}}|,&#32;|&#32;and&#32;}}}}{{{runner4|}}}}}{{#if:{{{runner5|}}}|{{#if:{{{runner1|}}}{{{runner2|}}}{{{runner3|}}}{{{runner4|}}}|{{#if:{{{runner6|}}}|,&#32;|&#32;and&#32;}}}}{{{runner5|}}}}}{{#if:{{{runner6|}}}|{{#if:{{{runner1|}}}{{{runner2|}}}{{{runner3|}}}{{{runner4|}}}{{{runner5|}}}|{{#if:|,&#32;|&#32;and&#32;}}}}{{{runner6|}}}}}.}}{{#if:{{{bid|}}}|&#32;It was bid for on the [https://forums.lokamc.com/threads/{{{bid|}}}/ Loka Forums].}}{{#if:{{{challonge|}}}|&#32;Its bracket was run through [https://challonge.com/{{{challonge|}}} Challonge].}}


{{#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.}}}}}}
Line 19: Line 19:
|name=Asgard V
|name=Asgard V
|date=February 14, 2026
|date=February 14, 2026
|image=Asgard V.jpg
|type=Player Run Festival
|type=Player Run Festival
|format=1v1
|format=1v1
|mode=Potion
|mode=Potion
|host=Asgard
|host=Asgard
|continent=Ascalon
|runner1=Deevil
|runner1=Deevil
|runner2=nainti
|runner2=nainti
|runner3=Aqronso
|runner4=babisoy
|bid=10961
|bid=10961
|challonge=exampleI
|challonge=exampleI
Line 35: Line 35:
|previousyear=November 2025
|previousyear=November 2025
|next=Asgard VI
|next=Asgard VI
|townprevious=Asgard IV
|townpreviousyear=November 2025
|townnext=Asgard VI
}}
}}
</pre>
</pre>


Only <code>name</code> is required (it otherwise defaults to the page name); every tile/row is hidden when omitted. Built on [[Template:Infobox]] for the shared chrome, using its <code>wide</code> modifier (520px instead of the standard 300px) and its <code>headerimage</code> slot -- see there for the wiki's common infobox look. <code>image</code> is passed through as Infobox's <code>headerimage</code>, so it renders as a photo banner spanning the very top of the box with the name and type badge overlaid on a gradient scrim (tapering off toward the bottom to reveal the photo), rather than as a separate block.
Only <code>name</code> is required -- everything else is optional and simply doesn't show if left blank. Also generates a short lead paragraph below the box automatically from these same parameters, so there's no separate prose to write.


Below the header photo, the box splits into two columns: "Tournament Details" on the left and results (no heading needed -- Winner/2nd Place/3rd Place already say what it is) on the right. Tournament Details is itself a 2-column grid of compact tiles (Date, Format, Host town, Forums Bid, Bracket), each a small caption label above a bold value; "Tournament Runners" is one more tile that spans both of those sub-columns (its list of names isn't bolded, unlike the other tiles' values, since it's often the longest one and doesn't need the same visual weight).
For a 2v2/3v3 result, use <code>winnerteam</code>/<code>secondteam</code>/<code>thirdteam</code> plus up to three <code>winner1</code>-<code>3</code>/<code>second1</code>-<code>3</code>/<code>third1</code>-<code>3</code> members instead of the plain <code>winner</code>/<code>second</code>/<code>third</code>.
 
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. Team members (and Tournament Runners) are listed one per line rather than comma-separated. Whenever any podium field is filled in, a small disclaimer ("IGNs correct at the time of tournament") appears underneath.
 
Both chronology sections render as a three-pane "previous / this tournament / next" box, matching Wikipedia's album/single succession boxes (without the vertical dividers or quote marks around the linked titles -- tournament names aren't quoted works the way song titles are). 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.
 
In addition to the infobox itself, the template outputs an auto-generated lead paragraph directly below it, built from the same parameters (identity/host/date, organizers, bid/bracket links, podium results, and general chronology). It's plain flowing wikitext, not part of the floated box, so it wraps to the left of the infobox the way a Wikipedia lead does. Every clause is individually optional and disappears if its underlying field is empty, so the wording is always in sync with the infobox and never needs to be hand-written or duplicated -- at the cost of being fairly formulaic, since it has no room for page-specific voice.


== Parameters ==
== Parameters ==


{| class="wikitable"
{| class="wikitable"
! Parameter
! Parameter !! Description
! Description
|-
! colspan="2" style="text-align:left;" | Basic
|-
| <code>name</code> || Tournament name. Defaults to the page name.
|-
| <code>date</code> || Full date, e.g. <code>July 19, 2026</code>.
|-
| <code>image</code> || Header banner photo.
|-
| <code>type</code> || Badge text, e.g. <code>Player Run Festival</code>.
|-
! colspan="2" style="text-align:left;" | Tournament Details
|-
| <code>format</code> || Team size, e.g. <code>3v3</code>.
|-
|-
| <code>name</code>
| <code>mode</code> || Ruleset, e.g. <code>Potion</code>, <code>Barbones</code>. Shown next to Format; adds a potion icon when set to Potion.
| Tournament name. Defaults to the page name.
|-
|-
| <code>date</code>
| <code>host</code> || Hosting town. Wikilinked.
| Full date the tournament took place (e.g. <code>July 19, 2026</code>), shown in its own tile. Its month and year are also derived from this automatically (via <code>{{#time:F Y|...}}</code>) for the chronology boxes -- there's no separate year parameter to keep in sync.
|-
|-
| <code>image</code>
| <code>continent</code> || Host town's continent, e.g. <code>Ascalon</code>. Adds a shield icon next to the host.
| Filename of an image uploaded to the wiki (no <code>File:</code> prefix). Rendered as the header photo banner.
|-
|-
| <code>type</code>
| <code>runner1</code>-<code>runner6</code> || Up to six tournament organizers.
| 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>
| <code>bid</code> || Numeric Loka Forums bid-thread ID (just the number from the thread URL).
| Team size, e.g. <code>1v1</code>, <code>2v2</code>, <code>3v3</code>. Kept separate from <code>mode</code> so it stays a clean, parseable value in its own right.
|-
|-
| <code>mode</code>
| <code>challonge</code> || Challonge tournament ID, e.g. <code>riversideI</code> for <code>challonge.com/riversideI</code>.
| Optional ruleset/game mode, e.g. <code>Potion</code>, <code>Barbones</code>. Shown combined with <code>format</code> wherever format is displayed (e.g. "<code>3v3 Potion</code>") -- doesn't affect how many podium members are shown, that's driven purely by however many <code>winner1</code>/<code>winner2</code>/<code>winner3</code> (etc.) are actually filled in.
|-
|-
| <code>host</code>
! colspan="2" style="text-align:left;" | Results
| Hosting town. Wikilinked. Displayed as "Host town".
|-
|-
| <code>runner1</code> ... <code>runner6</code>
| <code>winner</code> / <code>second</code> / <code>third</code> || 1v1: winning player for that placing.
| Up to six players running the festival ("Tournament Runners"), shown as a horizontal list.
|-
|-
| <code>bid</code>
| <code>winnerteam</code> / <code>secondteam</code> / <code>thirdteam</code> || 2v2/3v3: team name for that placing.
| 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>
| <code>winner1</code>-<code>3</code> / <code>second1</code>-<code>3</code> / <code>third1</code>-<code>3</code> || 2v2/3v3: up to three members for that placing.
| Challonge tournament ID, e.g. <code>riversideI</code> for <code>challonge.com/riversideI</code>.
|-
|-
| <code>winner</code> / <code>second</code> / <code>third</code>
! colspan="2" style="text-align:left;" | Chronology
| 1v1 podium: the winning player's name for that placing.
|-
|-
| <code>winnerteam</code> / <code>secondteam</code> / <code>thirdteam</code>
| <code>previous</code> / <code>previousyear</code> || Prior festival overall, and its month/year.
| 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>
| <code>next</code> / <code>nextyear</code> || Next festival overall, and its month/year. Shows "TBA" if left blank.
| 2v2/3v3 podium: up to three team members for that placing.
|-
|-
| <code>previous</code> / <code>previousyear</code> / <code>next</code> / <code>nextyear</code>
| <code>townprevious</code> / <code>townpreviousyear</code> || Prior festival hosted by the same town.
| General festival chronology: the previous/next festival overall, with optional month/year (e.g. <code>previousyear=April 2026</code>).
|-
|-
| <code>townprevious</code> / <code>townpreviousyear</code> / <code>townnext</code> / <code>townnextyear</code>
| <code>townnext</code> / <code>townnextyear</code> || Next festival hosted by the same town.
| 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>

Revision as of 07:39, 18 August 2026

Usage

{{Infobox tournament
|name=Asgard V
|date=February 14, 2026
|image=Asgard V.jpg
|type=Player Run Festival
|format=1v1
|mode=Potion
|host=Asgard
|continent=Ascalon
|runner1=Deevil
|runner2=nainti
|bid=10961
|challonge=exampleI
|winner=PlayerName
|second=PlayerName
|third=PlayerName
|previous=Asgard IV
|previousyear=November 2025
|next=Asgard VI
}}

Only name is required -- everything else is optional and simply doesn't show if left blank. Also generates a short lead paragraph below the box automatically from these same parameters, so there's no separate prose to write.

For a 2v2/3v3 result, use winnerteam/secondteam/thirdteam plus up to three winner1-3/second1-3/third1-3 members instead of the plain winner/second/third.

Parameters

Parameter Description
Basic
name Tournament name. Defaults to the page name.
date Full date, e.g. July 19, 2026.
image Header banner photo.
type Badge text, e.g. Player Run Festival.
Tournament Details
format Team size, e.g. 3v3.
mode Ruleset, e.g. Potion, Barbones. Shown next to Format; adds a potion icon when set to Potion.
host Hosting town. Wikilinked.
continent Host town's continent, e.g. Ascalon. Adds a shield icon next to the host.
runner1-runner6 Up to six tournament organizers.
bid Numeric Loka Forums bid-thread ID (just the number from the thread URL).
challonge Challonge tournament ID, e.g. riversideI for challonge.com/riversideI.
Results
winner / second / third 1v1: winning player for that placing.
winnerteam / secondteam / thirdteam 2v2/3v3: team name for that placing.
winner1-3 / second1-3 / third1-3 2v2/3v3: up to three members for that placing.
Chronology
previous / previousyear Prior festival overall, and its month/year.
next / nextyear Next festival overall, and its month/year. Shows "TBA" if left blank.
townprevious / townpreviousyear Prior festival hosted by the same town.
townnext / townnextyear Next festival hosted by the same town.