Difference between revisions of "Template:Store inventory"

From Underrail Wiki
Jump to navigation Jump to search
m (Protected "Template:Store inventory" (‎[edit=autoconfirmed] (indefinite) ‎[move=autoconfirmed] (indefinite)))
 
(5 intermediate revisions by the same user not shown)
Line 22: Line 22:
 
   |Unknown. Please fill the <code>cash</code> parameter.
 
   |Unknown. Please fill the <code>cash</code> parameter.
 
}}
 
}}
{{#if:<!--{{{specialmerchandise|}}}{{{mercantileskillchecks|}}}-->
+
{{#if:<noinclude>string</noinclude>{{{specialmerchandise|}}}{{{mercantileskillchecks|}}}
 
|{{!}}-
 
|{{!}}-
! colspan="2" {{!}} Special merchandise {{#if:{{{mercantileskillchecks|}}}|(Requires {{{mercantileskillchecks}}} [[Mercantile]])|}}
+
! colspan="2" {{!}} Notable special merchandise {{#if:<noinclude>string</noinclude>{{{mercantileskillchecks|}}}
 +
|([[Mercantile]]: <span style="cursor:help;" title="Effective Mercantile skill required to unlock each tier of special merchandise">{{{mercantileskillchecks}}}</span>)
 +
|}}
 
{{!}}-
 
{{!}}-
 
{{!}} colspan="2" {{!}}
 
{{!}} colspan="2" {{!}}
Line 33: Line 35:
 
|
 
|
 
}}
 
}}
|}<noinclude>
+
|}<!--
  
{{documentation}}</noinclude>
+
 
 +
AUTOMATIC CATEGORIES:
 +
only if namespace is empty, aka main namespace
 +
-->{{#if:{{NAMESPACE}}||<!--
 +
 
 +
include everyone in merchants
 +
--><includeonly>[[Category:Merchants]]</includeonly><!--
 +
 
 +
check for special merchandise
 +
-->{{#if:{{{mercantileskillchecks|}}}{{{specialmerchandise|}}}|<includeonly>[[Category:Special merchants]]</includeonly>|}}<!--
 +
 
 +
-->}}<noinclude>{{documentation}}</noinclude>

Latest revision as of 10:58, 28 July 2019

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.

Notable special merchandise (Mercantile: {{{mercantileskillchecks}}})

Unknown. Please fill the specialmerchandise 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