Template:CraftingTable/row: Difference between revisions
From Official Barotrauma Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>|- | <includeonly>|- | ||
|[[File:{{{icon}}}|50px]]<br>[[{{{name}}}]] | |[[File:{{{icon}}}|50px]]<br>[[{{{name}}}]] | ||
| {{# | | {{#ifeq:{{{minesold|}}}|0|<span style="color:#c90c0c;">N/A</span>|{{#expr:{{{baseprice}}}*{{{minemultiplier}}}}}}}{{#switch:{{{type|}}}|rarematerial|processedmaterial|organicmaterial= | ||
{{!}} {{#ifeq:{{{researchsold|}}}|0|<span style="color:#c90c0c;">N/A</span>|{{#expr:{{{baseprice}}}*{{{minemultiplier}}}}}}}|#default=}}{{#switch:{{{type|}}}|processedmaterial|organicmaterial= | {{!}} {{#ifeq:{{{researchsold|}}}|0|<span style="color:#c90c0c;">N/A</span>|{{#expr:{{{baseprice}}}*{{{minemultiplier}}}}}}}|#default=}}{{#switch:{{{type|}}}|processedmaterial|organicmaterial= | ||
{{!}} {{#ifeq:{{{militarysold|}}}|0|<span style="color:#c90c0c;">N/A</span>|{{#expr:{{{baseprice}}}*{{{minemultiplier}}}}}}} | {{!}} {{#ifeq:{{{militarysold|}}}|0|<span style="color:#c90c0c;">N/A</span>|{{#expr:{{{baseprice}}}*{{{minemultiplier}}}}}}} |
Revision as of 19:12, 18 June 2022
This sub-template is used by Template:Crafting table and is not meant for direct usage.