May 30, 2020

🐷 Knight Challenge #10 🐷

Feeling boared with no news? Check out these challenges!
From writing, to research, to images, find your preferred way to contribute with our tenth theme: Pigs!

Latest Announcements

Template:Item Amount

From Zelda Wiki, the Zelda encyclopedia
Jump to: navigation, search

Purpose

Displaying a quantity of a certain item.

Usage

SyntaxBoilerplate
{{Item Amount|<game>|<amount>|<item>|<noText>}}
{{List
 |{{Item Amount|||}}
 |{{Item Amount|||}}
 |{{Item Amount|||}}
}}
ParameterStatusDescriptionAccepted values
1gamerequiredA game code.See Data:Franchise
2amountrequiredThe amount to display.
3itemrequiredThe name of an item. Specifically, the name of the wiki page on which the item is described.
4noTextoptionalEntering anything in this field will output the result in an abbreviated form.

Displaying a quantity of a certain item.

Template parameters

ParameterDescriptionTypeStatus
game1 game

A [[Data:Franchise|game code]].

Stringrequired
amount2 amount

The amount to display.

Numberrequired
item3 item

The name of an item. Specifically, the name of the wiki page on which the item is described.

Pagerequired
noText4 noText

Entering anything in this field will output the result in an abbreviated form.

Stringoptional
__

Dummy parameter. Do not use.

Unknownoptional

Examples

Regular

InputOutput
{{List
 |{{Item Amount|SS|3|Ancient Flower}}
 |{{Item Amount|SS|4|Amber Relic}}
 |{{Item Amount|SS|1|Blue Bird Feather}}
 |{{Item Amount|SS|1|Goddess Plume}}
}}

Abbreviated

InputOutput
{{List
 |{{Item Amount|SS|3|Ancient Flower|-}}
 |{{Item Amount|SS|4|Amber Relic|-}}
 |{{Item Amount|SS|1|Blue Bird Feather|-}}
 |{{Item Amount|SS|1|Goddess Plume|-}}
}}
  • SS Ancient Flower Icon.png × 3
  • SS Amber Relic Icon.png × 4
  • SS Blue Bird Feather Icon.png × 1
  • SS Goddess Plume Icon.png × 1
The above documentation is transcluded from Template:Item Amount/Documentation. (edit | history)