Template:Shop Inventory

From Fallen London Wiki
Template documentation (for the above template, sometimes hidden or invisible)


This template is used to display tables of Shop inventories and automatically set sources categories as appropriate.

Examples[edit]

For the simplest example—a shop that buys and sells in Pennies with no additional columns—see Nikolas Pawnbrokers.

For an example of a sell-only shop that uses Hinterland Scrip as the primary currency but where some items sell for Pennies, see the Upper River Exchange.

For an example of a buy-only shop where every item uses a different currency, see Penstock's Land Agency.

For an example of a gear shop using Extra Columns to display stats, see Redemptions.


A table displaying a shop inventory.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Primary CurrencyCurrency

The primary currency used at this shop.

Default
Penny
Pageoptional
Buy enabledBuy

Whether you can buy items from this shop.

Default
yes
Lineoptional
Sell enabledSell

Whether you can sell items to this shop.

Default
yes
Lineoptional
Mth Extra ColumnExtra Column M

The heading for the Mth additional column

Lineoptional
Item CSS StyleItem Style

Any additional CSS styling to add to the Item Name cells.

Example
white-space: nowrap;
Lineoptional
Price CSS StylePrice Style

Any additional CSS styling to add to the Buy and Sell cells.

Example
white-space: nowrap;
Lineoptional
Extra Column M CSS StyleExtra Column M Style

Any additional CSS styling to add to the Extra Column M cells.

Example
white-space: nowrap;
Lineoptional
Nth Item NameItem Name N

The name of the item. Represents one row in the table.

Example
Smock of Four Thousand Three Hundred and Eight Pockets
Pagerequired
Nth Item Name AppearanceItem Appearance N

How the item name for the Nth row should be displayed.

Example
Smock of Four Thousand<br/>Three Hundred and Eight Pockets
Stringoptional
Nth CurrencyCurrency N

The currency for which the item on the Nth row is bought and/or sold, if different from the primary currency for the shop.

Example
Hinterland Scrip
Pageoptional
Nth Buy PriceBuy N

The amount of Currency for which the item on the Nth row can be bought.

Example
300
Lineoptional
Nth Sell PriceSell N

The amount of Currency for which the item on the Nth row can be sold.

Example
150
Lineoptional
Nth Extra Column ValuesExtra Column M N {{{Extra Column M}}} N

The data to display for the Mth Extra Column in the Nth row.

Stringoptional