Template:Items infobox/store: Difference between revisions
From Official Barotrauma Wiki
mNo edit summary |
No edit summary |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 11: | Line 11: | ||
// {{{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%;" {{#ifeq: {{{10columns}}}|yes|colspan="4"|}} {{!}} {{#switch:{{{1}}}|outpost=[[File:Location_Habitation_Outpost.png|30px|Habitation Outpost|link=Campaign#Habitation Outpost]]Habitation|city=[[File:Location_Colony.png|30px|Colony|link=Campaign#Colony]]Colony|research= [[File:Location_Research Outpost.png|30px|Research Outpost|link=Campaign#Research Outpost]]Research|military=[[File:Location_Military_Outpost.png|30px|Military Outpost|link=Campaign#Military Outpost]]Military|mine=[[File:Location_Mining_Outpost.png|30px|Mining Outpost|link=Campaign#Mining Outpost]]Mining|medical=[[File:Medical Merchant.png|30px|Medical Merchant|link=Store#Dedicated Merchants]]Medical Merchant|engineering=[[File:Engineering Merchant.png|30px|Engineer Merchant|link=Store#Dedicated Merchants]]Engineer Merchant|armory=[[File:Armory Merchant.png|30px|Armory Merchant|link=Store#Dedicated Merchants]]Armory Merchant|clown=[[File:Faction | -->{{#ifeq: {{{2}}}|none||{{!}} style="width:{{#ifeq:{{{6|}}}|yes|40|50}}%;font-size:105%;" {{#ifeq: {{{10columns}}}|yes|colspan="4"|}} {{!}} {{#switch:{{{1}}}|outpost=[[File:Location_Habitation_Outpost.png|30px|Habitation Outpost|link=Campaign#Habitation Outpost]]Habitation|city=[[File:Location_Colony.png|30px|Colony|link=Campaign#Colony]]Colony|research= [[File:Location_Research Outpost.png|30px|Research Outpost|link=Campaign#Research Outpost]]Research|military=[[File:Location_Military_Outpost.png|30px|Military Outpost|link=Campaign#Military Outpost]]Military|mine=[[File:Location_Mining_Outpost.png|30px|Mining Outpost|link=Campaign#Mining Outpost]]Mining|medical=[[File:Medical Merchant.png|30px|Medical Merchant|link=Store#Dedicated Merchants]]Medical Merchant|engineering=[[File:Engineering Merchant.png|30px|Engineer Merchant|link=Store#Dedicated Merchants]]Engineer Merchant|armory=[[File:Armory Merchant.png|30px|Armory Merchant|link=Store#Dedicated Merchants]]Armory Merchant|clown=[[File:Faction clowns.png|32px|Children of The Honkmother|link=Campaign#Children of The Honkmother]]Clown Merchant|husk=[[File:Faction huskcult.png|32px|The Church of Husk|link=Campaign#The Church of Husk]]Husk Merchant}} | ||
{{!}} {{#ifeq: {{{10columns}}}|yes|{{#ifeq: {{{4}}}|all|colspan="6" style="width:6|colspan=" | {{!}} {{#ifeq: {{{10columns}}}|yes|{{#ifeq: {{{4}}}|all|colspan="6" style="width:60|colspan="3" style="width:30}}| {{#ifeq: {{{4}}}|true|{{#ifeq:{{{6}}}|yes|style="width:30|colspan="2" style="width:60}}|style="width:30}}}}%;text-align:center;vertical-align:middle;" {{!}}<!-- | ||
// {{{4}}} unbuyable => not buyable at any outpost (only sellable) | If {{{6}}} is yes then shows N/A in place of buy price | // {{{4}}} unbuyable => not buyable at any outpost (only sellable) | If {{{6}}} is yes then shows N/A in place of buy price | ||
-->{{#ifeq: {{{4}}}|true| {{#ifeq:{{{6}}}|yes|<span style="color:red">N/A</span> | -->{{#ifeq: {{{4}}}|true| {{#ifeq:{{{6}}}|yes|<span style="color:red">N/A</span> | ||
{{!}} style="width:30%;text-align:center;vertical-align:middle;" {{#ifeq: {{{10columns}}}|yes|colspan="3"|}} {{!}}}}<!-- | {{!}} style="width:{{#ifeq:{{{6|}}}|yes|30|50}}%;text-align:center;vertical-align:middle;" {{#ifeq: {{{10columns}}}|yes|colspan="3"|}} {{!}}}}<!-- | ||
// Selling price can't be 0 | // Selling price can't be 0 | ||
Line 23: | Line 23: | ||
// {{{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;" {{#ifeq: {{{10columns}}}|yes|colspan="3"|}} {{!}}<!-- | {{!}} style="width:{{#ifeq:{{{6|}}}|yes|30|50}}%;text-align:center;vertical-align:middle;" {{#ifeq: {{{10columns}}}|yes|colspan="3"|}} {{!}}<!-- | ||
// Selling price can't be 0 | // Selling price can't be 0 | ||
Line 33: | Line 33: | ||
// {{{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;" {{#ifeq: {{{10columns}}}|yes|colspan="3"|}} {{!}}<span style="color:red">N/A</span><!-- | {{!}} style="width:{{#ifeq:{{{6|}}}|yes|30|50}}%;text-align:center;vertical-align:middle;" {{#ifeq: {{{10columns}}}|yes|colspan="3"|}} {{!}}<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;" {{#ifeq: {{{10columns}}}|yes|colspan="3"|}} {{!}}<!-- | {{!}} style="width:{{#ifeq:{{{6|}}}|yes|30|50}}%;text-align:center;vertical-align:middle;" {{#ifeq: {{{10columns}}}|yes|colspan="3"|}} {{!}}<!-- | ||
// Selling price can't be 0 | // Selling price can't be 0 | ||
Line 44: | Line 44: | ||
-->}} }} }} }}<!-- | -->}} }} }} }}<!-- | ||
--></includeonly> | --></includeonly> |
Latest revision as of 14:15, 30 December 2023
Template used to generate the Store table in the template:Items_infobox.
Template in use
Store | ||
Outpost | Buy | Sell |
Habitation | 10 mk | 3 mk |
Colony | 9 mk | 2 mk |
Research | 12 mk | 3 mk |
Military | 12 mk | 3 mk |
Mining | 10 mk | 3 mk |
Medical Merchant | 10 mk | 3 mk |
Engineer Merchant | 10 mk | 3 mk |
Armory Merchant | 10 mk | 3 mk |
Clown Merchant | 10 mk | 3 mk |
Husk Merchant | 10 mk | 3 mk |
{| class="infobox" style="font-size:85%; !important;padding:0; background: #151e28; border-radius:7px;" {{!}} class="infobox3" colspan="3" {{!}} Store {{!}}- {{!}} style="width:40%;font-size:105%;" {{!}} [[File:Outpost.png|32px|Outpost|link=Campaign#Location]][[Campaign#Location|Outpost]] {{!}} style="width:30%;font-size:105%;text-align:center;vertical-align:middle;" {{!}} Buy {{!}} style="width:30%;font-size:105%;text-align:center;vertical-align:middle;" {{!}} Sell {{!}}- {{!}} style="height:0;padding:0;" colspan="3" {{!}} <div style="margin: 0 auto;width:95%;float:center;border-bottom: 1px white dotted;"></div> {{!}}- {{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}} {{!}}- {{Items_infobox/store|medical|10|1}} {{!}}- {{Items_infobox/store|engineering|10|1}} {{!}}- {{Items_infobox/store|armory|10|1}} {{!}}- {{Items_infobox/store|clown|10|1}} {{!}}- {{Items_infobox/store|husk|10|1}} |}
Store | ||
Outpost | Sell | |
Habitation | 15 mk |
Test 3
{{Items infobox | test = yes | afflictions = duration = 11, durationfail = 9; burn = 10, fail = 5, delay = 3; lacerations = 15, fail = 10, duration = 6; bitewounds = 25, fail = 20, instant=yes; }}
Items infobox/store | |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Statistics | |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
Crafting | |||||||||||||||||||||||||||||||||||
Constructible? | No | ||||||||||||||||||||||||||||||||||
Deconstructible? | No | ||||||||||||||||||||||||||||||||||
Store | |||||||||||||||||||||||||||||||||||
Minimum Difficulty | 15% | ||||||||||||||||||||||||||||||||||
Base Price | 50 mk | ||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
|
The above documentation is transcluded from Template:Items infobox/store/doc. (edit | history)