Difference between revisions of "Template:Test/MapCard"

From comp.tf
Jump to navigation Jump to search
m
m
 
(59 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div class="teamcard" style="position:relative; width:250px; height:143px;">
+
<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|242x139px|link={{{map|}}}]]<div style="background-color:white; height:2px;"></div>
+
  | <div style="background-color:white; height:2px;"></div>[[File:{{#if:{{{3|}}}|{{{3|}}}|{{#ifexist:File:{{{1|}}}.jpg|{{{1|}}}.jpg|{{#ifexist:File:{{{1|}}}.png|{{{1|}}}.png}}}}}}|center|244x137px|link={{{1|}}}]]<div style="background-color:white; height:2px;"></div>
 
|}
 
|}
{| class="wikitable list" style="width: 252px; height: 143px;"  
+
{| class="wikitable list" style="width: 250px; height: 143px; background-color:rgba(0,0,0,0);"  
 
|-
 
|-
  | ''{{{filename|}}}''
+
  | 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:Templates]][[Category:Source Liquipedia‏‎]]</noinclude>
+
<noinclude>{{Documentation}}[[Category:Template]][[Category:Templates]]</noinclude>

Latest revision as of 04:43, 4 June 2016

(view - edit) Documentation

Template:Test/MapCard/doc