Difference between revisions of "Template:Test/MapCard"

From comp.tf
Jump to navigation Jump to search
m
m
Line 4: Line 4:
 
<div style="width:248px; border:1px solid #aaa; background-color:#f9f9f9;">
 
<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;"><a>[[File:{{{image|Generic_Logo.png}}}|center|244px|link={{{map|}}}]]</a></div>
 
<div style="height:137px; border:2px solid #f9f9f9;"><div style="z-index:1; position:absolute;"><a>[[File:{{{image|Generic_Logo.png}}}|center|244px|link={{{map|}}}]]</a></div>
<span style="width:244px; font-size:0.875em; z-index:2; position:absolute; margin-top:118px;">[[File:MapCard.png|center|link={{{map|}}}]]<center style="margin-top:-18px;>''{{{filename|}}}''</center></span>
+
{|<div class="teamcard list" style="width:244px; font-size:0.875em; z-index:2; position:absolute; margin-top:118px;">[[File:MapCard.png|center|link={{{map|}}}]]<center style="margin-top:-18px;>''{{{filename|}}}''</center></div>|}
 
</div>
 
</div>
 
</div>
 
</div>
 
</div>
 
</div>
<style>
 
span {
 
display:none;
 
}
 
a:hover + span {
 
display:block;
 
}
 
</style>
 
 
</includeonly><noinclude>{{documentation}}[[Category:Template]][[Category:Templates]]</noinclude>
 
</includeonly><noinclude>{{documentation}}[[Category:Template]][[Category:Templates]]</noinclude>

Revision as of 04:37, 1 April 2016

(view - edit) Documentation

Template:Test/MapCard/doc