Difference between revisions of "Template:6sTeamCard2"

From comp.tf
Jump to navigation Jump to search
m
m
Line 1: Line 1:
 
<div style="display:inline-block; position:relative; margin-right:2em;">
 
<div style="display:inline-block; position:relative; margin-right:2em;">
 
+
{| class="wikitable teamcard-image" style="width:163px; height:163px; margin:0; margin-top:8px;"
<table class="wikitable" style="width:163px; height:163px; margin:0; margin-top:8px;">
+
|+ class="teamcard-caption" | [[{{{team|}}}]]<sup style="font-weight:normal">{{#if:{{{notes|}}}|&#32;{{{notes|}}}|}}</sup>
<caption>[[{{{team|}}}]]<sup style="font-weight:normal">{{#if:{{{notes|}}}|&#32;{{{notes|}}}|}}</sup></caption>
+
| [[{{#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=]]
<tbody class="teamcard-image">
+
|}
<tr>
 
<td>[[{{#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=]]</td>
 
</tr>
 
</tbody>
 
</table>
 
 
{| class="wikitable teamcard-table" style="width:163px; position:absolute; bottom:-14px; z-index:1; display:none; background-color:rgba(249,249,249,0.95)"
 
{| class="wikitable teamcard-table" style="width:163px; position:absolute; bottom:-14px; z-index:1; display:none; background-color:rgba(249,249,249,0.95)"
 
!style="width:22px; padding:2px"|<div style="transform:translateY(-1px)">[[File:Scouticon.png|20x20px|link=Scout]]</div>
 
!style="width:22px; padding:2px"|<div style="transform:translateY(-1px)">[[File:Scouticon.png|20x20px|link=Scout]]</div>

Revision as of 05:57, 17 March 2017

[[]]
Generic Logo.png