Template:Vendoritem: Difference between revisions

From IdleOn MMO Wiki
imported>Kyromyr
No edit summary
mNo edit summary
 
(19 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<includeonly>
<noinclude><!--
<div style = "width:400px;">
<table style = "background:#e6e6e6; border-radius: 10px;border:1px solid black;">
        <tr><td>
            <table style = "width:400px;background:#916699;border-radius:10px 10px 0px 0px;">
            <tr>
            <th style = "width:25%;">Number</th>
            <th style = "width:25%;">Vendor</th>
            <th style = "width:25%;">Buy Price</th>
            <th style = "width:25%;">Stock</th>
            </td></tr>
            </table>
        </tr>
        <tr><td>
            <table style ="width:100%;">
            <tr>
            <td style = "width:25%; text-align:center">{{{number}}}</td>
            <td style = "width:25%; text-align:center">{{{vendor}}}</td>
            <td style = "width:25%; text-align:center">{{Coindisplay|{{{buyprice}}}}}</td>
            <td style = "width:25%; text-align:center">{{{stock}}}</td>
            </td></tr>
            </table>
        </tr>
</table>
</div>
</includeonly>


<noinclude>
### Cargo Declare ###
-->{{#cargo_declare:_table=VendorItems
  |OrderNumber=Integer
  |Item=Wikitext
  |Vendor=String
  |Price=String
  |Stock=Integer
}}</noinclude><!--
 
### Cargo Store ###
--><includeonly>
{{#cargo_store:_table=VendorItems
  |OrderNumber={{{number}}}
  |Item={{{item}}}
  |Vendor={{{vendor}}}
  |Price={{{buyprice}}}
  |Stock={{{stock}}}
}}<!--
 
-->|-
  |{{{number}}}
  |{{CraftReq|{{{item}}}}}
  |{{Coindisplay|{{{buyprice}}}}}
  |{{{stock}}}
[[Category:Buyable]]</includeonly><noinclude>
<pre>
<pre>
{{Vendoritem
{{vendoritem/tablerow
|number=example - The number in the store
|number=
|vendor=example - Which vendor, must be a link
|vendor=
|buyprice=example - How much we buy it for, before bribe
|buyprice=
|stock=example - How much is in stock at the vendor
|stock=
}}
}}
</pre>
</pre>
[[category:Table templates]]
</noinclude>
</noinclude>
[[Category:Buyable]]

Latest revision as of 05:24, 2 February 2023

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

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