Difference between revisions of "Template:Previewinfo"

From StarMade Wiki
(Created page with " ==Usage== <pre>{{previewbox |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 as infobox bloc...")
 
m
 
Line 1: Line 1:
  
==Usage==
+
{{previewbox
<pre>{{previewbox
+
|name        =  
|type=Grey Hull
+
|bodystyle    = width: 14em; padding: 0em;
|hp=75
+
|above        = {{{name|{{PAGENAME}}}}}
|armor=0%
+
|abovestyle  = font-size: lnormal; padding:5px;
|ahp=50
+
|image        =  
|shp=5
+
|imagestyle  =  
|mass=0.05
+
|caption      =  
|light=no
+
|captionstyle =  
|dv=598
+
|headerstyle  = padding: 0em; height: 1.8em;
}}</pre>
+
|labelstyle  = padding: 0.1em 0.5em;
 +
|datastyle    = padding: 0.1em 0.5em;
  
The above produces the table to the right as [[infobox block]] but in a little scale.
+
|data2    = {{{image|[[File:{{PAGENAME}}.png|75px|link={{PAGENAME}}]]}}}
 +
|label3  = Type
 +
|data3    = {{{type|}}}
 +
|label4  = Hit Points
 +
|data4    = {{{hp|}}}
 +
|label5  = Armor
 +
|data5    = {{{armor|}}}
 +
|label6  = Armor HP
 +
|data6    = {{{ahp}}}
 +
|label7  = Structure HP
 +
|data7    = {{{shp}}}
 +
|label8  = Mass
 +
|data8    = {{{mass|}}}
 +
|label9  = Luminosity
 +
|data9    = {{{light|}}}
 +
|label10 = Data Value (ID)
 +
|data10  = {{{dv|}}}
 +
}}

Latest revision as of 06:59, 4 May 2018