Difference between revisions of "Template:Previewbox block/doc"
From StarMade Wiki
(try to get a previewBox) |
m |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
==Usage== | ==Usage== | ||
− | <pre>{{previewbox block | + | <pre>{{previewbox block/grey hull}}</pre> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | }}</pre> | ||
− | The above produces the table to the right | + | The above produces the table to the right. |
− | This | + | This is a compact alternative to {{Tl|infobox block}} who make image and title link to the block page. |
− | {{ | + | {{previewbox |
− | + | |type=Grey Hull | |
− | + | |name= | |
− | + | |bodystyle= width: 12em; padding: 0em; | |
− | + | |above=[[Grey_Hull|Grey Hull]] | |
− | + | |abovestyle = font-size: 120%; padding:2px; | |
− | + | |image =[[File:Grey_Hull.png|100px|link=Grey_Hull]] | |
− | + | |label3 = Type | |
− | + | |data3 = {{{type|}}} | |
− | + | |label4 = Hit Points | |
+ | |data4 = 75 | ||
+ | |label5 = Armor | ||
+ | |data5 = 0% | ||
+ | |label6 = Armor HP | ||
+ | |data6 = 50 | ||
+ | |label7 = Structure HP | ||
+ | |data7 = 5 | ||
+ | |label8 = Mass | ||
+ | |data8 = 0.05 | ||
+ | |label9 = Luminosity | ||
+ | |data9 = no | ||
+ | |label10 = Data Value (ID) | ||
+ | |data10 = 598 | ||
}} | }} |
Latest revision as of 20:44, 4 May 2018
Usage
{{previewbox block/grey hull}}
The above produces the table to the right.
This is a compact alternative to {{infobox block}} who make image and title link to the block page.