Difference between revisions of "Template:Infobox blockalt"

From StarMade Wiki
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  = Type
+
|label3  = Nom original
 
|data3    = {{{type|}}}
 
|data3    = {{{type|}}}
|label4  = Hitpoints
+
|label4  = Points de vie
 
|data4    = {{{hp|}}}
 
|data4    = {{{hp|}}}
|label5  = Armor
+
|label5  = Armure
 
|data5    = {{{armor|}}}
 
|data5    = {{{armor|}}}
|label6  = Luminance
+
|label6  = Armure PV
|data6    = {{{light|}}}
+
|data6    = {{{ahp}}}
|label7  = Data Value
+
|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 02:21, 25 June 2015

150px
Armure PV{{{ahp}}}
Structure PV{{{shp}}}
[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; }