Template:CraftingTable/row: Difference between revisions
From Official Barotrauma Wiki
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= | -->{{#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|| | {{!}} align="center" {{!}} {{#ifeq:{{{citysold|}}}|0|<span style="color:#c90c0c;">N/A</span>|{{#expr:({{{baseprice}}}*{{{citymultiplier}}}) round 0}}}}<!--/s-->}}<!--w-->{{#ifeq:{{{type|}}}|mineralmaterial|| | ||
{{!}} align="center" {{!}} {{#ifeq:{{{researchsold|}}}|0|<span style="color:#c90c0c;">N/A</span>|{{#expr:({{{baseprice}}}*{{{researchmultiplier}}}) round 0}}}}<!--/s-->}}<!--w-->{{#switch:{{{type|}}}|rarematerial|mineralmaterial=|#default= | {{!}} align="center" {{!}} {{#ifeq:{{{researchsold|}}}|0|<span style="color:#c90c0c;">N/A</span>|{{#expr:({{{baseprice}}}*{{{researchmultiplier}}}) round 0}}}}<!--/s-->}}<!--w-->{{#switch:{{{type|}}}|rarematerial|mineralmaterial=|#default= |
Revision as of 21:37, 22 June 2022
This sub-template is used by Template:Crafting table and is not meant for direct usage.