Difference between revisions of "Template:Test/MapCard"

From comp.tf
Jump to navigation Jump to search
m
m
 
(129 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
+
<includeonly><div class="teamcard" style="position:relative; width:250px; height:137px;">
<div style="width:248px;">
+
<center>'''[[{{{1|}}}]]'''</center>
<center>'''[[{{{map|}}}]]'''</center>
+
{| class="wikitable logo" style="width: 250px; height: 143px;"
<div style="width:248px; border:1px solid #aaa; background-color:#f9f9f9;">
+
|-
<div style="height:137px; border:2px solid #f9f9f9;"><div style="z-index:1; position:absolute;">[[File:{{{image|Generic_Logo.png}}}|center|244px|link={{{map|}}}]]</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>
<a href="comp.tf/wiki/{{{map|}}}"><div style="width:244px; font-size:0.875em; background-color:rgba(249, 249, 249, 0.7); z-index:2; position:absolute; margin-top:118px;"><center>''{{{filename|}}}''</center></div></a>
+
|}
 +
{| 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>
 +
|}
 
</div>
 
</div>
</div>
+
</includeonly>
</div>
+
<noinclude>{{Documentation}}[[Category:Template]][[Category:Templates]]</noinclude>
</includeonly><noinclude>{{documentation}}[[Category:Template]][[Category:Templates]]</noinclude>
 

Latest revision as of 04:43, 4 June 2016

(view - edit) Documentation

Template:Test/MapCard/doc