Difference between revisions of "Template:Store inventory"

From Underrail Wiki
Jump to navigation Jump to search
m
Line 5: Line 5:
 
|- valign="top"
 
|- valign="top"
 
|
 
|
{{{sells|Unknown. Please fill the '''''sells''''' parameter on this template.}}}
+
{{#if:{{{sells|}}}
 +
  |{{{sells}}}
 +
  |Unknown. Please fill the '''''sells''''' parameter on this template.
 +
}}
 
|rowspan="3" |
 
|rowspan="3" |
{{{buys|Unknown. Please fill the '''''buys''''' parameter on this template.}}}
+
{{#if:{{{buys|}}}
 +
  |{{{buys}}}
 +
  |Unknown. Please fill the '''''buys''''' parameter on this template.
 +
}}
 
|-
 
|-
 
! Cash
 
! Cash
 
|- valign="top"
 
|- valign="top"
 
|
 
|
{{{cash|Unknown. Please fill the '''''cash''''' parameter on this template.}}}
+
{{#if:{{{cash|}}}
 +
  |{{{cash}}}
 +
  |Unknown. Please fill the '''''cash''''' parameter on this template.
 +
}}
 
|}<noinclude>
 
|}<noinclude>
  
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 10:36, 11 December 2016

Selling Buying

Unknown. Please fill the sells parameter on this template.

Unknown. Please fill the buys parameter on this template.

Cash

Unknown. Please fill the cash parameter on this template.

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...

Selling Buying
Cash
  • 100 Stygian coins