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;">
  
<table 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;">
 
<caption>[[{{{team|}}}]]<sup style="font-weight:normal">{{#if:{{{notes|}}}|&#32;{{{notes|}}}|}}</sup></caption>
 
<caption>[[{{{team|}}}]]<sup style="font-weight:normal">{{#if:{{{notes|}}}|&#32;{{{notes|}}}|}}</sup></caption>
<tr>
+
<tr class="teamcard-image">
 
<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>
 
<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>
 
</tr>

Revision as of 05:55, 17 March 2017

[[]]
Generic Logo.png