Difference between revisions of "Template:Infobox block"

From StarMade Wiki
(updated template)
Line 29: Line 29:
|label10 = Data Value (ID)
|label10 = Data Value (ID)
|data10  = {{#if:{{{dv|}}}|{{{dv|}}}|{{{id|}}}}}
|data10  = {{#if:{{{dv|}}}|{{{dv|}}}|{{{id|}}}}}
|label11  = Orientation
|data11    = {{{orientation|}}}

Revision as of 17:03, 15 April 2019

[view] [edit] [history] [[[:Template:Purge]]] 50px Template documentation


{{infobox block
|type=Grey Hull

The above produces the table to the right. If the name of the page does not match the name of the block, the title will be incorrect.

There is an alternate version of the template - {{infobox blockalt}} - which does not take its name from the name of the current page.

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