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}}}]] | | align="center" |[[File:{{{icon}}}|50px]]<br>[[{{{name}}}]] | ||
| {{#ifeq:{{{minesold|}}}|0|<span style="color:#c90c0c;">N/A</span>|{{#expr:({{{baseprice}}}*{{{minemultiplier}}}) round 0}}}}{{#switch:{{{type|}}}|rarematerial|processedmaterial|organicmaterial= | | align="center" | {{#ifeq:{{{minesold|}}}|0|<span style="color:#c90c0c;">N/A</span>|{{#expr:({{{baseprice}}}*{{{minemultiplier}}}) round 0}}}}{{#switch:{{{type|}}}|rarematerial|processedmaterial|organicmaterial= | ||
{{!}} {{#ifeq:{{{researchsold|}}}|0|<span style="color:#c90c0c;">N/A</span>|{{#expr:({{{baseprice}}}*{{{minemultiplier}}}) round 0}}}}|#default=}}{{#switch:{{{type|}}}|processedmaterial|organicmaterial= | {{!}} align="center" {{!}} {{#ifeq:{{{researchsold|}}}|0|<span style="color:#c90c0c;">N/A</span>|{{#expr:({{{baseprice}}}*{{{minemultiplier}}}) round 0}}}}|#default=}}{{#switch:{{{type|}}}|processedmaterial|organicmaterial= | ||
{{!}} {{#ifeq:{{{militarysold|}}}|0|<span style="color:#c90c0c;">N/A</span>|{{#expr:({{{baseprice}}}*{{{minemultiplier}}}) round 0}}}} | {{!}} align="center" {{!}} {{#ifeq:{{{militarysold|}}}|0|<span style="color:#c90c0c;">N/A</span>|{{#expr:({{{baseprice}}}*{{{minemultiplier}}}) round 0}}}} | ||
{{!}} {{#ifeq:{{{outpostsold|}}}|0|<span style="color:#c90c0c;">N/A</span>|{{#expr:({{{baseprice}}}*{{{minemultiplier}}}) round 0}}}} | {{!}} align="center" {{!}} {{#ifeq:{{{outpostsold|}}}|0|<span style="color:#c90c0c;">N/A</span>|{{#expr:({{{baseprice}}}*{{{minemultiplier}}}) round 0}}}} | ||
{{!}} {{#ifeq:{{{citysold|}}}|0|<span style="color:#c90c0c;">N/A</span>|{{#expr:({{{baseprice}}}*{{{minemultiplier}}}) round 0}}}}|#default=}} | {{!}} align="center" {{!}} {{#ifeq:{{{citysold|}}}|0|<span style="color:#c90c0c;">N/A</span>|{{#expr:({{{baseprice}}}*{{{minemultiplier}}}) round 0}}}}|#default=}} | ||
| {{#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 19:42, 18 June 2022
This sub-template is used by Template:Crafting table and is not meant for direct usage.