Difference between revisions of "Template:Test/MapCard"

From comp.tf
Jump to navigation Jump to search
m
m
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
<div style="width:248px;">
+
<div style="width:248px; position:relative;">
 
<center>'''[[{{{map|}}}]]'''</center>
 
<center>'''[[{{{map|}}}]]'''</center>
 
<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;">[[File:{{{image|Generic_Logo.png}}}|center|244px|link={{{map|}}}]]</div>
 
<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="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 href="https://google.com"><span style="  position:absolute;
+
<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>
  width:100%;
 
  height:100%;
 
  top:0;
 
  left: 0;
 
  z-index: 2;"></span></a>
 
 
</div>
 
</div>
 
</div>
 
</div>
 +
<a href="https://www.google.com"><span style="position:absolute; width:100%;height:100%;top:0;left: 0;z-index: 5;"></span></a>
 
</div>
 
</div>
 
</includeonly><noinclude>{{documentation}}[[Category:Template]][[Category:Templates]]</noinclude>
 
</includeonly><noinclude>{{documentation}}[[Category:Template]][[Category:Templates]]</noinclude>

Revision as of 03:36, 1 April 2016

(view - edit) Documentation

Template:Test/MapCard/doc