Template:CraftingTable/row: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
No edit summary
No edit summary
Line 7: Line 7:
{{!}} align="center" {{!}} {{#ifeq:{{{minesold|}}}|0|<span style="color:#c90c0c;">N/A</span>|{{#expr:({{{baseprice}}}*{{{minemultiplier}}}) round 0}}}}|<!-- end of organicmaterials that are also medical items
{{!}} align="center" {{!}} {{#ifeq:{{{minesold|}}}|0|<span style="color:#c90c0c;">N/A</span>|{{#expr:({{{baseprice}}}*{{{minemultiplier}}}) round 0}}}}|<!-- end of organicmaterials that are also medical items


-->{{#switch:{{{type|}}}|rarematerial|mineralmaterial=|#default=&nbsp;
-->{{#switch:{{{type|}}}|rarematerial|mineralmaterial=|#default=<!--
{{!}} align="center" {{!}} {{#ifeq:{{{outpostsold|}}}|0|<span style="color:#c90c0c;">N/A</span>|{{#expr:({{{baseprice}}}*{{{outpostmultiplier}}}) round 0}}}}
-->{{!}} align="center" {{!}} {{#ifeq:{{{outpostsold|}}}|0|<span style="color:#c90c0c;">N/A</span>|{{#expr:({{{baseprice}}}*{{{outpostmultiplier}}}) round 0}}}}
{{!}} align="center" {{!}} {{#ifeq:{{{citysold|}}}|0|<span style="color:#c90c0c;">N/A</span>|{{#expr:({{{baseprice}}}*{{{citymultiplier}}}) round 0}}}}<!--/s-->}}<!--w-->{{#ifeq:{{{type|}}}|mineralmaterial||&nbsp;
{{!}} align="center" {{!}} {{#ifeq:{{{citysold|}}}|0|<span style="color:#c90c0c;">N/A</span>|{{#expr:({{{baseprice}}}*{{{citymultiplier}}}) round 0}}}}<!--/s-->}}<!--w-->{{#ifeq:{{{type|}}}|mineralmaterial||&nbsp;
{{!}} align="center" {{!}} {{#ifeq:{{{researchsold|}}}|0|<span style="color:#c90c0c;">N/A</span>|{{#expr:({{{baseprice}}}*{{{researchmultiplier}}}) round 0}}}}<!--/s-->}}<!--w-->{{#switch:{{{type|}}}|rarematerial|mineralmaterial=|#default=&nbsp;
{{!}} align="center" {{!}} {{#ifeq:{{{researchsold|}}}|0|<span style="color:#c90c0c;">N/A</span>|{{#expr:({{{baseprice}}}*{{{researchmultiplier}}}) round 0}}}}<!--/s-->}}<!--w-->{{#switch:{{{type|}}}|rarematerial|mineralmaterial=|#default=&nbsp;

Revision as of 21:37, 22 June 2022

This sub-template is used by Template:Crafting table and is not meant for direct usage.