Difference between revisions of "Template:DbParser"
From StarMade Wiki
m |
m |
||
Line 1: | Line 1: | ||
{{#if:{{{2|}}}|<!-- | {{#if:{{{2|}}}|<!-- | ||
− | -->{{#switch:{{{2}}} | + | -->{{#switch:{{{2}}} |
− | + | |name={{Db|{{{1}}}|link}} | |
− | + | |image=[[File:{{Db|{{{1}}}|link}}.png|{{#if:{{{3|}}}|{{{3}}}|150}}px|link={{Db|{{{1}}}|link}}]] | |
− | + | |Armor={{#ifeq:{{Db|{{{1}}}|Armor}}|0.0|No|{{Db|{{{1}}}|{{{2}}}}}%}} | |
− | + | |Ahp={{#ifeq:{{Db|{{{1}}}|AHP}}|0| ---- |{{Db|{{{1}}}|ArmorHPContribution}}}} | |
− | + | |Shp={{#ifeq:{{Db|{{{1}}}|SHP}}|0|No|{{Db|{{{1}}}|SHP}}}} | |
− | + | |ReactorHp={{#ifeq:{{Db|{{{1}}}|ReactorHp}}|0| ---- |{{Db|{{{1}}}|ReactorHp}}}}<!-- | |
-->|Light={{#ifeq:{{Db|{{{1}}}|Light}}|true|Yes|No}}<!-- | -->|Light={{#ifeq:{{Db|{{{1}}}|Light}}|true|Yes|No}}<!-- | ||
-->|Transparency={{#ifeq:{{Db|{{{1}}}|Transparency}}|true|Yes|No}}<!-- | -->|Transparency={{#ifeq:{{Db|{{{1}}}|Transparency}}|true|Yes|No}}<!-- |