Usage:
{{ShopItem|Name|37|{{cost|wood=1000|wire=1000}}|1000||15|ref={{Ref|Test}}}}
{{ShopItem|Name|37/10|{{cost|wood=1000|wire=1000}}|1000||15}}
{{ShopItem|Name|37|{{cost|wire=1000|wood=1000}}|1000|35}}
{{ShopItem|Name|37|{{cost|wood=1000|wires=1000}}|1000|15|10}}
{{ShopItem|Name||{{cost|wood=1000|wires=1000}}|1000|15|10}}
gives
Name | Contract | Cost | Buy ![]() |
Pass. | Inc. | ![]() |
![]() ![]() | |
---|---|---|---|---|---|---|---|---|
Name [1] | #37 | 1,000 ![]() 1,000 ![]() |
1,000 | 35 | 420 | 15 | 2.33 | |
Name | #37, #10 | 1,000 ![]() 1,000 ![]() |
1,000 | 35 | 420 | 15 | 2.33 | |
Name | #37 | 1,000 ![]() 1,000 ![]() |
1,000 | 35 | 420 | No space? | ||
Name | #37 | 1,000 ![]() 1,000 ![]() |
1,000 | 15 | 180 | 10 | 1.50 | |
Name | 1,000 ![]() 1,000 ![]() |
1,000 | 15 | 180 | 10 | 1.50 | ||
|
Note:
- Can only be used inside a building shop table.
- In case the reference parameter is used, add parameter r to {{EndTable}}.
- In case there is more than one build, 2nd/3rd build is to be added to 2nd parameter with / input.
Community content is available under CC-BY-SA unless otherwise noted.