Template:Infobox blockalt

From StarMade Wiki

Revision as of 13:31, 28 December 2014 by ChronosWS (talk) (Add documentation tag)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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