From Zelda Wiki, the Zelda encyclopedia
Jump to navigation
Jump to search
Item
|
Price
|
Bomb (1) Bomb
|
Template:ShopItem/f
Purpose
A template for creating tables for items sold in shops.
Usage
{{ShopItem|item |price |quantity |game |typeimg |altname |altimg |altgame |price2 |price3 |price4 }}
- item — The item sold.
- price — The item's price.
- quantity — Quantity of item sold.
- game — The game's abbreviation.
- typeimg — The type of image to get of the item. (Ex: Sprite, Icon, Model)
- altname — For naming the item something else than its actual name.
- altimg — For using an alternative image than the currently formatted one.
- 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 Template:Tl and a Template:Tl template. (See example code below)
Examples
Basic
How to use a Sprite, an Icon, a Model or an Artwork.
Item
|
Price
|
Bomb (1) Bomb
|
|
Bomb (1) Bomb
|
|
Bomb (1) Bomb
|
|
Bomb (1) Bomb
|
Template:ShopItem/f
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) Bomb
|
|
Bomb (10) Bombs (10)
|
|
Bomb (1) Cool Bomb
|
Template:ShopItem/f
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.
Item
|
Price
|
Bomb (1) File:Bombs ALttP.png Bomb
|
Template:ShopItem/f
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) Bomb
|
|
Bomb (1) Bomb
|
Template:ShopItem/f
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.
|
|
|
|
|