Template:HousingAddon/Pricing
Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit the template documentation. (About template documentation) |
Editors can experiment in this template's sandbox and test case pages.
|
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 | ![]() |
2nd Large Room | ![]() |
3rd Large Room | ![]() |
4th Large Room | ![]() |
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.