Template:Bank value

From Darkan
Revision as of 04:09, 17 November 2012 by imported>Blaze fire12
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Item Number Value (coins)
Bank Value
Coins 0
Total 0

[view] [edit] [purge] Template documentation

This documentation is transcluded from Template:Bank value/doc.

Usage

{{Bank value
|title=the table's title
|align=where to align the table; defaults to left
|class=classes to apply to table (see below); defaults to sortable and collapsible
|style=any style to apply to the table (text, border and background colour, etc)
|coins=number of coins; if set to "no" then the row is not displayed; defaults to 0
|item1|number of item1
|item2|number of item2
...
|item25|number of item25
}}
Classes

Various classes can be applied:

  • sortable - the table is sortable (total row always sorts at the bottom)
  • collapsible - the table can be collapsed to its header
  • collapsible collapsed - the table is collapsed to its header by default
  • collapsible uncollapsed - the table is not collapsed to its header by default
  • sortable collapsible - the table is both sortable and collapsible

and so on.

Notes

  • The maximum number of items is currently limited to 25 (excluding coins).
  • The item names must be spelled correctly - no abbreviations.
  • Untradeable items are valued at 0 coins.
  • There is no limit on number of items (a possibility is: a negative number can be used to show profit/loss of an activity).