Difference between revisions of "Template:DbParser"

From StarMade Wiki
m
m
Line 4: Line 4:
 
|Id={{Db|{{{1}}}|type}}
 
|Id={{Db|{{{1}}}|type}}
 
|Depreciated={{Db|{{{1}}}|Deprecated}}
 
|Depreciated={{Db|{{{1}}}|Deprecated}}
|Ahp={{Db|{{{1}}}|AHP}}
 
 
|Shp={{Db|{{{1}}}|SHP}}
 
|Shp={{Db|{{{1}}}|SHP}}
 
|name={{Db|{{{1}}}|link}}<!--
 
|name={{Db|{{{1}}}|link}}<!--
 
---------    Preformat some answers (0, False, etc.. return value if true) -->
 
---------    Preformat some answers (0, False, etc.. return value if true) -->
 
|image=[[File:{{Db|{{{1}}}|link}}.png|{{#if:{{{3|}}}|{{{3}}}|150}}px|link={{Db|{{{1}}}|link}}]]
 
|image=[[File:{{Db|{{{1}}}|link}}.png|{{#if:{{{3|}}}|{{{3}}}|150}}px|link={{Db|{{{1}}}|link}}]]
|Armor|hp={{#ifeq:{{Db|{{{1}}}|SHP}}|0|No|{{Db|{{{1}}}|SHP}}}}
+
|Armor|hp={{#ifeq:{{Db|{{{1}}}|{{{2}}}}}|0|No|{{Db|{{{1}}}|{{{2}}}}}}}
|Ahp={{#ifeq:{{Db|{{{1}}}|ReactorHp}}|0| ---- |{{Db|{{{1}}}|ReactorHp}}}}
+
|AHP|Ahp={{#ifeq:{{Db|{{{1}}}|AHP}}|0| ---- |{{Db|{{{1}}}|AHP}}}}
 
|Light|Transparency|InShop|Placable|MainCtrl|EffectCtrl|SupportCtrl={{#ifeq:{{Db|{{{1}}}|{{{2}}}}}|true|Yes|No}}
 
|Light|Transparency|InShop|Placable|MainCtrl|EffectCtrl|SupportCtrl={{#ifeq:{{Db|{{{1}}}|{{{2}}}}}|true|Yes|No}}
 
|Factory={{#Ifeq:{{Db|{{{1}}}|Factory}}|3|Basic Factory|{{#Ifeq:{{Db|{{{1}}}|Factory}}|4|Standard Factory|{{#Ifeq:{{Db|{{{1}}}|Factory}}|5|Advanced Factory|n/a}}}}}}
 
|Factory={{#Ifeq:{{Db|{{{1}}}|Factory}}|3|Basic Factory|{{#Ifeq:{{Db|{{{1}}}|Factory}}|4|Standard Factory|{{#Ifeq:{{Db|{{{1}}}|Factory}}|5|Advanced Factory|n/a}}}}}}
|ExpAbsorb|ReactorHp={{#ifeq:{{Db|{{{1}}}|{{{2}}}}}|0||{{Db|{{{1}}}|{{{2}}}}}}}
+
|ExpAbsorb|ReactorHp={{#ifeq:{{Db|{{{1}}}|{{{2}}}}}|0|---|{{Db|{{{1}}}|{{{2}}}}}}}
 
|{{Db|{{{1}}}|{{{2}}}}}
 
|{{Db|{{{1}}}|{{{2}}}}}
 
}}<!-- switch
 
}}<!-- switch
 
-->|}}
 
-->|}}

Revision as of 21:18, 11 May 2018