Template:CraftingTable/row: Difference between revisions
From Official Barotrauma Wiki
(fixed previous fix) |
(reverted last 2 edits) |
||
Line 6: | Line 6: | ||
{{!}} align="center" {{!}} {{#ifeq:{{{militarysold|}}}|0|<span style="color:#c90c0c;">N/A</span>|{{#expr:({{{baseprice}}}*{{{militarymultiplier}}}) round 0}}}} | {{!}} align="center" {{!}} {{#ifeq:{{{militarysold|}}}|0|<span style="color:#c90c0c;">N/A</span>|{{#expr:({{{baseprice}}}*{{{militarymultiplier}}}) round 0}}}} | ||
{{!}} 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 | ||
--> | -->{{!}} align="center" {{!}} {{#ifeq:{{{minesold|}}}|0|<span style="color:#c90c0c;">N/A</span>|{{#expr:({{{baseprice}}}*{{{minemultiplier}}}) round 0}}}}{{#switch:{{{type|}}}|rarematerial|processedmaterial|organicmaterial= | ||
{{!}} align="center" {{!}} {{#ifeq:{{{ | {{!}} align="center" {{!}} {{#ifeq:{{{researchsold|}}}|0|<span style="color:#c90c0c;">N/A</span>|{{#expr:({{{baseprice}}}*{{{researchmultiplier}}}) round 0}}}}|#default=}}{{#switch:{{{type|}}}|processedmaterial|organicmaterial= | ||
{{!}} align="center" {{!}} {{#ifeq:{{{ | {{!}} align="center" {{!}} {{#ifeq:{{{militarysold|}}}|0|<span style="color:#c90c0c;">N/A</span>|{{#expr:({{{baseprice}}}*{{{militarymultiplier}}}) round 0}}}} | ||
{{!}} align="center" {{!}} {{#ifeq:{{{ | {{!}} align="center" {{!}} {{#ifeq:{{{outpostsold|}}}|0|<span style="color:#c90c0c;">N/A</span>|{{#expr:({{{baseprice}}}*{{{outpostmultiplier}}}) round 0}}}} | ||
{{!}} align="center" {{!}} {{#ifeq:{{{ | {{!}} align="center" {{!}} {{#ifeq:{{{citysold|}}}|0|<span style="color:#c90c0c;">N/A</span>|{{#expr:({{{baseprice}}}*{{{citymultiplier}}}) round 0}}}}|#default=}}}} | ||
{{!}} align="center" {{!}} {{#ifeq:{{{ | |||
| {{#if:{{{description|}}}|{{{description}}}|{{#if:{{{wikidescription|}}}|{{{wikidescription}}}|Missing description. Go to this item's page and add a description or wikidescription in the infobox.<br><code>description</code> is the in-game description, while <code>wikidescription</code> is a custom description made by editors in cases where the in-game description isn't informative (e.g. "''Useful for crafting''").}}}} | | {{#if:{{{description|}}}|{{{description}}}|{{#if:{{{wikidescription|}}}|{{{wikidescription}}}|Missing description. Go to this item's page and add a description or wikidescription in the infobox.<br><code>description</code> is the in-game description, while <code>wikidescription</code> is a custom description made by editors in cases where the in-game description isn't informative (e.g. "''Useful for crafting''").}}}} | ||
| {{#if:{{{sources|}}}|{{{sources}}}|{{ucfirst:{{{fabricatorskill}}}}} {{{fabricatorskilllevel}}}<br>{{{fabricatormaterials}}}}}</includeonly> | | {{#if:{{{sources|}}}|{{{sources}}}|{{ucfirst:{{{fabricatorskill}}}}} {{{fabricatorskilllevel}}}<br>{{{fabricatormaterials}}}}}</includeonly> | ||
<noinclude>This sub-template is used by [[Template:Crafting table]] and is not meant for direct usage.[[Category:Templates]]</noinclude> | <noinclude>This sub-template is used by [[Template:Crafting table]] and is not meant for direct usage.[[Category:Templates]]</noinclude> |
Revision as of 17:46, 22 June 2022
This sub-template is used by Template:Crafting table and is not meant for direct usage.