Template:Slots
Revision as of 17:34, 5 June 2020 by old>Phoe nixx
{{slots}} used to display in a table cell how much does inventory slots an item occupy, also setting the total number of slots as the sort key.
Usage
{{slots}} takes two unnamed parameters, in order:
- Width
- Height
Example
{| class="sortable" width="45%" border="1px solid" style="text-align: center; margin: auto,"
! width="3%" | Item
! width="2%" | {{abbr|Inv. slots|Width × Height}}
! width="2%" data-sort-type="number" | Price
! width="10%" | Description
|-
|'''[[Agate]]'''
| {{slots|1|1}}
| 50
| Common folk belive agate to bring good luck. It's often used to make cheap jewelry.
|-
|'''[[Bear Pelt]]'''
| {{slots|4|3}}
| 500
| Going after a bear and living to share the tale is quite a feat. This hide makes for an impressive hunting trophy.
|-
|}
| Item | Inv. slots | Price | Description |
|---|---|---|---|
| Agate | 1×1 | 50 | Common folk belive agate to bring good luck. It's often used to make cheap jewelry. |
| Bear Pelt | 4×3 | 500 | Going after a bear and living to share the tale is quite a feat. This hide makes for an impressive hunting trophy. |