Difference between revisions of "Template:Infobox blockalt"

From StarMade Wiki
m (4 revisions imported)
m
Line 1: Line 1:
{{infobox
+
{{infobox block/{{PAGENAME}}
 
|name        =  
 
|name        =  
 
|bodystyle    = width: 21.5em; padding: 0em;
 
|bodystyle    = width: 21.5em; padding: 0em;

Revision as of 23:12, 4 May 2018

Template:Infobox block/Infobox blockalt

[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; }