Difference between revisions of "Template:Store inventory"

From Underrail Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
{| class="wikitable" style="min-width:600px;"
 
{| class="wikitable" style="min-width:600px;"
 
|-
 
|-
! width="50%" | Selling
+
! width="50%" | Notable items sold
! width="50%" | Buying
+
! width="50%" | Looking to buy
 
|- valign="top"
 
|- valign="top"
 
|
 
|
 
{{#if:{{{sells|}}}
 
{{#if:{{{sells|}}}
 
   |{{{sells}}}
 
   |{{{sells}}}
   |Unknown. Please fill the '''''sells''''' parameter on this template.
+
   |Unknown. Please fill the <code>sells</code> parameter.
 
}}
 
}}
 
|rowspan="3" |
 
|rowspan="3" |
 
{{#if:{{{buys|}}}
 
{{#if:{{{buys|}}}
 
   |{{{buys}}}
 
   |{{{buys}}}
   |Unknown. Please fill the '''''buys''''' parameter on this template.
+
   |Unknown. Please fill the <code>buys</code> parameter.
 
}}
 
}}
 
|-
 
|-
! height="1em" | Cash
+
! height="1em" | Cash available
 
|- valign="top"
 
|- valign="top"
 
|
 
|
 
{{#if:{{{cash|}}}
 
{{#if:{{{cash|}}}
 
   |{{{cash}}}
 
   |{{{cash}}}
   |Unknown. Please fill the '''''cash''''' parameter on this template.
+
   |Unknown. Please fill the <code>cash</code> parameter.
 +
}}
 +
{{#if:<!--{{{specialmerchandise|}}}{{{mercantileskillchecks|}}}-->
 +
|{{!}}-
 +
! colspan="2" {{!}} Special merchandise {{#if:{{{mercantileskillchecks|}}}|(Requires {{{mercantileskillchecks}}} [[Mercantile]])|}}
 +
{{!}}-
 +
{{!}} colspan="2" {{!}}
 +
{{#if:{{{specialmerchandise|}}}
 +
  |{{{specialmerchandise}}}
 +
  |Unknown. Please fill the <code>specialmerchandise</code> parameter.
 +
}}
 +
|
 
}}
 
}}
 
|}<noinclude>
 
|}<noinclude>
  
{{documentation}}
+
{{documentation}}</noinclude>
</noinclude>
 

Revision as of 10:10, 11 December 2016

Notable items sold Looking to buy

Unknown. Please fill the sells parameter.

Unknown. Please fill the buys parameter.

Cash available

Unknown. Please fill the cash parameter.

Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:Store_inventory/doc to view this documentation. (edit) (How does this work?)

Description

This template is used on merchant pages to provide formatting for their store information and basic categorization.

Syntax

{{Store inventory
| sells =
*list of items the trader sells, e.g.:
*[[Blueprint: Cloaking Device]]
*[[Blueprint: EMP Grenade]]
*[[Blueprint: EMP Mine]]
*[[Blueprint: Goggles]]
*[[Blueprint: Psionic Headband]]
*[[Blueprint: Taser]]

| cash =
*list of cash the trader has available, e.g.:
*500 SGS credits
*150 Stygian coins

| buys =
*list of item categories the trader buys, e.g.: (note the exact syntax)
*[[:Category:Blueprints|]]
*[[:Category:Electronic devices|]]
*[[:Category:Electronic parts|]]
*[[:Category:Headgear components|]]
*[[:Category:Pairs of goggles|]]
*[[:Category:Psionic components|]]
*[[:Category:Psionic headbands|]]
*[[:Category:Batteries|]] (always)

| mercantileskillchecks = skillchecks required to unlock special merchandise tiers, e.g.: 50, 90
| specialmerchandise = list of notable special merchandise items
}}

Example

{{Store inventory
| sells = 
* [[Blueprint: Health Hypo]]
* [[Psionic Mentor: Enrage]]

| cash =
*100 Stygian coins 

| buys =
*[[:Category:Chemicals|]]
*[[:Category:Medical components|]]
*[[:Category:Medicine|]]

| mercantileskillchecks = 
| specialmerchandise =
}}

Results in...

Notable items sold Looking to buy
Cash available
  • 100 Stygian coins