Template:Quantity box: Difference between revisions

From Illerai
Jump to navigation Jump to search
illerai>Towelcat
m not sure if the newline is desired or not but i'll leave it in for now
 
m 1 revision imported
 
(No difference)

Latest revision as of 21:06, 2 November 2024

Template documentation
This documentation is transcluded from Template:Quantity box/doc. [edit] [history] [purge]
Template:Quantity box invokes function main in Module:Quantity box using Lua.

This template returns a string representing infobox-quantity and infobox-quantity-replace span elements if passed a string representing a number, otherwise the string passed is returned.

Usage

{{Quantity box|value}}

Examples

Number provided

{{Quantity box|8}}

8 xp


Non-numeric provided

{{Quantity box|8, 10}}

8, 10