Difference between revisions of "Template:7sTeamCard"

From comp.tf
Jump to navigation Jump to search
m
Line 35: Line 35:
 
<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}}||<!--
Line 40: Line 42:
  
 
-->{{#subobject:ranking_{{lc:{{{link|{{{team|TBD}}}}}}}}
 
-->{{#subobject:ranking_{{lc:{{{link|{{{team|TBD}}}}}}}}
|has player pages={{{scout1link|{{{scout1|}}}}}}
+
 
|has player pages={{{scout2link|{{{scout2|}}}}}}
+
 
|has player pages={{{roamerlink|{{{roamer|}}}}}}
+
|has player pages={{{onelink|{{{one}}}}}}
|has player pages={{{pocketlink|{{{pocket|}}}}}}
+
|has player pages={{{twolink|{{{two}}}}}}
|has player pages={{{demomanlink|{{{demoman|}}}}}}
+
|has player pages={{{threelink|{{{three}}}}}}
|has player pages={{{mediclink|{{{medic|}}}}}}
+
|has player pages={{{fourlink|{{{four}}}}}}
|has player pages={{{p7link|{{{p7|}}}}}}
+
|has player pages={{{fivelink|{{{five}}}}}}
 +
|has player pages={{{sixlink|{{{six}}}}}}
 +
|has player pages={{{sevenlink|{{{seven}}}}}}
 
}}
 
}}
 
}}
 
}}
 
</includeonly>
 
</includeonly>
 
<noinclude>{{Documentation}}[[Category:Templates]][[Category:Source Liquipedia‏‎]]</noinclude>
 
<noinclude>{{Documentation}}[[Category:Templates]][[Category:Source Liquipedia‏‎]]</noinclude>

Revision as of 11:20, 24 February 2017

(view - edit) Documentation

Example

{{7sTeamCard
|team=froyotech
|image=Froyotech Logo.png
|imagesize=140x140px
|one=b4nny |oneflag=us |oneclass=Scout
|two=blaze |fourflag=ca|fourclass=Soldier
|three=Hassassin |sixflag=us |sixclass=Demoman
|four=Freestate |fiveflag=us |fiveclass=Heavy
|five=CookieJake |sevenflag=us |sevenclass=Medic
|six=corsa|twoflag=us |twoclass=Sniper
|seven=paddie |threeflag=ca|threeclass=Spy
|notes=
}}



Code

Typical
{{7sTeamCard
|team=
|image=
|one= |oneflag= |oneclass=
|two= |twoflag= |twoclass=
|three= |threeflag= |threeclass=
|four= |fourflag= |fourclass=
|five= |fiveflag= |fiveclass=
|six= |sixflag= |sixclass=
|seven= |sevenflag= |sevenclass=
|qualifier=
}}