Template:Items infobox/store: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
(Created page with "<includeonly><!-- // {{{1}}} outpost identifier // {{{2}}} base price // {{{3}}} outpost multiplier // {{{4}}} unbuyable / true => not buyable at this outpost / all => not...")
 
(support for 5 columns infobox (medical infobox))
Line 12: Line 12:
  // {{{2}}} none => can't be bought and sold at an outpost (skip)
  // {{{2}}} none => can't be bought and sold at an outpost (skip)
-->{{#ifeq: {{{2}}}|none||{{!}} style="width:40%;font-size:105%;" {{!}} [[File:Location_Habitation_Outpost.png|30px|Habitation Outpost|link=Campaign#Habitation Outpost]]Habitation
-->{{#ifeq: {{{2}}}|none||{{!}} style="width:40%;font-size:105%;" {{!}} [[File:Location_Habitation_Outpost.png|30px|Habitation Outpost|link=Campaign#Habitation Outpost]]Habitation
{{!}} style="width:30%;text-align:center;vertical-align:middle;" {{!}}<!--
{{!}} style="width:30%;text-align:center;vertical-align:middle;" {{#ifeq: {{{5columns}}}|yes|colspan="2"|}} {{!}}<!--


  // {{{4}}} all => not buyable at any outpost (only sellable)
  // {{{4}}} all => not buyable at any outpost (only sellable)
Line 22: Line 22:
  // {{{4}}} true => not buyable at an outpost
  // {{{4}}} true => not buyable at an outpost
-->|{{#ifeq: {{{4}}}|true|<span style="color:red">N/A</span>
-->|{{#ifeq: {{{4}}}|true|<span style="color:red">N/A</span>
{{!}} style="width:30%;text-align:center;vertical-align:middle;" {{!}}<!--
{{!}} style="width:30%;text-align:center;vertical-align:middle;" {{#ifeq: {{{5columns}}}|yes|colspan="2"|}} {{!}}<!--


  // Selling price can't be 0
  // Selling price can't be 0
Line 32: Line 32:
  // {{{5}}} true => not sellable at an outpost
  // {{{5}}} true => not sellable at an outpost
-->|{{#ifeq: {{{5}}}|true|<big>'''{{#expr: floor({{{2}}}*{{{3}}}) }}'''</big> <small>mk</small>  
-->|{{#ifeq: {{{5}}}|true|<big>'''{{#expr: floor({{{2}}}*{{{3}}}) }}'''</big> <small>mk</small>  
{{!}} style="width:30%;text-align:center;vertical-align:middle;" {{!}}<span style="color:red">N/A</span><!--
{{!}} style="width:30%;text-align:center;vertical-align:middle;" {{#ifeq: {{{5columns}}}|yes|colspan="2"|}} {{!}}<span style="color:red">N/A</span><!--


  // Buyable & sellable
  // Buyable & sellable
-->|<big>'''{{#expr: floor({{{2}}}*{{{3}}}) }}'''</big> <small>mk</small>  
-->|<big>'''{{#expr: floor({{{2}}}*{{{3}}}) }}'''</big> <small>mk</small>  
{{!}} style="width:30%;text-align:center;vertical-align:middle;" {{!}}<!--
{{!}} style="width:30%;text-align:center;vertical-align:middle;" {{#ifeq: {{{5columns}}}|yes|colspan="2"|}} {{!}}<!--


  // Selling price can't be 0
  // Selling price can't be 0
Line 49: Line 49:
  // {{{3}}} both => can't be bought nor sold at an outpost (skip)
  // {{{3}}} both => can't be bought nor sold at an outpost (skip)
-->{{#ifeq: {{{2}}}|none||{{!}} style="width:40%;font-size:105%;" {{!}} [[File:Location_Colony.png|30px|Colony|link=Campaign#Colony]]Colony
-->{{#ifeq: {{{2}}}|none||{{!}} style="width:40%;font-size:105%;" {{!}} [[File:Location_Colony.png|30px|Colony|link=Campaign#Colony]]Colony
{{!}} style="width:30%;text-align:center;vertical-align:middle;" {{!}}<!--
{{!}} style="width:30%;text-align:center;vertical-align:middle;" {{#ifeq: {{{5columns}}}|yes|colspan="2"|}} {{!}}<!--


  // {{{4}}} all => not buyable at any outpost (only sellable)
  // {{{4}}} all => not buyable at any outpost (only sellable)
Line 59: Line 59:
  // {{{4}}} true => not buyable at an outpost
  // {{{4}}} true => not buyable at an outpost
-->|{{#ifeq: {{{4}}}|true|<span style="color:red">N/A</span>
-->|{{#ifeq: {{{4}}}|true|<span style="color:red">N/A</span>
{{!}} style="width:30%;text-align:center;vertical-align:middle;" {{!}}<!--
{{!}} style="width:30%;text-align:center;vertical-align:middle;" {{#ifeq: {{{5columns}}}|yes|colspan="2"|}} {{!}}<!--


  // Selling price can't be 0
  // Selling price can't be 0
Line 69: Line 69:
  // {{{5}}} true => not sellable at an outpost
  // {{{5}}} true => not sellable at an outpost
-->|{{#ifeq: {{{5}}}|true|<big>'''{{#expr: floor({{{2}}}*{{{3}}}) }}'''</big> <small>mk</small>  
-->|{{#ifeq: {{{5}}}|true|<big>'''{{#expr: floor({{{2}}}*{{{3}}}) }}'''</big> <small>mk</small>  
{{!}} style="width:30%;text-align:center;vertical-align:middle;" {{!}}<span style="color:red">N/A</span><!--
{{!}} style="width:30%;text-align:center;vertical-align:middle;" {{#ifeq: {{{5columns}}}|yes|colspan="2"|}} {{!}}<span style="color:red">N/A</span><!--


  // Buyable & sellable
  // Buyable & sellable
-->|<big>'''{{#expr: floor({{{2}}}*{{{3}}}) }}'''</big> <small>mk</small>  
-->|<big>'''{{#expr: floor({{{2}}}*{{{3}}}) }}'''</big> <small>mk</small>  
{{!}} style="width:30%;text-align:center;vertical-align:middle;" {{!}}<!--
{{!}} style="width:30%;text-align:center;vertical-align:middle;" {{#ifeq: {{{5columns}}}|yes|colspan="2"|}} {{!}}<!--


  // Selling price can't be 0
  // Selling price can't be 0
Line 86: Line 86:
  // {{{3}}} both => can't be bought nor sold at an outpost (skip)
  // {{{3}}} both => can't be bought nor sold at an outpost (skip)
-->{{#ifeq: {{{2}}}|none||{{!}} style="width:40%;font-size:105%;" {{!}} [[File:Location_Research Outpost.png|30px|Research Outpost|link=Campaign#Research Outpost]]Research
-->{{#ifeq: {{{2}}}|none||{{!}} style="width:40%;font-size:105%;" {{!}} [[File:Location_Research Outpost.png|30px|Research Outpost|link=Campaign#Research Outpost]]Research
{{!}} style="width:30%;text-align:center;vertical-align:middle;" {{!}}<!--
{{!}} style="width:30%;text-align:center;vertical-align:middle;" {{#ifeq: {{{5columns}}}|yes|colspan="2"|}} {{!}}<!--


  // {{{4}}} all => not buyable at any outpost (only sellable)
  // {{{4}}} all => not buyable at any outpost (only sellable)
Line 96: Line 96:
  // {{{4}}} true => not buyable at an outpost
  // {{{4}}} true => not buyable at an outpost
-->|{{#ifeq: {{{4}}}|true|<span style="color:red">N/A</span>
-->|{{#ifeq: {{{4}}}|true|<span style="color:red">N/A</span>
{{!}} style="width:30%;text-align:center;vertical-align:middle;" {{!}}<!--
{{!}} style="width:30%;text-align:center;vertical-align:middle;" {{#ifeq: {{{5columns}}}|yes|colspan="2"|}} {{!}}<!--


  // Selling price can't be 0
  // Selling price can't be 0
Line 106: Line 106:
  // {{{5}}} true => not sellable at an outpost
  // {{{5}}} true => not sellable at an outpost
-->|{{#ifeq: {{{5}}}|true|<big>'''{{#expr: floor({{{2}}}*{{{3}}}) }}'''</big> <small>mk</small>  
-->|{{#ifeq: {{{5}}}|true|<big>'''{{#expr: floor({{{2}}}*{{{3}}}) }}'''</big> <small>mk</small>  
{{!}} style="width:30%;text-align:center;vertical-align:middle;" {{!}}<span style="color:red">N/A</span><!--
{{!}} style="width:30%;text-align:center;vertical-align:middle;" {{#ifeq: {{{5columns}}}|yes|colspan="2"|}} {{!}}<span style="color:red">N/A</span><!--


  // Buyable & sellable
  // Buyable & sellable
-->|<big>'''{{#expr: floor({{{2}}}*{{{3}}}) }}'''</big> <small>mk</small>  
-->|<big>'''{{#expr: floor({{{2}}}*{{{3}}}) }}'''</big> <small>mk</small>  
{{!}} style="width:30%;text-align:center;vertical-align:middle;" {{!}}<!--
{{!}} style="width:30%;text-align:center;vertical-align:middle;" {{#ifeq: {{{5columns}}}|yes|colspan="2"|}} {{!}}<!--


  // Selling price can't be 0
  // Selling price can't be 0
Line 123: Line 123:
  // {{{3}}} both => can't be bought nor sold at an outpost (skip)
  // {{{3}}} both => can't be bought nor sold at an outpost (skip)
-->{{#ifeq: {{{2}}}|none||{{!}} style="width:40%;font-size:105%;" {{!}} [[File:Location_Military_Outpost.png|30px|Military Outpost|link=Campaign#Military Outpost]]Military
-->{{#ifeq: {{{2}}}|none||{{!}} style="width:40%;font-size:105%;" {{!}} [[File:Location_Military_Outpost.png|30px|Military Outpost|link=Campaign#Military Outpost]]Military
{{!}} style="width:30%;text-align:center;vertical-align:middle;" {{!}}<!--
{{!}} style="width:30%;text-align:center;vertical-align:middle;" {{#ifeq: {{{5columns}}}|yes|colspan="2"|}} {{!}}<!--


  // {{{4}}} all => not buyable at any outpost (only sellable)
  // {{{4}}} all => not buyable at any outpost (only sellable)
Line 133: Line 133:
  // {{{4}}} true => not buyable at an outpost
  // {{{4}}} true => not buyable at an outpost
-->|{{#ifeq: {{{4}}}|true|<span style="color:red">N/A</span>
-->|{{#ifeq: {{{4}}}|true|<span style="color:red">N/A</span>
{{!}} style="width:30%;text-align:center;vertical-align:middle;" {{!}}<!--
{{!}} style="width:30%;text-align:center;vertical-align:middle;" {{#ifeq: {{{5columns}}}|yes|colspan="2"|}} {{!}}<!--


  // Selling price can't be 0
  // Selling price can't be 0
Line 143: Line 143:
  // {{{5}}} true => not sellable at an outpost
  // {{{5}}} true => not sellable at an outpost
-->|{{#ifeq: {{{5}}}|true|<big>'''{{#expr: floor({{{2}}}*{{{3}}}) }}'''</big> <small>mk</small>  
-->|{{#ifeq: {{{5}}}|true|<big>'''{{#expr: floor({{{2}}}*{{{3}}}) }}'''</big> <small>mk</small>  
{{!}} style="width:30%;text-align:center;vertical-align:middle;" {{!}}<span style="color:red">N/A</span><!--
{{!}} style="width:30%;text-align:center;vertical-align:middle;" {{#ifeq: {{{5columns}}}|yes|colspan="2"|}} {{!}}<span style="color:red">N/A</span><!--


  // Buyable & sellable
  // Buyable & sellable
-->|<big>'''{{#expr: floor({{{2}}}*{{{3}}}) }}'''</big> <small>mk</small>  
-->|<big>'''{{#expr: floor({{{2}}}*{{{3}}}) }}'''</big> <small>mk</small>  
{{!}} style="width:30%;text-align:center;vertical-align:middle;" {{!}}<!--
{{!}} style="width:30%;text-align:center;vertical-align:middle;" {{#ifeq: {{{5columns}}}|yes|colspan="2"|}} {{!}}<!--


  // Selling price can't be 0
  // Selling price can't be 0
Line 160: Line 160:
  // {{{3}}} both => can't be bought nor sold at an outpost (skip)
  // {{{3}}} both => can't be bought nor sold at an outpost (skip)
-->{{#ifeq: {{{2}}}|none||{{!}} style="width:40%;font-size:105%;" {{!}} [[File:Location_Mining_Outpost.png|30px|Mining Outpost|link=Campaign#Mining Outpost]]Mining
-->{{#ifeq: {{{2}}}|none||{{!}} style="width:40%;font-size:105%;" {{!}} [[File:Location_Mining_Outpost.png|30px|Mining Outpost|link=Campaign#Mining Outpost]]Mining
{{!}} style="width:30%;text-align:center;vertical-align:middle;" {{!}}<!--
{{!}} style="width:30%;text-align:center;vertical-align:middle;" {{#ifeq: {{{5columns}}}|yes|colspan="2"|}} {{!}}<!--


  // {{{4}}} all => not buyable at any outpost (only sellable)
  // {{{4}}} all => not buyable at any outpost (only sellable)
Line 170: Line 170:
  // {{{4}}} true => not buyable at an outpost
  // {{{4}}} true => not buyable at an outpost
-->|{{#ifeq: {{{4}}}|true|<span style="color:red">N/A</span>
-->|{{#ifeq: {{{4}}}|true|<span style="color:red">N/A</span>
{{!}} style="width:30%;text-align:center;vertical-align:middle;" {{!}}<!--
{{!}} style="width:30%;text-align:center;vertical-align:middle;" {{#ifeq: {{{5columns}}}|yes|colspan="2"|}} {{!}}<!--


  // Selling price can't be 0
  // Selling price can't be 0
Line 180: Line 180:
  // {{{5}}} true => not sellable at an outpost
  // {{{5}}} true => not sellable at an outpost
-->|{{#ifeq: {{{5}}}|true|<big>'''{{#expr: floor({{{2}}}*{{{3}}}) }}'''</big> <small>mk</small>  
-->|{{#ifeq: {{{5}}}|true|<big>'''{{#expr: floor({{{2}}}*{{{3}}}) }}'''</big> <small>mk</small>  
{{!}} style="width:30%;text-align:center;vertical-align:middle;" {{!}}<span style="color:red">N/A</span><!--
{{!}} style="width:30%;text-align:center;vertical-align:middle;" {{#ifeq: {{{5columns}}}|yes|colspan="2"|}} {{!}}<span style="color:red">N/A</span><!--


  // Buyable & sellable
  // Buyable & sellable
-->|<big>'''{{#expr: floor({{{2}}}*{{{3}}}) }}'''</big> <small>mk</small>  
-->|<big>'''{{#expr: floor({{{2}}}*{{{3}}}) }}'''</big> <small>mk</small>  
{{!}} style="width:30%;text-align:center;vertical-align:middle;" {{!}}<!--
{{!}} style="width:30%;text-align:center;vertical-align:middle;" {{#ifeq: {{{5columns}}}|yes|colspan="2"|}} {{!}}<!--


  // Selling price can't be 0
  // Selling price can't be 0

Revision as of 23:07, 19 November 2021

Store
OutpostOutpost Buy Sell
Habitation OutpostHabitation 10 mk 8 mk
ColonyColony 9 mk 7 mk
Research OutpostResearch 12 mk 10 mk
Military OutpostMilitary 12 mk 10 mk
Mining OutpostMining 10 mk 8 mk
{{!}}-
{{Items_infobox/store|outpost|10|1}}
{{!}}-
{{Items_infobox/store|city|10|0.9}}
{{!}}-
{{Items_infobox/store|research|10|1.25}}
{{!}}-
{{Items_infobox/store|military|10|1.25}}
{{!}}-
{{Items_infobox/store|mine|10|1}}