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}}<!-- | ||
Line 12: | Line 12: | ||
-->|InShop={{#ifeq:{{Db|{{{1}}}|InShop}}|true|Yes|No}}<!-- | -->|InShop={{#ifeq:{{Db|{{{1}}}|InShop}}|true|Yes|No}}<!-- | ||
-->|{{Db|{{{1}}}|{{{2}}}}}<!-- | -->|{{Db|{{{1}}}|{{{2}}}}}<!-- | ||
− | -->}}<!-- | + | -->}}<!-- switch |
-->|}} | -->|}} |
Revision as of 16:49, 11 May 2018
{{#if:|