Template:Infobox tournament: Difference between revisions

Template page
(Created page with "<div class="infobox"> <div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| <div class="infobox-image">[[File:{{{image}}}|250px]]</div>}} <table>{{#if:{{{series|}}}|<tr> <th style="text-align:left;">Series</th> <td>{{{series}}}</td> </tr>}} {{#if:{{{organizer|}}}|<tr> <th style="text-align:left;">Organizer</th> <td>{{{organizer}}}</td> </tr>}} {{#if:{{{type|}}}|<tr> <th style="text-align:left;">Type</th> <td>{{{type}}}</t...")
 
(Replaced content with "<includeonly>{{#invoke:Infobox tournament|main}}</includeonly><noinclude>{{Documentation}}</noinclude>")
Tag: Replaced
Line 1: Line 1:
<div class="infobox">
<includeonly>{{#invoke:Infobox tournament|main}}</includeonly><noinclude>{{Documentation}}</noinclude>
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
<div class="infobox-image">[[File:{{{image}}}|250px]]</div>}}
<table>{{#if:{{{series|}}}|<tr>
    <th  style="text-align:left;">Series</th>
    <td>{{{series}}}</td>
</tr>}}
{{#if:{{{organizer|}}}|<tr>
    <th  style="text-align:left;">Organizer</th>
    <td>{{{organizer}}}</td>
</tr>}}
{{#if:{{{type|}}}|<tr>
    <th  style="text-align:left;">Type</th>
    <td>{{{type}}}</td>
</tr>}}
{{#if:{{{location|}}}|<tr>
    <th style="text-align:left;">Location</th>
    <td>{{{location}}}</td>
</tr>}}
{{#if:{{{venue|}}}|<tr>
    <th style="text-align:left;">Venue</th>
    <td>{{{venue}}}</td>
</tr>}}
{{#if:{{{format|}}}|<tr>
    <th style="text-align:left;">Format</th>
    <td>{{{format}}}</td>
</tr>}}
{{#if:{{{sponsors|}}}|<tr>
<th style="text-align:left;>Sponsors</th>
<td style="text-align:left; display: flex; flex-direction: column;">
{{{sponsors}}}
</td></tr>}}
{{#if:{{{prize|}}}|<tr>
    <th  style="text-align:left;">Prize Pool</th>
    <td>{{{prize}}}</td>
</tr>}}
{{#if:{{{start|}}}|<tr>
    <th style="text-align:left;">Start Date</th>
    <td >{{{start}}}</td>
</tr>}}
{{#if:{{{end|}}}|<tr>
    <th  style="text-align:left;">End Date</th>
    <td>{{{end}}}</td>
</tr>}}
{{#if:{{{patch|}}}|<tr>
    <th  style="text-align:left;">Patch</th>
    <td>{{{patch}}}</td>
</tr>}}
{{#if:{{{teams|}}}|<tr>
    <th  style="text-align:left;">Teams</th>
    <td>{{{teams}}}</td>
</tr>}}
{{#if:{{{points|}}}|<tr>
    <th  style="text-align:left;">Pro circuit points</th>
    <td>{{{points}}}</td>
</tr>}}
{{#if:{{{links|}}}|<tr>
<th style="text-align:left;>Links</th>
<td style="text-align:left;>{{#if:{{{website|}}}|[[Image:Home.png|40px|link={{{website}}}|Website]]}}{{#if:{{{twitter|}}}|[[Image:Twitter.png|40px|link=https://twitter.com/{{{twitter}}}|Twitter]]}}{{#if:{{{facebook|}}}|[[Image:Facebook.png|40px|link=https://www.facebook.com/{{{facebook}}}|Facebook]]}}{{#if:{{{instagram|}}}|[[Image:Instagram.png|40px|link=https://www.instagram.com/{{{instagram}}}|Instagram]]}}{{#if:{{{twitch|}}}|[[Image:Twitch.png|40px|link=https://www.twitch.com/{{{twitch}}}|Twitch]]}}{{#if:{{{youtube|}}}|[[Image:Youtube.png|40px|link=https://www.youtube.com/{{{youtube}}}|Youtube]]}}{{#if:{{{linkedin|}}}|[[Image:Linkedin.png|40px|link=https://www.linkedin.com/company/{{{linkedin}}}|LinkedIn]]}}{{#if:{{{linkedin2|}}}|[[Image:Linkedin.png|40px|link=https://www.linkedin.com/company/{{{linkedin2}}}|LinkedIn]]}}{{#if:{{{email|}}}|[[Image:Email.png|40px|link=mailto:{{{email}}}|Email]]}}{{#if:{{{phone|}}}|[[Image:Phone.png|40px|link=tel:{{{phone}}}|Phone]]}}{{#if:{{{discord|}}}|[[Image:Discord.png|40px|link={{{discord}}}|Discord]]}}{{#if:{{{reddit|}}}|[[Image:Reddit.png|40px|link=https://www.reddit.com/r/{{{reddit}}}|Reddit]]}}{{#if:{{{weibo|}}}|[[Image:Weibo.png|40px|link=https://m.weibo.cn/u/{{{weibo}}}|Weibo]]}}
</td></tr>}}
</table>
</div>

Revision as of 14:01, 30 August 2022

Documentation (view - edit)

To add a tournament go to https://twogpedia.com/Form:Tournament and to edit a tournament just use the "Edit with form" button.

For a list of country codes / names check https://twogpedia.com/Module:Localisation/Data

For additional links check https://twogpedia.com/Module:Links