Template:NailsCost

From RuneRealm Wiki

This is the current revision of this page, as edited by Alex (talk | contribs) at 00:38, 17 October 2024 (Created page with "<includeonly>{{#expr:{{{quantity|1}}} * {{#switch:{{lc:{{{1|min}}}}} |min = {{MinPrice|Bronze nails|Iron nails|Steel nails|Black nails|Mithril nails|Adamantite nails|Rune nails|format=price|link=n}} |max = {{MaxPrice|Bronze nails|Iron nails|Steel nails|Black nails|Mithril nails|Adamantite nails|Rune nails|format=price|link=n}} }}}}</includeonly><noinclude>{{/doc}}</noinclude>"). The present address (URL) is a permanent link to this version.

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Template documentation
This documentation is transcluded from Template:NailsCost/doc. [edit] [history] [purge]

About

The NailsCost template is used to find the min or max cost with the range of all nails. This is widely used in the Construction skill pages where a value is needed to illustrate a cost value for a nail quantity.

If you wish to format the value returned from this, you may use Template:Coins or a raw {{#formatnum:{{NailsCost|max}}}}.

Usage

{{NailsCost
|1 = <!-- min or max -->
|quantity = <!-- (Optional) Quantity override, defaults to 1 if absent -->
}}
  • The current minimum nail price is 11 coins.
  • The current maximum nail price is 1,120 coins.