Difference between revisions of "Template:Slots"

From Stoneshard wiki
Jump to navigation Jump to search
old>Phoe nixx
m
m (3 revisions imported)
 
(No difference)

Latest revision as of 21:16, 21 November 2021

Template-info.png Documentation

{{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:

  1. Width
  2. 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.