Difference between revisions of "Blocktemplate"

From StarMade Wiki
(Created page with "There is actually 3 template to manage block infos : == ib == <pre>{{ib|name}} i.e : {{ib|Ship Core}} </pre> make a link to block page for exemple, {{ib|S...")
 
m (Blockbox)
Line 21: Line 21:
 
Display an info box of block in various size with link to the block page. In order from left to right : Display a tiny box, with only Id. Display the default box with important informations and the last one display all interesting information of block.  
 
Display an info box of block in various size with link to the block page. In order from left to right : Display a tiny box, with only Id. Display the default box with important informations and the last one display all interesting information of block.  
 
NOTICE : Box are display from right to left. So, to obtain this, have to write AND-signal, reactor power then Ship core.
 
NOTICE : Box are display from right to left. So, to obtain this, have to write AND-signal, reactor power then Ship core.
 +
Text will fill around box : Novitates autem si spem adferunt, ut tamquam in herbis non fallacibus fructus appareat, non sunt illae quidem repudiandae, vetustas tamen suo loco conservanda; maxima est enim vis vetustatis et consuetudinis. Quin in ipso equo, cuius modo feci mentionem, si nulla res impediat, nemo est, quin eo, quo consuevit, libentius utatur quam intractato et novo. Nec vero in hoc quod est animal, sed in iis etiam quae sunt inanima, consuetudo valet, cum locis ipsis delectemur, montuosis etiam et silvestribus, in quibus diutius commorati sumus.

Revision as of 01:50, 12 May 2018

There is actually 3 template to manage block infos :

ib

{{ib|name}}                   i.e :   {{ib|Ship Core}} 

make a link to block page for exemple, Ship Core.pngShip Core can be integrated on text when you talk about it for explain something.


{{ib|name|data}}         i.e :   {{ib|Ship Core|Hp}}                and       {{ib| {{ib|Ship Core|Factory}} }} 

return the value of data. You can include on in other if the data is a block Exemple : Ship core have 100 Hp and can be crafted in Basic Factory.pngBasic Factory

Specificity :

{{ib|name|image}}      i.e :    {{ib|Ship Core|image}}        and      {{ib|Ship Core|image|40}}

return the original image, following parameter could be size in pixel : {{{3}}}px and 40px : Ship Core.png

{{ib|name|BaDtYpE}}

With a badtype, return all value allowed : 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


Blockbox

AND-Signal
AND-Signal.png
Id : AND-SIGNAL
LuminosityNo
{{Blockbox|name}}                                 i.e :   {{Blockbox|1|Ship core}}  {{Blockbox|Reactor Power}}  {{Blockbox|0|AND-Signal}} 

Display an info box of block in various size with link to the block page. In order from left to right : Display a tiny box, with only Id. Display the default box with important informations and the last one display all interesting information of block. NOTICE : Box are display from right to left. So, to obtain this, have to write AND-signal, reactor power then Ship core. Text will fill around box : Novitates autem si spem adferunt, ut tamquam in herbis non fallacibus fructus appareat, non sunt illae quidem repudiandae, vetustas tamen suo loco conservanda; maxima est enim vis vetustatis et consuetudinis. Quin in ipso equo, cuius modo feci mentionem, si nulla res impediat, nemo est, quin eo, quo consuevit, libentius utatur quam intractato et novo. Nec vero in hoc quod est animal, sed in iis etiam quae sunt inanima, consuetudo valet, cum locis ipsis delectemur, montuosis etiam et silvestribus, in quibus diutius commorati sumus.