Template:Vendoritem: Difference between revisions

From IdleOn MMO Wiki
(Changing Price type from Integer to String since Integer is too smal and testing if this causes issues with Coin Display templates.)
mNo edit summary
Line 11: Line 11:


### Cargo Store ###
### Cargo Store ###
--><includeonly>{{#ifeq:{{PAGENAME}}|Secrets||
--><includeonly>
{{#cargo_store:_table=VendorItems
{{#cargo_store:_table=VendorItems
   |OrderNumber={{#expr:{{{number}}}+1}}
   |OrderNumber={{{number}}}
   |Item={{PAGENAME}}
   |Item={{{item}}}
   |Vendor={{{vendor}}}
   |Vendor={{{vendor}}}
   |Price={{{buyprice}}}
   |Price={{{buyprice}}}
   |Stock={{{stock}}}
   |Stock={{{stock}}}
}}}}<!--
}}<!--


-->|-
-->|-
   |{{{number}}}
   |{{{number}}}
   |{{{vendor}}}
   |{{craftReq|{{{Item}}}}}
   |{{Coindisplay|{{{buyprice}}}}}
   |{{Coindisplay|{{{buyprice}}}}}
   |{{{stock}}}
   |{{{stock}}}

Revision as of 05:14, 2 February 2023

This template defines the table "VendorItems". View table.

{{vendoritem/tablerow
|number=
|vendor=
|buyprice=
|stock=
}}