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

From StarMade Wiki
m
m
Line 1: Line 1:
 
==Usage==
 
==Usage==
<pre>{{previewbox block
+
<pre>{{previewbox block/grey hull}}</pre>
|type=Grey Hull
 
|hp=75
 
|armor=0%
 
|ahp=50
 
|shp=5
 
|mass=0.05
 
|light=no
 
|dv=598
 
}}</pre>
 
  
 
The above produces the table to the right.   
 
The above produces the table to the right.   
  
This an alternate more compact 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
+
{{infobox block/grey hull
  |type=Grey Hull
+
|image =[[File:Grey_Hull.png|75px|link=Grey_Hull]]
        |image=[[File:Blindage Gris.png]]
 
|hp=75
 
|armor=0%
 
        |ahp=50
 
        |shp=5
 
        |mass=0.05
 
|light=no
 
|dv=598
 
 
}}
 
}}

Revision as of 20:20, 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:Infobox block/grey hull