Editing Template:6sTeamCard
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
This page is not enabled for semantic in-text annotations due to namespace restrictions. Details about how to enable the namespace can be found on the configuration help page.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | <includeonly><div class="teamcard" style="position:relative; width:166px; height:{{#expr:160+{{#if:{{{placement|}}}|33|0}}+{{#if:{{{preview|}}}|27|0}}+{{#if:{{{qualifier|}}}|28|0}}}}px; | + | <includeonly><div class="teamcard" style="position:relative; width:166px; height:{{#expr:160+{{#if:{{{placement|}}}|33|0}}+{{#if:{{{preview|}}}|27|0}}+{{#if:{{{qualifier|}}}|28|0}}}}px;"> |
− | <center>{{#if:{{{team|}}}|''' | + | <center>{{#if:{{{team|}}}|'''[[{{{link|{{{team}}}}}}|{{{team}}}]]'''|'''TBD'''}}{{#if:{{{notes|}}}| <sup>{{{notes| }}}</sup>}}{{{ref|}}}</center> |
− | {| class="wikitable logo" style="width: 166px; height: {{#expr: | + | {| class="wikitable logo" style="width: 166px; height: {{#expr: 166+{{#if:{{{placement|}}}|33|0}}+{{#if:{{{preview|}}}|27|0}}}}px;" |
|- | |- | ||
− | |[[{{#if:{{{image|}}}|File:{{#ifeq:{{{image|}}}| | | + | |[[{{#if:{{{image|}}}|File:{{#ifeq:{{{image|}}}| |Generic_Logo.png|{{{image}}}}}|{{#ifeq:{{{team|}}}||File:Generic_Logo.png|{{#show: {{#if:{{{link|}}}|{{{link|}}}|{{{team|}}}}}|?has teamcard image|default={{#show: {{#if:{{{link|}}}|{{{link|}}}|{{{team|}}}}}|?has image|default=File:Generic_Logo.png|link=none}}|link=none}}}}}}|{{#if:{{{imagesize|}}}|{{{imagesize}}}|140x140px}}|center|link=]] |
|} | |} | ||
{| class="wikitable list" style="width: 166px; height: {{#expr: 166+{{#if:{{{placement|}}}|33|0}}+{{#if:{{{preview|}}}|27|0}}}}px;" | {| class="wikitable list" style="width: 166px; height: {{#expr: 166+{{#if:{{{placement|}}}|33|0}}+{{#if:{{{preview|}}}|27|0}}}}px;" | ||
Line 13: | Line 13: | ||
|{{#if:{{{scout2team|}}}|<span style="height:22px; width:22px; overflow:hidden; display:flex; justify-content:center; float:right;"> <span style="transform:translate(-2px, -1px)">[[File:{{#if:{{{scout2teamimg|}}}|{{{scout2teamimg}}}|{{#ifexist:File:{{{scout2team}}}_Icon.png|{{{scout2team}}}_Icon.png|TF_icon.png}}}}|x20px|link={{{scout2team}}}]]</span></span>}} {{flag|fixed-width=1|{{#if:{{{scout2flag|}}}|{{{scout2flag|filler flag}}}|filler flag}}}} {{#if:{{{scout2|}}}|[[{{{scout2link|{{{scout2}}}}}}|{{{scout2}}}]]|<abbr title="To Be Determined">TBD</abbr>}} | |{{#if:{{{scout2team|}}}|<span style="height:22px; width:22px; overflow:hidden; display:flex; justify-content:center; float:right;"> <span style="transform:translate(-2px, -1px)">[[File:{{#if:{{{scout2teamimg|}}}|{{{scout2teamimg}}}|{{#ifexist:File:{{{scout2team}}}_Icon.png|{{{scout2team}}}_Icon.png|TF_icon.png}}}}|x20px|link={{{scout2team}}}]]</span></span>}} {{flag|fixed-width=1|{{#if:{{{scout2flag|}}}|{{{scout2flag|filler flag}}}|filler flag}}}} {{#if:{{{scout2|}}}|[[{{{scout2link|{{{scout2}}}}}}|{{{scout2}}}]]|<abbr title="To Be Determined">TBD</abbr>}} | ||
|- | |- | ||
− | !{{{roleroamer|[[File: | + | !{{{roleroamer|[[File:Soldiericon.png|20px|link=|Roamer]]}}} |
{{!}}{{#if:{{{roamerteam|}}}|<span style="height:22px; width:22px; overflow:hidden; display:flex; justify-content:center; float:right;"> <span style="transform:translate(-2px, -1px)">[[File:{{#if:{{{roamerteamimg|}}}|{{{roamerteamimg}}}|{{#ifexist:File:{{{roamerteam}}}_Icon.png|{{{roamerteam}}}_Icon.png|TF_icon.png}}}}|x20px|link={{{roamerteam}}}]]</span></span>}} {{flag|fixed-width=1|{{#if:{{{roamerflag|}}}|{{{roamerflag|filler flag}}}|filler flag}}}} {{#if:{{{roamer|}}}|[[{{{roamerlink|{{{roamer}}}}}}|{{{roamer}}}]]|<abbr title="To Be Determined">TBD</abbr>}} | {{!}}{{#if:{{{roamerteam|}}}|<span style="height:22px; width:22px; overflow:hidden; display:flex; justify-content:center; float:right;"> <span style="transform:translate(-2px, -1px)">[[File:{{#if:{{{roamerteamimg|}}}|{{{roamerteamimg}}}|{{#ifexist:File:{{{roamerteam}}}_Icon.png|{{{roamerteam}}}_Icon.png|TF_icon.png}}}}|x20px|link={{{roamerteam}}}]]</span></span>}} {{flag|fixed-width=1|{{#if:{{{roamerflag|}}}|{{{roamerflag|filler flag}}}|filler flag}}}} {{#if:{{{roamer|}}}|[[{{{roamerlink|{{{roamer}}}}}}|{{{roamer}}}]]|<abbr title="To Be Determined">TBD</abbr>}} | ||
|- | |- | ||
Line 26: | Line 26: | ||
|- | |- | ||
{{#if:{{{coach|}}}| | {{#if:{{{coach|}}}| | ||
− | ! | + | !{{{rolecoach|[[File:Generic Logo.png|20px|link=|Coach]]}}} |
{{!}}{{#if:{{{coachteam|}}}|<span style="height:22px; width:22px; overflow:hidden; display:flex; justify-content:center; float:right;"> <span style="transform:translate(-2px, -1px)">[[File:{{#if:{{{coachteamimg|}}}|{{{coachteamimg}}}|{{#ifexist:File:{{{coachteam}}}_Icon.png|{{{coachteam}}}_Icon.png|TF_icon.png}}}}|x20px|link={{{coachteam}}}]]</span></span>}} {{flag|fixed-width=1|{{#if:{{{coachflag|}}}|{{{coachflag|filler flag}}}|filler flag}}}} {{#if:{{{coach|}}}|[[{{{coachlink|{{{coach}}}}}}|{{{coach}}}]]|<abbr title="To Be Determined">TBD</abbr>}} | {{!}}{{#if:{{{coachteam|}}}|<span style="height:22px; width:22px; overflow:hidden; display:flex; justify-content:center; float:right;"> <span style="transform:translate(-2px, -1px)">[[File:{{#if:{{{coachteamimg|}}}|{{{coachteamimg}}}|{{#ifexist:File:{{{coachteam}}}_Icon.png|{{{coachteam}}}_Icon.png|TF_icon.png}}}}|x20px|link={{{coachteam}}}]]</span></span>}} {{flag|fixed-width=1|{{#if:{{{coachflag|}}}|{{{coachflag|filler flag}}}|filler flag}}}} {{#if:{{{coach|}}}|[[{{{coachlink|{{{coach}}}}}}|{{{coach}}}]]|<abbr title="To Be Determined">TBD</abbr>}} | ||
{{!}}-|}} | {{!}}-|}} | ||
Line 42: | Line 42: | ||
-->{{#ifeq:{{NAMESPACE}}||<!-- | -->{{#ifeq:{{NAMESPACE}}||<!-- | ||
− | |||
-->{{#subobject:ranking_{{lc:{{{link|{{{team|TBD}}}}}}}} | -->{{#subobject:ranking_{{lc:{{{link|{{{team|TBD}}}}}}}} | ||
− | |is team={{ | + | |is team={{{link|{{{team|}}}}}} |
|has tournament={{FULLPAGENAME}} | |has tournament={{FULLPAGENAME}} | ||
− | |has | + | |has end date={{#var:tournament_date}} |
|has player pages={{{scout1link|{{{scout1|}}}}}} | |has player pages={{{scout1link|{{{scout1|}}}}}} | ||
|has player pages={{{scout2link|{{{scout2|}}}}}} | |has player pages={{{scout2link|{{{scout2|}}}}}} |