Template:CraftingTable/row: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
(attempt #67862)
(Undo revision 27725 by 31percent (talk))
Tag: Undo
Line 1: Line 1:
<includeonly>|-
<includeonly>|-
| align="center" |[[File:{{{icon}}}|50px]]<br>[[{{{name}}}]]
| align="center" |[[File:{{{icon}}}|50px]]<br>[[{{{name}}}]]
{{#ifeq:{{{organicmaterial|}}}|1|
{{#ifeq:{{{organicmaterial|}}}|1|{{!}} 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}}}}
{{!}} align="center" {{!}} {{#ifeq:{{{citysold|}}}|0|<span style="color:#c90c0c;">N/A</span>|{{#expr:({{{baseprice}}}*{{{citymultiplier}}}) round 0}}}}
{{!}} align="center" {{!}} {{#ifeq:{{{researchsold|}}}|0|<span style="color:#c90c0c;">N/A</span>|{{#expr:({{{baseprice}}}*{{{researchmultiplier}}}) round 0}}}}
{{!}} align="center" {{!}} {{#ifeq:{{{researchsold|}}}|0|<span style="color:#c90c0c;">N/A</span>|{{#expr:({{{baseprice}}}*{{{researchmultiplier}}}) round 0}}}}
{{!}} 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=&nbsp;
 
{{!}} align="center" {{!}} {{#ifeq:{{{researchsold|}}}|0|<span style="color:#c90c0c;">N/A</span>|{{#expr:({{{baseprice}}}*{{{researchmultiplier}}}) round 0}}}}|#default=}}{{#switch:{{{type|}}}|processedmaterial|organicmaterial=&nbsp;
-->{{#switch:{{{1|}}}|rarematerial|mineralmaterial=|#default=&nbsp;
{{!}} align="center" {{!}} {{#ifeq:{{{militarysold|}}}|0|<span style="color:#c90c0c;">N/A</span>|{{#expr:({{{baseprice}}}*{{{militarymultiplier}}}) round 0}}}}
<!--
{{!}} 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}}}}|#default=}}}}
<!--
-->{{!}} align="center" {{!}} {{#ifeq:{{{citysold|}}}|0|<span style="color:#c90c0c;">N/A</span>|{{#expr:({{{baseprice}}}*{{{citymultiplier}}}) round 0}}}}<!--
-->}}<!--
-->{{#switch:{{{1|}}}|mineralmaterial=|#default=&nbsp;
<!--
-->{{!}} align="center" {{!}} {{#ifeq:{{{researchsold|}}}|0|<span style="color:#c90c0c;">N/A</span>|{{#expr:({{{baseprice}}}*{{{researchmultiplier}}}) round 0}}}}<!--
-->}}<!--
-->{{#switch:{{{1|}}}|rarematerial|mineralmaterial=|#default=&nbsp;
<!--
-->{{!}} 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}}}}}}
| {{#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 21:22, 22 June 2022

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