Vorlage:Inventory/doc
Aus Meddlerde
| This is a documentation subpage for Vorlage:Inventory. It may contain usage information, categories and other content that is not part of the original vorlage page. |
Usage
Place the following in your page to display the inventory:
{{Inventory
| itemName1 = Longsword
| quantity1 = 1
| weight1 = 3 lbs
| description1 = A versatile weapon
| category1 = Weapon
| itemName2 = Backpack
| quantity2 = 1
| weight2 = 5 lbs
| description2 = A sturdy backpack
| category2 = Gear
}}Item names will automatically link to their dnd5e.wikidot.com page via the Vorlage:Item template.
Example
🪙 Inventory
<thead> </thead> <tbody> </tbody>| Item | Qty | Weight | Description | Category |
|---|---|---|---|---|
| Vorlage:Item | 1 | 3 lbs | A versatile weapon | Weapon |
| Vorlage:Item | 1 | 5 lbs | A sturdy backpack | Gear |
Displays a D&D 5e style fantasy inventory box with item links to Wikidot.
| Parameter | Beschreibung | Typ | Status | |
|---|---|---|---|---|
| itemName1 | itemName1 | Name of the first item (links to Wikidot)
| Zeichenfolge | erforderlich |
| quantity1 | quantity1 | Quantity of the first item
| Nummer | erforderlich |
| weight1 | weight1 | Weight of the first item
| Zeichenfolge | erforderlich |
| description1 | description1 | Description of the first item
| Zeichenfolge | erforderlich |
| category1 | category1 | Category of the first item
| Zeichenfolge | erforderlich |
| itemName2 | itemName2 | Name of the second item (links to Wikidot)
| Zeichenfolge | erforderlich |
| quantity2 | quantity2 | Quantity of the second item
| Nummer | erforderlich |
| weight2 | weight2 | Weight of the second item
| Zeichenfolge | erforderlich |
| description2 | description2 | Description of the second item
| Zeichenfolge | erforderlich |
| category2 | category2 | Category of the second item
| Zeichenfolge | erforderlich |
