Difference between revisions of "Template:Infobox block"
From StarMade Wiki
(Infobox block translation) |
(Added Armor and Structure HP values. The names can easily be changed here if they are wrong. ( De Google Translate ) valeurs Ajouté Armure et structure HP . Les noms peuvent être facilement modifiés ici si elles sont mauvaises.) |
||
Line 19: | Line 19: | ||
|label5 = Armure | |label5 = Armure | ||
|data5 = {{{armor|}}} | |data5 = {{{armor|}}} | ||
− | |label6 = Mass | + | |label6 = Armure PV |
− | | | + | |data6 = {{{ahp}}} |
− | | | + | |label7 = Structure PV |
− | | | + | |data7 = {{{shp}}} |
− | | | + | |label8 = Mass |
− | | | + | |data8 = {{{mass|}}} |
+ | |label9 = Luminosité | ||
+ | |data9 = {{{light|}}} | ||
+ | |label10 = Identifiant (ID) | ||
+ | |data10 = {{{dv|}}} | ||
}}<noinclude>{{Documentation}}</noinclude> | }}<noinclude>{{Documentation}}</noinclude> |
Revision as of 01:13, 25 June 2015
Infobox block | |
---|---|
150px | |
Armure PV | {{{ahp}}} |
Structure PV | {{{shp}}} |
Usage
{{infobox block |type=Grey Hull |hp=75 |armor=0% |ahp=50 |shp=5 |mass=0.05 |light=no |dv=598 }}
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; }
The above documentation is transcluded from Template:Infobox block/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |