Template:Amounts

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

Purpose

Displays quantities of items.

Usage

SyntaxBoilerplate
{{Amounts|<game>|<amounts>}}
{{Amounts||}}
ParameterStatusDescriptionAccepted values
1gamerequiredA game code.See Data:Franchise
2amountsrequired

A comma-separated list of amounts in the format <number> <itemName>, where itemName is singular and refers to an article page on the wiki. The number may be omitted for unique items.

By default the generated filename is File:game itemName fileType.png, where fileType is Icon for 3D games and Sprite for 2D games. The filename can be customed per item at Module:Icon List/Data.

Displays quantities of items.

Template parameters

ParameterDescriptionTypeStatus
game1

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

Stringrequired
amounts2

<p>A comma-separated list of amounts in the format <code><number> <itemName></code>, where ''itemName'' is singular and refers to an article page on the wiki. The number may be omitted for unique items.</p><p>By default the generated filename is <code>File:''game'' ''itemName'' ''fileType''.png</code>, where ''fileType'' is <code>Icon</code> for 3D games and <code>Sprite</code> for 2D games. The filename can be customed per item at [[Module:Icon List/Data]].</p>

Stringrequired
__

Dummy parameter. Do not use.

Unknownoptional

Examples

#InputOutput
1{{Amounts|SSHD|3 Ancient Flower, 4 Amber Relic, 1 Blue Bird Feather, 1 Goddess Plume}}
2{{Amounts|OoS|20 Ore Chunk, 10 Ember Seed {{Exp|Some note}}}}
OoS Ore Chunk Sprite.png× 20Ore ChunksOoS Ember Seed Sprite.png× 10Ember Seeds Triforce piece.png
3{{Amounts|PH|1 Big Green Rupee, 1 Red Rupee}}
4{{Amounts|HWAoC|1 Ethereal Stone, 5 Voltfruit, 10 Raw Bird Thigh, Desert Voe Headband}}
The above documentation is transcluded from Template:Amounts/Documentation. (edit | history)