FANDOM


Gold

Usage

{{cost|gold}} gives the cost in Platinum and Gold, but Platinum is omitted for gold < 1000.

{{cost|plat|gold}} gives the cost in Platinum and Gold.

{{cost|plat| }} gives the cost in Platinum.

Examples

codenewold
{{cost|0}} 0 Gold 0 Gold
{{cost|123}} 123 Gold 123 Gold
{{cost|12345}} 12 Platinum 345 Gold 12 Platinum 345 Gold
{{cost|12|345}} 12 Platinum 345 Gold 12 Platinum 345 Gold
{{cost|0|345}} 0 Platinum 345 Gold 0 Platinum 345 Gold
{{cost|12| }} 12 Platinum 12 Gold
{{cost|12|0}} 12 Platinum 0 Gold 12 Platinum
{{cost| |345}} Platinum 345 Gold 0 Platinum 345 Gold
{{cost}} Gold 0 Gold
{{cost|}} Gold Expression error: Unexpected mod operator. Expression error: Unexpected mod operator.
{{cost| | }} Platinum Expression error: Unexpected mod operator. Expression error: Unexpected mod operator.
{{cost| 12345 }} 12 Platinum 345 Gold 12 Platinum 345 Gold
{{cost| 12 | 345 }} 12 Platinum 345 Gold 12 Platinum 345 Gold
{{cost| |12345}}

More than 1000 Gold need to be written as {{cost|12345}} or split as {{cost|plat|gold}}.

12 Platinum 345 Gold
{{cost|12|12345}}

More than 1000 Gold need to be written as {{cost|12345}} or split as {{cost|plat|gold}}.

24 Platinum 345 Gold
{{cost|abcde}} Expression error: Unrecognised word "abcde". Expression error: Unrecognised word "abcde". Expression error: Unrecognised word "abcde".
{{cost|ab|cde}} Expression error: Unrecognised word "cde". Expression error: Unrecognised word "ab". Platinum Expression error: Unrecognised word "cde".
{{cost|two|fivehundred}} Expression error: Unrecognised word "fivehundred". Expression error: Unrecognised word "two". Platinum Expression error: Unrecognised word "fivehundred".
Community content is available under CC-BY-NC-SA unless otherwise noted.