Difference between revisions of "Template:Store inventory"
Jump to navigation
Jump to search
WikimanBot (talk | contribs) m |
WikimanBot (talk | contribs) m (Protected "Template:Store inventory" ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite))) |
||
| (8 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{| class="wikitable" style="min-width:600px;" | {| class="wikitable" style="min-width:600px;" | ||
|- | |- | ||
| − | ! width="50%" | | + | ! width="50%" | Notable items sold |
| − | ! width="50%" | | + | ! width="50%" | Looking to buy |
|- valign="top" | |- valign="top" | ||
| | | | ||
| − | {{{sells|Unknown. Please fill the | + | {{#if:{{{sells|}}} |
| + | |{{{sells}}} | ||
| + | |Unknown. Please fill the <code>sells</code> parameter. | ||
| + | }} | ||
|rowspan="3" | | |rowspan="3" | | ||
| − | {{{buys|Unknown. Please fill the | + | {{#if:{{{buys|}}} |
| + | |{{{buys}}} | ||
| + | |Unknown. Please fill the <code>buys</code> parameter. | ||
| + | }} | ||
|- | |- | ||
| − | ! Cash | + | ! height="1em" | Cash available |
|- valign="top" | |- valign="top" | ||
| | | | ||
| − | {{{cash|Unknown. Please fill the | + | {{#if:{{{cash|}}} |
| − | |}<noinclude> | + | |{{{cash}}} |
| + | |Unknown. Please fill the <code>cash</code> parameter. | ||
| + | }} | ||
| + | {{#if:<noinclude>string</noinclude>{{{specialmerchandise|}}}{{{mercantileskillchecks|}}} | ||
| + | |{{!}}- | ||
| + | ! 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" {{!}} | ||
| + | {{#if:{{{specialmerchandise|}}} | ||
| + | |{{{specialmerchandise}}} | ||
| + | |Unknown. Please fill the <code>specialmerchandise</code> parameter. | ||
| + | }} | ||
| + | | | ||
| + | }} | ||
| + | |}<!-- | ||
| + | |||
| + | |||
| + | 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>|}}<!-- | ||
| − | {{documentation}} | + | -->}}<noinclude>{{documentation}}</noinclude> |
| − | </noinclude> | ||
Latest revision as of 10:58, 28 July 2019
| Notable items sold | Looking to buy |
|---|---|
|
Unknown. Please fill the |
Unknown. Please fill the |
| Cash available | |
|
Unknown. Please fill the | |
| Notable special merchandise (Mercantile: {{{mercantileskillchecks}}}) | |
|
Unknown. Please fill the | |
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?)
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 | |
|