Difference between revisions of "Template:Previewbox block/doc"

From StarMade Wiki
m
m
Line 1: Line 1:
 
==Usage==
 
==Usage==
<pre>{{previewbox block/grey_hull}}</pre>
+
<pre>{{previewbox block/grey hull}}</pre>
  
 
The above produces the table to the right.   
 
The above produces the table to the right.   
Line 6: Line 6:
 
This is a compact alternative to {{Tl|infobox block}} who make image and title link to the block page.
 
This is a compact alternative to {{Tl|infobox block}} who make image and title link to the block page.
  
{{infobox block/grey_hull
+
{{infobox
 +
|type=Grey Hull
 +
|name=
 +
|bodystyle= width: 12em; padding: 0em;
 +
|above=[[Grey_Hull|Grey Hull]]
 +
|abovestyle  = font-size: 120%; padding:5px;
 
|image =[[File:Grey_Hull.png|75px|link=Grey_Hull]]
 
|image =[[File:Grey_Hull.png|75px|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
 
}}
 
}}

Revision as of 20:06, 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.

Grey Hull
Grey Hull.png
Hit Points75
Armor0%
Armor HP50
Structure HP5
Mass0.05
Luminosityno
Data Value (ID)598