Vorlage:Inventory/Dokumentation

Aus Terraria Wiki
Zur Navigation springen Zur Suche springen
Important.svg
Diese Seite ist nicht oder unvollständig übersetzt.
Hilf mit, indem du den Text übersetzt und anschließend diesen Hinweis entfernst. Dies entfernt diese Seite auch aus der Liste von Seiten mit unzureichender Übersetzung.

For use with NPC vendors.

Usage

{{inventar
|<width1>|<width2>|<width3>|widths=y
|<item name>|<value>|<availability>
...
|<item name>|<value>|<availability>
}}
Optional column width parameters may be sent as first 3 parameters, followed by a widths flag

Unnamed Parameters: 1, 2, 3, Named Parameter: widths=y
Column widths are in pixels, 'px' is not necessary.

Unnamed Parameter 1, 4, 7, etc

The name of the sold item.

Unnamed Parameter 2, 5, 8, etc

The value at which said item is sold at. Use the {{coin}} or {{cc}}, {{sc}}, {{gc}}, and {{pc}} templates. Any instance of @@@@ within these parameters is replaced with the automatic value gathered by {{iteminfo}}.

Unnamed Parameter 3, 6, 9, etc

The circumstances under which the item is sold. Leave empty for "Always available."

Example

{{inventar
|122||180|widths=y
|Sake|{{sc|5}}|3% chance
|Dirt Rod|@@@@ {{eicons|1.3.0.1}}<br/>{{gc|20}} {{eicons|1.3.0.1|invert=y}}|
|Code 1|{{gc|5}}|1.5% chance {{small|after defeating <br/>the [[Eye of Cthulhu]]}}
}}

results in:

Inventar
Gegenstand Preis Verfügbarkeit

SakeSake(Desktop-, Konsolen-, Old-gen-Konsolen- und Mobilversions) 5 3% chance
DreckruteDreckrute 5 (Desktop-, Konsolen- und Mobilversions)
20 (Old-gen-Konsolen- und 3DS-versions)
Jederzeit verfügbar.
Code 1Code 1(Desktop-, Konsolen- und Mobilversions) 5 1.5% chance after defeating
the Eye of Cthulhu