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

Template page
No edit summary
No edit summary
 
(53 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<includeonly>{{DISPLAYTITLE:{{SUBPAGENAME}}}}</includeonly><includeonly>{{#cargo_store:
This is the Infobox Team template.
== Cargo Declaration ==
{{#cargo_declare:
_table = Teams
|name = String
|short_code = String
|image = File
|country = String
|sponsors = List
|instagram = URL
|twitter = URL
|youtube = URL
}}
</noinclude><includeonly>{{#cargo_store:
_table = Teams
_table = Teams
|name = {{{name|{{PAGENAME}}}}}
|name = {{{name|{{PAGENAME}}}}}
|short_code = {{{short_code|}}}
|short_code = {{{short_code|}}}
|other_team = {{{other_team|}}}
|image = {{{image|}}}
|image = {{{image|}}}
|image_dark = {{{image_dark|}}}
|country = {{{country|}}}
|country = {{{country|}}}
|status = {{{status|}}}
|sponsors = {{{sponsors|}}}
|sponsors = {{{sponsors|}}}
|earnings = {{{earnings|}}}
|instagram = {{{instagram|}}}
|instagram = {{{instagram|}}}
|twitter = {{{twitter|}}}
|twitter = {{{twitter|}}}
|youtube = {{{youtube|}}}
|youtube = {{{youtube|}}}
}}<div class="infobox">
}}
    <div class="infobox-header">{{{name|{{PAGENAME}}}}}</div>
{{#invoke:Team|infobox|name={{{name|{{PAGENAME}}}}}|short_code={{{short_code|}}}|other_team={{{other_team|}}}|image={{{image|}}}|image_dark={{{image_dark|}}}|country={{{country|}}}|status={{{status|}}}|sponsors={{{sponsors|}}}|instagram={{{instagram|}}}|twitter={{{twitter|}}}|youtube={{{youtube|}}} }}
 
[[Category:Teams]]</includeonly>
    {{#if:{{{image|}}}|
    <div class="infobox-image">[[File:{{{image}}}|200px]]</div>
    }}
 
    <div class="infobox-data-container">
       
        {{#if:{{{short_code|}}}|
        <div class="infobox-row">
            <div class="infobox-label">Short Code</div>
            <div class="infobox-data">{{{short_code}}}</div>
        </div>
        }}
 
        {{#if:{{{country|}}}|
        <div class="infobox-row">
            <div class="infobox-label">Country</div>
            <div class="infobox-data">{{{country}}}</div>
        </div>
        }}
 
        {{#if:{{{sponsors|}}}|
        <div class="infobox-row">
            <div class="infobox-label">Sponsors</div>
            <div class="infobox-data">{{{sponsors}}}</div>
        </div>
        }}
 
    </div>
 
    {{#if:{{{instagram|}}}{{{twitter|}}}{{{youtube|}}}|
    <div class="infobox-socials">
        {{#if:{{{instagram|}}}|[[File:Icon-instagram.png|24px|link={{{instagram}}}|Instagram]]}}
        {{#if:{{{twitter|}}}|[[File:Icon-twitter.png|24px|link={{{twitter}}}|Twitter]]}}
        {{#if:{{{youtube|}}}|[[File:Icon-youtube.png|24px|link={{{youtube}}}|YouTube]]}}
    </div>
    }}
</div>[[Category:Teams]]</includeonly>

Latest revision as of 13:30, 1 February 2026