Difference between revisions of "Template:DbParser"

From StarMade Wiki
m (Undo revision 9779 by Arkahys (talk))
m
Line 1: Line 1:
{{#if:{{{2|}}}|<!--
+
{{#if:{{{2|}}}|<!--  
 
-->{{#switch:{{{2}}}<!--
 
-->{{#switch:{{{2}}}<!--
-->|name={{Db/Version/0.200.335/Main|{{{1}}}|link}}<!--
+
-->|name={{Db|{{{1}}}|link}}<!--
-->|image=[[File:{{Db/Version/0.200.335/Main|{{{1}}}|link}}.png|{{#if:{{{3|}}}|{{{3}}}|150}}px|link={{Db/Version/0.200.335/Main|{{{1}}}|link}}]]<!--
+
-->|image=[[File:{{Db|{{{1}}}|link}}.png|{{#if:{{{3|}}}|{{{3}}}|150}}px|link={{Db|{{{1}}}|link}}]]<!--
-->|Armor={{#ifeq:{{Db/Version/0.200.335/Main|{{{1}}}|Armor}}|0.0|No|{{Db/Version/0.200.335/Main|{{{1}}}|{{{2}}}}}}}<!--
+
-->|Armor={{#ifeq:{{Db|{{{1}}}|Armor}}|0.0|No|{{Db|{{{1}}}|{{{2}}}}}}}<!--
-->|Ahp={{#ifeq:{{Db/Version/0.200.335/Main|{{{1}}}|ArmorHPContribution}}|0| ---- |{{Db/Version/0.200.335/Main|{{{1}}}|ArmorHPContribution}}}}<!--
+
-->|Ahp={{#ifeq:{{Db|{{{1}}}|ArmorHPContribution}}|0| ---- |{{Db|{{{1}}}|ArmorHPContribution}}}}<!--
-->|Shp={{#ifeq:{{Db/Version/0.200.335/Main|{{{1}}}|SHP}}|0|No|{{Db/Version/0.200.335/Main|{{{1}}}|SHP}}}}<!--
+
-->|Shp={{#ifeq:{{Db|{{{1}}}|SHP}}|0|No|{{Db|{{{1}}}|SHP}}}}<!--
-->|ReactorHp={{#ifeq:{{Db/Version/0.200.335/Main|{{{1}}}|ReactorHp}}|0| ---- |{{Db/Version/0.200.335/Main|{{{1}}}|ReactorHp}}}}<!--
+
-->|ReactorHp={{#ifeq:{{Db|{{{1}}}|ReactorHp}}|0| ---- |{{Db|{{{1}}}|ReactorHp}}}}<!--
-->|Light={{#ifeq:{{Db/Version/0.200.335/Main|{{{1}}}|Light}}|true|Yes|No}}<!--
+
-->|Light={{#ifeq:{{Db|{{{1}}}|Light}}|true|Yes|No}}<!--
-->|Transparency={{#ifeq:{{Db/Version/0.200.335/Main|{{{1}}}|Transparency}}|true|Yes|No}}<!--
+
-->|Transparency={{#ifeq:{{Db|{{{1}}}|Transparency}}|true|Yes|No}}<!--
-->|Factory={{#Ifeq:{{Db/Version/0.200.335/Main|{{{1}}}|Factory}}|3|Basic Factory|{{#Ifeq:{{Db/Version/0.200.335/Main|{{{1}}}|Factory}}|4|Standard Factory|{{#Ifeq:{{Db/Version/0.200.335/Main|{{{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}}}}}}<!--
-->|InShop={{#ifeq:{{Db/Version/0.200.335/Main|{{{1}}}|InShop}}|true|Yes|No}}<!--
+
-->|InShop={{#ifeq:{{Db|{{{1}}}|InShop}}|true|Yes|No}}<!--
-->|{{Db/Version/0.200.335/Main|{{{1}}}|{{{2}}}}}<!--
+
-->|{{Db|{{{1}}}|{{{2}}}}}<!--
 
-->}}<!--
 
-->}}<!--
 
-->|}}
 
-->|}}

Revision as of 16:08, 11 May 2018