Zelda Wiki

Want to contribute to this wiki?
Sign up for an account, and get started!

Come join the Zelda Wiki community Discord server!

READ MORE

Zelda Wiki
Advertisement
Item Price
Bomb (1) TLoZ Bomb Sprite
Bomb
TLoZ Yellow Rupee Sprite 10 Rupees


Purpose

A template for creating tables for items sold in shops.

Usage

    {{ShopItem|item |price |quantity |game |typeimg |desc |altname |altimg |altgame |price2 |price3 |price4 }}

  • item — The item sold.
  • price — The item's price. (Can also be "NA" for N/A or "VAR" for Varies.
  • quantity — Quantity of item sold.
  • game — The game's abbreviation.
  • typeimg — The type of image to get of the item. (Ex: Sprite, Icon, Model)
  • desc — The item's description from the in-game shop. ("ShopItem/h" needs to have the "desc" parameter enabled.)
  • altname — For naming the item something else than its actual name.
  • altimg — For using an alternative image than the currently formatted one. (Can also be "NONE" for no image at all.)
  • altgame — For fetching the image from an alternative game.
  • price2 — The item's price for the second column. (Requires a table with multiple columns.)
  • price3 — The item's price for the third column. (Requires a table with multiple columns.)
  • price4 — The item's price for the fourth column. (Requires a table with multiple columns.)

Note: This template must be enclosed between a {{ShopItem/h}} and a {{ShopItem/f}} template. (See example code below)

Examples

Basic

How to use a Sprite, an Icon, a Model or an Artwork.

Item Price
Bomb (1) TLoZ Bomb Sprite
Bomb
TLoZ Yellow Rupee Sprite 100 Rupees
Bomb (1) MM3D Bomb Icon
Bomb
OoT3D Green Rupee Icon 100 Rupees
Bomb (1) TP Bomb Model
Bomb
TP Green Rupee Icon 100 Rupees
Bomb (1) ALttP Bomb Artwork
Bomb
ALttP Green Rupee Sprite 100 Rupees

Alternative Link Name

For when the shop sells an item with a different name than the actual item name itself. This is also useful when adding plural.

Item Price
Bomb (1) TLoZ Bomb Sprite
Bomb
TLoZ Yellow Rupee Sprite 100 Rupees
Bomb (10) TLoZ Bomb Sprite
Bombs (10)
TLoZ Yellow Rupee Sprite 100 Rupees
Bomb (1) TLoZ Bomb Sprite
Cool Bomb
TLoZ Yellow Rupee Sprite 100 Rupees

Alternative Image

For when adding a different image is needed. Although this is possible, it is not recommended, you should move the wanted file to the good format. It is also possible to use no image at all by replacing the "altimg" parameter to "NONE".

Item Price
Bomb (1) File:Bombs ALttP.png
Bomb
ALttP Green Rupee Sprite 100 Rupees
Bomb (1) Bomb ALttP Green Rupee Sprite 100 Rupees

Alternative Game

For when the image's game is not the same as the rupee corresponding to the game's shop. (Ex: OoT and MM sharing the same ressources)

Item Price
Bomb (1) MM3D Bomb Icon
Bomb
OoT3D Green Rupee Icon 100 Rupees
Bomb (1) MM3D Bomb Icon
Bomb
OoT3D Green Rupee Icon 100 Rupees

Multiple Columns & N/A Price

For creating tables with multiple types of prices and including items that can't be sold for some or prices that varies.

Item Prices
3 Regular

Expression error: Unexpected > operator. Expression error: Unexpected > operator.

Bomb (1) TLoZ Bomb Sprite
Bomb
N/A TLoZ Yellow Rupee Sprite 105 Rupees TLoZ Yellow Rupee Sprite 35 Rupees
Bomb (1) TLoZ Bomb Sprite
Bomb
TLoZ Yellow Rupee Sprite 50 Rupees TLoZ Yellow Rupee Sprite 80 Rupees TLoZ Yellow Rupee Sprite 65 Rupees

Descriptions

For adding descriptions to an item.

Item Prices
3 Regular

Expression error: Unrecognized word "desc". Expression error: Unrecognized word "desc".

Bomb (1) TLoZ Bomb Sprite
Bomb
"This is a Bomb." N/A TLoZ Yellow Rupee Sprite 105 Rupees N/A
Advertisement