VOOZH about

URL: https://minecraft.wiki/w/Template:TradeTable

⇱ Template:TradeTable – Minecraft Wiki


Template:TradeTable

From Minecraft Wiki
Jump to navigation Jump to search
Documentation[view] [edit] [history] [purge]
This template uses Module:TradeTable, a script written in Lua.

Arguments

[edit source]
  • title (optional) - sets the text for the header
  • profession (optional) - sets the villager profession, defaults to title
  • ignoreUsage (optional) - when set to any value no data will be stored into Bucket.
  • edition (optional) - accepts either java or bedrock and shows only the respective edition column. When not used, it shows both editions.
  • All unnamed parameters must be a call to {{TradeLine}}

Example

[edit source]
{{TradeTable|title=Armorer Trade Example|profession=Armorer
|{{TradeLine|lvl=Novice|slot=1|want=Coal|wantQuant=15|multi=0.05|maxTrades=16|xpGain=2}}
|{{TradeLine|lvl=Novice|slot=2|wantQuant=5|multi=0.2|give=Iron Helmet|maxTrades=12|xpGain=1}}
|{{TradeLine|lvl=Novice|slot=2|wantQuant=9|multi=0.2|give=Iron Chestplate|maxTrades=12|xpGain=1}}
}}

Result:

👁 Image
Armorer Trade Example
LevelJava EditionBedrock EditionVillager wantsPlayer receivesTrades in
stock
Villager
experience
Price
multiplier
ProbabilityProbabilitySlot
👁 Image
Novice
67%100%115 × 👁 Image
Coal
👁 Image
Emerald
1620.05
67%50%25 × 👁 Image
Emerald
👁 Image
Iron Helmet
1210.2
67%50%9 × 👁 Image
Emerald
👁 Image
Iron Chestplate
1210.2
[view] [edit] [history] [purge]The above documentation is transcluded from Template:TradeTable/doc.
Retrieved from "https://minecraft.wiki/w/Template:TradeTable?oldid=2612677"

Navigation menu