Difference between revisions of "Template:Infobox blockalt"

From StarMade Wiki
m
m (Undo revision 6132 by Arkahys (talk))
Line 1: Line 1:
{{infobox block/{{PAGENAME}}
+
{{infobox
 
|name        =  
 
|name        =  
 
|bodystyle    = width: 21.5em; padding: 0em;
 
|bodystyle    = width: 21.5em; padding: 0em;

Revision as of 22:15, 4 May 2018

150px
Armure PV{{{ahp}}}
Structure PV{{{shp}}}
[view] [edit] [history] [[[:Template:Purge]]] 50px Template documentation

This works just like Template:infobox block except it allows specifying a block with a name that is not the same as the page on which the template is included by providing the type parameter.

.tooltipblock { position: relative; display: inline-block; border-bottom: 1px dotted black; }

.tooltipblock .info { visibility: hidden; text-align: center; border-radius: 6px; padding: 5px 0; position: absolute; z-index: 1; bottom: 100%; left: 50%; margin-left: -60px; opacity: 0; transition: opacity 0.5s; }

.tooltipblock .info { visibility: visible; opacity: 1; }