Difference between revisions of "Template:Infobox blockalt/doc"
From StarMade Wiki
DukeofRealms (talk | contribs) m (1 version) |
DukeofRealms (talk | contribs) m (3 revisions imported) |
||
(One intermediate revision by one other user not shown) | |||
Line 5: | Line 5: | ||
|hp=50 | |hp=50 | ||
|armor=0% | |armor=0% | ||
+ | |ahp=0 | ||
+ | |shp=5 | ||
+ | |mass=0.025 | ||
|light=no | |light=no | ||
|dv=171 | |dv=171 | ||
}} | }} |
Latest revision as of 17:01, 8 July 2016
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; }