Blocktemplate

From StarMade Wiki

Revision as of 03:20, 12 May 2018 by Arkahys (talk | contribs) (Blockbox)

There is actually 2 templates 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 Conduit}}  {{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.

in quibus diutius commorati sumus.Paphius quin etiam et Cornelius senatores, ambo venenorum artibus pravis se polluisse confessi, eodem pronuntiante Maximino sunt interfecti. pari sorte etiam procurator monetae extinctus est. Sericum enim et Asbolium supra dictos, quoniam cum hortaretur passim nominare, quos vellent, adiecta religione firmarat, nullum igni vel ferro se puniri iussurum, plumbi validis ictibus interemit. et post hoe flammis Campensem aruspicem dedit, in negotio eius nullo sacramento constrictus..Ideoque fertur neminem aliquando ob haec vel similia poenae addictum oblato de more elogio revocari iussisse, quod inexorabiles quoque principes factitarunt. et exitiale hoc vitium, quod in aliis non numquam intepescit, in illo aetatis progressu effervescebat, obstinatum eius propositum accendente adulatorum cohorte.

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.