FANDOM


Template documentation[edit] [purge]
This documentation is transcluded from Template:Price per dose/doc.

The Price per dose template creates a table showing the cost per dose for potions, based on the GE price.

Usage

To use the template on a page, type

{{Price per dose|POTION_NAME}}

Some potions have a space before the dose. This messes up the images. to fix this, add a | and a space after the potion name.

Example

{{Price per dose|Super combat potion}}

This produces the following result:

Item Price per dose
Super combat potion(1) Super combat potion(1) 2,390
Super combat potion(2) Super combat potion(2) 2,443
Super combat potion(3) Super combat potion(3) 2,448
Super combat potion(4) Super combat potion(4) 2,420

However, since, for example, a Extended antifire has a space before its dose in the image, the following happens

Item Price per dose
Extended antifire(1) Extended antifire(1) 220
Extended antifire(2) Extended antifire(2) 219
Extended antifire(3) Extended antifire(3) 173
Extended antifire(4) Extended antifire(4) 194

The following produces the correct result:

{{Price per dose|Extended antifire}}
Item Price per dose
Extended antifire(1) Extended antifire(1) 220
Extended antifire(2) Extended antifire(2) 219
Extended antifire(3) Extended antifire(3) 173
Extended antifire(4) Extended antifire(4) 194
Community content is available under CC-BY-SA unless otherwise noted.