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; margin-top:1em">
+
<includeonly><div class="teamcard" style="position:relative; width:250px; height:{{#expr:160+{{#if:{{{placement|}}}|33|0}}+{{#if:{{{preview|}}}|27|0}}+{{#if:{{{qualifier|}}}|28|0}}}}px;">
<center>{{#if:{{{team|}}}|'''{{#ifeq:{{{link|}}}|0|{{{team|}}}|[[{{{link|{{{team}}}}}}|{{{team}}}]]'''|'''TBD'''}}}}{{#if:{{{notes|}}}|&nbsp;<sup>{{{notes|&nbsp;}}}</sup>}}{{{ref|}}}</center>
+
<center>{{#if:{{{team|}}}|'''[[{{{link|{{{team}}}}}}|{{{team}}}]]'''|'''TBD'''}}{{#if:{{{notes|}}}|&nbsp;<sup>{{{notes|&nbsp;}}}</sup>}}{{{ref|}}}</center>
{| class="wikitable logo" style="width: 166px; height: {{#expr: 167+{{#if:{{{placement|}}}|33|0}}+{{#if:{{{preview|}}}|27|0}}}}px;"
+
{| class="wikitable logo" style="width: 250px; height: {{#expr: 166+{{#if:{{{placement|}}}|33|0}}+{{#if:{{{preview|}}}|27|0}}}}px;"
 
|-
 
|-
|[[{{#if:{{{image|}}}|File:{{#ifeq:{{{image|}}}| |Generic_Logo2.png|{{{image}}}}}|{{#ifeq:{{{team|}}}||File:Generic_Logo2.png|{{#show: {{#if:{{{link|}}}|{{{link|}}}|{{{team|}}}}}|?has teamcard image|default={{#show: {{#if:{{{link|}}}|{{{link|}}}|{{{team|}}}}}|?has image|default=File:Generic_Logo2.png|link=none}}|link=none}}}}}}|{{#if:{{{imagesize|}}}|{{{imagesize}}}|140x140px}}|center|link=]]
+
|[[{{#if:{{{image|}}}|File:{{#ifeq:{{{image|}}}| |Generic_Logo.png|{{{image}}}}}|{{#ifeq:{{{team|}}}||File:Generic_Logo.png|{{#show: {{{team|}}}|?has teamcard image|default={{#show: {{{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: 250px; height: {{#expr: 166+{{#if:{{{placement|}}}|33|0}}+{{#if:{{{preview|}}}|27|0}}}}px;"  
 
|-
 
|-
!width=20px|{{{rolescout1|[[File:Scouticon.png|20px|link=|Scout]]}}}
+
!width=95px|<div style="text-align: left;">{{{rolescout1|[[File:Scouticon.png|20px|link=]] [[Scout]]}}}</div>
|{{#if:{{{scout1team|}}}|<span style="height:22px; width:22px; overflow:hidden; display:flex; justify-content:center; float:right;">&nbsp;<span style="transform:translate(-2px, -1px)">[[File:{{#if:{{{scout1teamimg|}}}|{{{scout1teamimg}}}|{{#ifexist:File:{{{scout1team}}}_Icon.png|{{{scout1team}}}_Icon.png|TF_icon.png}}}}|x20px|link={{{scout1team}}}]]</span></span>}}&nbsp;{{flag|fixed-width=1|{{#if:{{{scout1flag|}}}|{{{scout1flag|filler flag}}}|filler flag}}}}&nbsp;{{#if:{{{scout1|}}}|[[{{{scout1link|{{{scout1}}}}}}|{{{scout1}}}]]|<abbr title="To Be Determined">TBD</abbr>}}&nbsp;{{#if:{{{scout1preview|}}}|[[Image:Writers_icon.png|20px|15px|link={{{scout1preview}}}|Preview]]}}
+
|&nbsp;{{flag|{{#if:{{{scout1flag|}}}|{{{scout1flag|filler flag}}}|filler flag}}}}&nbsp;{{#if:{{{scout1|}}}|[[{{{scout1link|{{{scout1}}}}}}|{{{scout1}}}]]|<abbr title="To Be Determined">TBD</abbr>}}&nbsp;{{#if:{{{scout1preview|}}}|[[Image:Writers_icon.png|20px|15px|link={{{scout1preview}}}|Preview]]}}
 
|-
 
|-
!{{{rolescout2|[[File:Scouticon.png|20px|link=|Scout]]}}}
+
!{{{rolescout2|<div style="text-align: left;">[[File:Scouticon.png|20px|link=]] [[Scout]]}}} </div>
|{{#if:{{{scout2team|}}}|<span style="height:22px; width:22px; overflow:hidden; display:flex; justify-content:center; float:right;">&nbsp;<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>}}&nbsp;{{flag|fixed-width=1|{{#if:{{{scout2flag|}}}|{{{scout2flag|filler flag}}}|filler flag}}}}&nbsp;{{#if:{{{scout2|}}}|[[{{{scout2link|{{{scout2}}}}}}|{{{scout2}}}]]|<abbr title="To Be Determined">TBD</abbr>}}
+
|&nbsp;{{flag|{{#if:{{{scout2flag|}}}|{{{scout2flag|filler flag}}}|filler flag}}}}&nbsp;{{#if:{{{scout2|}}}|[[{{{scout2link|{{{scout2}}}}}}|{{{scout2}}}]]|<abbr title="To Be Determined">TBD</abbr>}}
 
|-
 
|-
!{{{roleroamer|[[File:Roamericon.png|20px|link=|Roamer]]}}}
+
!{{{roleroamer|<div style="text-align: left;">[[File:Soldiericon.png|20px|link=]] [[Roamer]]}}}</div>
{{!}}{{#if:{{{roamerteam|}}}|<span style="height:22px; width:22px; overflow:hidden; display:flex; justify-content:center; float:right;">&nbsp;<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>}}&nbsp;{{flag|fixed-width=1|{{#if:{{{roamerflag|}}}|{{{roamerflag|filler flag}}}|filler flag}}}}&nbsp;{{#if:{{{roamer|}}}|[[{{{roamerlink|{{{roamer}}}}}}|{{{roamer}}}]]|<abbr title="To Be Determined">TBD</abbr>}}
+
{{!}}&nbsp;{{flag|{{#if:{{{roamerflag|}}}|{{{roamerflag|filler flag}}}|filler flag}}}}&nbsp;{{#if:{{{roamer|}}}|[[{{{roamerlink|{{{roamer}}}}}}|{{{roamer}}}]]|<abbr title="To Be Determined">TBD</abbr>}}
 
|-
 
|-
!{{{rolepocket|[[File:Pocketicon.png|20px|link=|Pocket]]}}}
+
!{{{rolepocket|<div style="text-align: left;">[[File:Soldiericon.png|20px|link=]] [[Pocket]]}}}</div>
{{!}}{{#if:{{{pocketteam|}}}|<span style="height:22px; width:22px; overflow:hidden; display:flex; justify-content:center; float:right;">&nbsp;<span style="transform:translate(-2px, -1px)">[[File:{{#if:{{{pocketteamimg|}}}|{{{pocketteamimg}}}|{{#ifexist:File:{{{pocketteam}}}_Icon.png|{{{pocketteam}}}_Icon.png|TF_icon.png}}}}|x20px|link={{{pocketteam}}}]]</span></span>}}&nbsp;{{flag|fixed-width=1|{{#if:{{{pocketflag|}}}|{{{pocketflag|filler flag}}}|filler flag}}}}&nbsp;{{#if:{{{pocket|}}}|[[{{{pocketlink|{{{pocket}}}}}}|{{{pocket}}}]]|<abbr title="To Be Determined">TBD</abbr>}}
+
{{!}}&nbsp;{{flag|{{#if:{{{pocketflag|}}}|{{{pocketflag|filler flag}}}|filler flag}}}}&nbsp;{{#if:{{{pocket|}}}|[[{{{pocketlink|{{{pocket}}}}}}|{{{pocket}}}]]|<abbr title="To Be Determined">TBD</abbr>}}
 
|-
 
|-
!{{{roledemoman|[[File:Demomanicon.png|20px|link=|Demoman]]}}}
+
!{{{roledemoman|<div style="text-align: left;">[[File:Demomanicon.png|20px|link=]] [[Demoman]]}}}</div>
{{!}}{{#if:{{{demomanteam|}}}|<span style="height:22px; width:22px; overflow:hidden; display:flex; justify-content:center; float:right;">&nbsp;<span style="transform:translate(-2px, -1px)">[[File:{{#if:{{{demomanteamimg|}}}|{{{demomanteamimg}}}|{{#ifexist:File:{{{demomanteam}}}_Icon.png|{{{demomanteam}}}_Icon.png|TF_icon.png}}}}|x20px|link={{{demomanteam}}}]]</span></span>}}&nbsp;{{flag|fixed-width=1|{{#if:{{{demomanflag|}}}|{{{demomanflag|filler flag}}}|filler flag}}}}&nbsp;{{#if:{{{demoman|}}}|[[{{{demomanlink|{{{demoman}}}}}}|{{{demoman}}}]]|<abbr title="To Be Determined">TBD</abbr>}}
+
{{!}}&nbsp;{{flag|{{#if:{{{demomanflag|}}}|{{{demomanflag|filler flag}}}|filler flag}}}}&nbsp;{{#if:{{{demoman|}}}|[[{{{demomanlink|{{{demoman}}}}}}|{{{demoman}}}]]|<abbr title="To Be Determined">TBD</abbr>}}
 
|-
 
|-
!{{{rolemedic|[[File:Medicicon.png|20px|link=|Medic]]}}}
+
!{{{rolemedic|<div style="text-align: left;">[[File:Medicicon.png|20px|link=]] [[Medic]]}}}</div>
{{!}}{{#if:{{{medicteam|}}}|<span style="height:22px; width:22px; overflow:hidden; display:flex; justify-content:center; float:right;">&nbsp;<span style="transform:translate(-2px, -1px)">[[File:{{#if:{{{medicteamimg|}}}|{{{medicteamimg}}}|{{#ifexist:File:{{{medicteam}}}_Icon.png|{{{medicteam}}}_Icon.png|TF_icon.png}}}}|x20px|link={{{medicteam}}}]]</span></span>}}&nbsp;{{flag|fixed-width=1|{{#if:{{{medicflag|}}}|{{{medicflag|filler flag}}}|filler flag}}}}&nbsp;{{#if:{{{medic|}}}|[[{{{mediclink|{{{medic}}}}}}|{{{medic}}}]]|<abbr title="To Be Determined">TBD</abbr>}}
+
{{!}} &nbsp;{{flag|{{#if:{{{medicflag|}}}|{{{medicflag|filler flag}}}|filler flag}}}}&nbsp;{{#if:{{{medic|}}}|[[{{{mediclink|{{{medic}}}}}}|{{{medic}}}]]|<abbr title="To Be Determined">TBD</abbr>}}
|-
 
{{#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;">&nbsp;<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>}}&nbsp;{{flag|fixed-width=1|{{#if:{{{coachflag|}}}|{{{coachflag|filler flag}}}|filler flag}}}}&nbsp;{{#if:{{{coach|}}}|[[{{{coachlink|{{{coach}}}}}}|{{{coach}}}]]|<abbr title="To Be Determined">TBD</abbr>}}
 
{{!}}-|}}
 
 
{{!}}-{{#if:{{{placement|}}}|style="height: 29px;"}}
 
{{!}}-{{#if:{{{placement|}}}|style="height: 29px;"}}
 
{{#if:{{{placement|}}}|{{!}}colspan="2" {{Placement|{{{placement}}}}}{{#if:{{{placementicon|}}}|&nbsp;{{{placementicon}}}}}}}
 
{{#if:{{{placement|}}}|{{!}}colspan="2" {{Placement|{{{placement}}}}}{{#if:{{{placementicon|}}}|&nbsp;{{{placementicon}}}}}}}
Line 37: Line 32:
 
<div class="teamcard-qualifier" style="text-align: center; border-bottom: 1px solid #aaa; border-left: 1px solid #aaa; border-right: 1px solid #aaa; font-weight: bold; background-color: #f9f9f9; padding: 2px;margin-bottom: -25px;">{{{qualifier}}}</div>}}<!--
 
<div class="teamcard-qualifier" style="text-align: center; border-bottom: 1px solid #aaa; border-left: 1px solid #aaa; border-right: 1px solid #aaa; font-weight: bold; background-color: #f9f9f9; padding: 2px;margin-bottom: -25px;">{{{qualifier}}}</div>}}<!--
 
  ----- SEMANTIC SUBOBJECTS -----
 
  ----- SEMANTIC SUBOBJECTS -----
 
-->{{#set:has team={{{team}}}}}<!--
 
  
 
-->{{#ifeq:{{NAMESPACE}}||<!--
 
-->{{#ifeq:{{NAMESPACE}}||<!--
  
-->{{#vardefine:team_name|{{#ifexist:Template:Team/{{{link|{{{team|}}}}}}|{{#explode:{{#explode:{{Team/{{{link|{{{team|}}}}}}}}|link=|1}}|]]|0}}|{{{link|{{{team|}}}}}}}}}}<!--
 
  
 
-->{{#subobject:ranking_{{lc:{{{link|{{{team|TBD}}}}}}}}
 
-->{{#subobject:ranking_{{lc:{{{link|{{{team|TBD}}}}}}}}
|is team={{#var:team_name}}
 
|has tournament={{FULLPAGENAME}}
 
|has approssimate date={{#if:{{#var:tournament_date}}|{{#var:tournament_date}}|{{#if:{{#var:tournament_edate}}|{{#var:tournament_edate}}|{{#var:tournament_sdate}}}} }}
 
 
|has player pages={{{scout1link|{{{scout1|}}}}}}
 
|has player pages={{{scout1link|{{{scout1|}}}}}}
 
|has player pages={{{scout2link|{{{scout2|}}}}}}
 
|has player pages={{{scout2link|{{{scout2|}}}}}}

Please note that all contributions to comp.tf may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see comp.tf:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)