Difference between revisions of "Template:Ib/doc"

From StarMade Wiki
(Created page with "ib allow to get specific in formation of a block in database. = Usage = <pre>{{ib|Name}} or {{ib|Name|type}} or {{ib|Name|image|size(optional)}}</pre> No type return a lin...")
 
m
Line 6: Line 6:
 
or {{ib|Name|image|size(optional)}}</pre>
 
or {{ib|Name|image|size(optional)}}</pre>
  
No type return a link + icon of the block name  
+
====No type return a link + icon of the block name ====
 +
ie : for the block Ship Core if i use ib that display {{ib|Ship Core}}if i dont put any type
  
ie : {{ib|Ship Core}}
+
====type return a value block name ====
 
+
Ship core have{{ib|Ship Core|Hp}} hp, value of armor is{{ib|Ship Core|Armor}}and light color :{{ib|Ship Core|LightColor}}
 
 
badtype return a list of all type available
 
  
 +
====badtype return a list of all type available ====
 
i. e : {{ib|Name|Badtype}}
 
i. e : {{ib|Name|Badtype}}

Revision as of 02:09, 15 May 2018

ib allow to get specific in formation of a block in database.

Usage

{{ib|Name}} 
or {{ib|Name|type}} 
or {{ib|Name|image|size(optional)}}

No type return a link + icon of the block name

ie : for the block Ship Core if i use ib that display Ship Core.pngShip Coreif i dont put any type

type return a value block name

Ship core have100 hp, value of armor isNoand light color :1.0,1.0,1.0,1.0

badtype return a list of all type available

i. e : Unknow Badtype : link, Id, Factory, Animated, Armor, Ahp, Shp, Transparency, InShop, ReactorHp, Mass, Hp, Heat, Kinetic,EM, cat, cat2, cat3, cat4, Placable, BlockStyle, Light, Depreciated, LightColor, Item(table), CtrlBy(table), Ctrling(table), Shop(InShop+Price), Price, Desc, BlockResourceType, FactoryBakeTime, Chamber(table), Volume, InRecipe, MainCtrl, SupportCtrl, EffectCtrl, ExpAbsorb