Difference between revisions of "Template:Infobox blockalt"
From StarMade Wiki
DukeofRealms (talk | contribs) m (1 version) |
(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 13: | Line 13: | ||
|data2 = {{{image|[[File:{{{type|}}}.png|150px]]}}} | |data2 = {{{image|[[File:{{{type|}}}.png|150px]]}}} | ||
− | |label3 = | + | |label3 = Nom original |
|data3 = {{{type|}}} | |data3 = {{{type|}}} | ||
− | |label4 = | + | |label4 = Points de vie |
|data4 = {{{hp|}}} | |data4 = {{{hp|}}} | ||
− | |label5 = | + | |label5 = Armure |
|data5 = {{{armor|}}} | |data5 = {{{armor|}}} | ||
− | |label6 = | + | |label6 = Armure PV |
− | |data6 = {{{ | + | |data6 = {{{ahp}}} |
− | |label7 = | + | |label7 = Structure PV |
− | |data7 = {{{dv|}}} | + | |data7 = {{{shp}}} |
+ | |label8 = Mass | ||
+ | |data8 = {{{mass|}}} | ||
+ | |label9 = Luminosité | ||
+ | |data9 = {{{light|}}} | ||
+ | |label10 = Identifiant (ID) | ||
+ | |data10 = {{{dv|}}} | ||
}} | }} | ||
<noinclude> | <noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 01:21, 25 June 2015
150px | |
Armure PV | {{{ahp}}} |
Structure PV | {{{shp}}} |
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; }
The above documentation is transcluded from Template:Infobox blockalt/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |