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
 
(One intermediate revision by the same user not shown)
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}}}

Latest revision as of 05:24, 2 February 2023

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

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