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
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
ib allow to get specific in formation of a block in database.
+
ib allow to get specific information of a block in database.
  
 
= Usage =
 
= Usage =
 
<pre>{{ib|Name}}  
 
<pre>{{ib|Name}}  
 
or {{ib|Name|type}}  
 
or {{ib|Name|type}}  
or {{ib|Name|image|size(optional)}}</pre>
+
or {{ib|Name|image|size(optional)}}
  
No type return a link + icon of the block name
+
display an older version :
 +
{{ib|~version|Name|type)}} (don't forget the "~" before the verrsion number)
 +
ie : {{ib|~0.200.335|Teal Crystal Armor|Armor}}
  
ie : {{ib|Ship Core}}
 
  
 +
'''Version :''' (optional) use "~" and the number of version (stored in database) ie : ~0.200.335
 +
'''Name :''' In game block name
 +
'''type :''' the value you query (Hp, armor, name, etc...)
 +
</pre>
  
badtype return a list of all type available
+
====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
  
 +
 +
====type return the value of 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}}
 +
 +
====image size(optional) : number in pixel  ====
 +
...|image|40}} &nbsp; = {{ib|Ship Core|image|40}} &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; and  without number, original &nbsp; &nbsp; &nbsp; ....|image}} &nbsp; = {{ib|Ship Core|image}}
 +
 +
====badtype return a list of all type available ====
 
i. e : {{ib|Name|Badtype}}
 
i. e : {{ib|Name|Badtype}}

Latest revision as of 23:54, 28 July 2018

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

Usage

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

display an older version :
{{ib|~version|Name|type)}} (don't forget the "~" before the verrsion number)
ie : {{ib|~0.200.335|Teal Crystal Armor|Armor}}


'''Version :''' (optional) use "~" and the number of version (stored in database) ie : ~0.200.335
'''Name :''' In game block name
'''type :''' the value you query (Hp, armor, name, etc...)

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 Core if i dont put any type


type return the value of block name

Ship core have 100hp, value of armor is Noand light color : 1.0,1.0,1.0,1.0

image size(optional) : number in pixel

...|image|40}}   = Ship Core.png               and without number, original       ....|image}}   = {{{3}}}px

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