Difference between revisions of "Template:Test/MapCard"

From comp.tf
Jump to navigation Jump to search
m
m
Line 1: Line 1:
 
<includeonly><div class="teamcard" style="position:relative; width:250px; height:137px;">
 
<includeonly><div class="teamcard" style="position:relative; width:250px; height:137px;">
<center>'''[[{{{map|}}}]]'''</center>
+
<center>'''[[{{{1|}}}]]'''</center>
 
{| class="wikitable logo" style="width: 250px; height: 143px;"
 
{| class="wikitable logo" style="width: 250px; height: 143px;"
 
|-
 
|-
  | <div style="background-color:white; height:2px;"></div>[[File:{{{image|}}}|center|244x137px|link={{{map|}}}]]<div style="background-color:white; height:2px;"></div>
+
  | <div style="background-color:white; height:2px;"></div>{{#ifexist:File:{{{1|}}}.jpg|[[File:{{{1|}}}.jpg|center|244x137px|link={{{1|}}}]]|{{#ifexist:File:{{{1|}}}.png|[[File:{{{1|}}}.png|center|244x137px|link={{{1|}}}]]|[[File:{{{3|}}}|center|244x137px|link={{{1|}}}]]}}}}<div style="background-color:white; height:2px;"></div>
 
|}
 
|}
 
{| class="wikitable list" style="width: 250px; height: 143px; background-color:rgba(0,0,0,0);"  
 
{| class="wikitable list" style="width: 250px; height: 143px; background-color:rgba(0,0,0,0);"  
 
|-
 
|-
  | style="font-size: 0.875em; text-align:center; border:hidden;" | [[File:MapCardClear.png|center|link={{{map|}}}]]<div style="margin-top:1px;">[[File:MapCardBlock.png|center|link={{{map|}}}]]</div><div style="margin-top:-18px;">''{{{filename|}}}''</div>
+
  | style="font-size: 0.875em; text-align:center; border:hidden;" | [[File:MapCardClear.png|center|link={{{1|}}}]]<div style="margin-top:1px;">[[File:MapCardBlock.png|center|link={{{1|}}}]]</div><div style="margin-top:-18px;">''{{{2|}}}''</div>
 
|}
 
|}
 
</div>
 
</div>
 
</includeonly>
 
</includeonly>
 
<noinclude>{{Documentation}}[[Category:Template]][[Category:Templates]]</noinclude>
 
<noinclude>{{Documentation}}[[Category:Template]][[Category:Templates]]</noinclude>

Revision as of 14:00, 14 April 2016

(view - edit) Documentation

Template:Test/MapCard/doc