Template:Infobox team: Difference between revisions

Template page
No edit summary
mNo edit summary
 
(21 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="infobox">
<templatestyles src="Infobox.css" />
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
<noinclude>{{#cargo_declare:
<div class="infobox-image">[[File:{{{image}}}|250px]]</div>}}
_table = Teams
<table>{{#if:{{{location|}}}|<tr>
|org=Page
    <th  style="text-align:left;">Location</th>
|region=String
    <td>{{{location}}}</td>
|inactive=Boolean
</tr>}}
|api_id=String
{{#if:{{{region|}}}|<tr>
|shorthand=String
    <th  style="text-align:left;">Region</th>
|founded=Date
    <td>{{{region}}}</td>
}}</noinclude><includeonly>
</tr>}}
{{#invoke:Infobox team|main}}{{#cargo_store:
{{#if:{{{founded|}}}|<tr>
_table = Teams
    <th  style="text-align:left;">Founded</th>
|org={{#if: {{{org|}}} | Companies/{{{org|}}} }}
    <td>{{{founded}}}</td>
}}</includeonly><noinclude>{{Documentation}}[[Category:Templates]]</noinclude>
</tr>}}
{{#if:{{{coach|}}}|<tr>
    <th style="text-align:left;">Coach</th>
    <td>{{{coach}}}</td>
</tr>}}
{{#if:{{{manager|}}}|<tr>
    <th style="text-align:left;">Manager</th>
    <td>{{{manager}}}</td>
</tr>}}
{{#if:{{{captain|}}}|<tr>
    <th style="text-align:left;">Captain</th>
    <td>{{{captain}}}</td>
</tr>}}
{{#if:{{{organization|}}}|<tr>
    <th  style="text-align:left;">Organization</th>
    <td>{{{organization}}}</td>
</tr>}}
{{#if:{{{earnings|}}}|<tr>
    <th  style="text-align:left;">Earnings</th>
    <td>{{{earnings}}}</td>
</tr>}}
{{#if:{{{sponsors|}}}|<tr>
    <th  style="text-align:left;">Sponsors</th>
    <td>{{{sponsors}}}</td>
</tr>}}
{{#if:{{{nextmatch|}}}|<tr>
    <th  style="text-align:left;">Next match</th>
    <td>{{{nextmatch}}}</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>

Latest revision as of 23:28, 13 October 2023

This template defines the table "Teams". View table.

Documentation (view - edit)

Template:Infobox team/doc