Template:HousingAddon/Pricing
Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this documentation. (About template documentation) |
Editors can experiment in this template's sandbox and test case pages. |
This template has existing translations, relatives, or sub-templates: Template:HousingAddon/Pricing • Template:HousingAddon/Pricing/de • Template:HousingAddon/Pricing/doc • Template:HousingAddon/Pricing/en • Template:HousingAddon/Pricing/fi • Template:HousingAddon/Pricing/fr • Template:HousingAddon/Pricing/nl • Template:HousingAddon/Pricing/ru • Template:HousingAddon/Pricing/zh-cn • Template:HousingAddon/PricingFormula
|
Usage
{{HousingAddon/Pricing}}
will output a table that displays the cost of additional Housing Add-on purchases.
Syntax
Field | Accepted Parameters |
---|---|
start
|
The base cost of the Housing Add-on |
increment
|
The amount that the cost increases for every individual purchase |
increment2
|
The amount that the cost increases every increment_interval
|
increment_interval
|
How many purchases until increment2 applies
|
maximum_purchasable
|
The maximum amount of the Housing Add-on that can be purchased before getting Purchase Limit Reached
|
delay
|
Delays the cost increase by an amount of purchases |
delay_increment
|
After the delay has expired, an initial cost increment
|
Examples
General usage
{{HousingAddon/Pricing
|start = 2000
|increment = 50
|increment2 = 10
|increment_interval = 5
}}
Like all Housing Add-ons, the price will increase for every Large Room purchased. Initially increasing by 50 Gold and by an additional 10 Gold on every 5th purchase.
With a maximum
{{HousingAddon/Pricing
|start = 2000
|increment = 50
|increment2 = 10
|increment_interval = 5
|maximum_purchasable = 4
}}
Like all Housing Add-ons, the price will increase for every Large Room purchased. Initially increasing by 50 Gold and by an additional 10 Gold on every 5th purchase.
- A maximum of 4 Large Room can be purchased.
1st Large Room | 2,000 |
2nd Large Room | 2,050 |
3rd Large Room | 2,100 |
4th Large Room | 2,150 |
With a large maximum
{{HousingAddon/Pricing
|start = 2000
|increment = 50
|increment2 = 10
|increment_interval = 5
|maximum_purchasable = 40
}}
Like all Housing Add-ons, the price will increase for every Large Room purchased. Initially increasing by 50 Gold and by an additional 10 Gold on every 5th purchase.
- A maximum of 40 Large Room can be purchased.
With a delay
{{HousingAddon/Pricing
|start = 2500
|increment = 100
|delay = 3
|delay_increment = 500
}}
Like all Housing Add-ons, the price will increase for every Kilima Bay Window purchased. Increases by 100 Gold for every purchase.
With a different currency
{{HousingAddon/Pricing
|start = 2500
|increment = 100
|currency = Palia Coin
}}
Like all Housing Add-ons, the price will increase for every Potato purchased. Increases by 100 Palia Coins for every purchase.