Difference between revisions of "Template:Test/MapCard"

From comp.tf
Jump to navigation Jump to search
m
m
 
(4 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
{| class="wikitable logo" style="width: 250px; height: 143px;"
 
{| class="wikitable logo" style="width: 250px; height: 143px;"
 
|-
 
|-
  | <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>
+
  | <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: 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={{{1|}}}]]<div style="margin-top:1px;">[[File:MapCardBlock.png|center|link={{{1|}}}]]</div><div style="margin-top:-18px;">''{{{2|}}}''</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>

Latest revision as of 04:43, 4 June 2016

(view - edit) Documentation

Template:Test/MapCard/doc