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

From StarMade Wiki
m
m
 
(2 intermediate revisions by the same user not shown)
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
+
{{previewbox
|image =[[File:Grey_Hull.png|75px|link=Grey_Hull]]
+
|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.

Template:Previewbox