Template:Vendoritem: Difference between revisions

From IdleOn MMO Wiki
imported>Kiokurashi
No edit summary
imported>Kiokurashi
No edit summary
Line 4: Line 4:
-->{{#cargo_declare:_table=VendorItems
-->{{#cargo_declare:_table=VendorItems
   |OrderNumber=Integer
   |OrderNumber=Integer
  |Item=Wikitext
   |Vendor=String
   |Vendor=String
   |Price=Integer
   |Price=Integer
Line 12: Line 13:
--><includeonly>{{#ifeq:{{PAGENAME}}|Secrets||
--><includeonly>{{#ifeq:{{PAGENAME}}|Secrets||
{{#cargo_store:_table=VendorItems
{{#cargo_store:_table=VendorItems
   |OrderNumber=
   |OrderNumber={{#expr:{{{number}}}+1}}
  |Item={{PAGENAME}}
  |Vendor={{{vendor}}}
  |Price={{{buyprice}}}
  |Stock={{{stock}}}
}}}}<!--
}}}}<!--


Line 20: Line 25:
   |{{Coindisplay|{{{buyprice}}}}}
   |{{Coindisplay|{{{buyprice}}}}}
   |{{{stock}}}
   |{{{stock}}}
[[category:Buyable]]</includeonly><noinclude>
[[Category:Buyable]]</includeonly><noinclude>
<pre>
<pre>
{{vendoritem/tablerow
{{vendoritem/tablerow

Revision as of 02:50, 20 July 2021

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

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