Template:Currency/doc

From Nookipedia, the Animal Crossing wiki
< Template:Currency
Revision as of 13:49, August 5, 2020 by Dorsal Axe (talk | contribs) (→‎Usage: Update documentation)
Emotion Surprise NH Icon.png
This template is complex or is transcluded on a large number of pages.
Due to the sensitive nature of this template, caution is advised before editing. Any changes should first be tested in a sandbox. Please consider discussing planned changes on the talk page or with staff members before implementing them.
Emotion Surprise NH Icon.png
This template is complex or is transcluded on a large number of pages.
Due to the sensitive nature of this template, caution is advised before editing. Any changes should first be tested in a sandbox. Please consider discussing planned changes on the talk page or with staff members before implementing them.

Usage

{{Currency|<currency>|<quantity>}}

This template will generate the name and associated icon for a specific currency, primarily for use in tables. There are optional parameters to specify a quantity and a size for the icon; the default size is 15px. The template defaults to Bells, as this is by far the most used currency in the series.

The following currencies are supported by this template:

Shorthand can be requested for some currencies by defining parameter short. Currencies that support this:

Example

{{Currency|Bells|50,000}}

 50,000 Bells

{{Currency|Nook Miles|7,000}}

 7,000 Nook Miles

{{Currency|Nook Miles|7,000|short=yes}}

 7,000 Miles