Template:Vendoritem: Difference between revisions

From IdleOn MMO Wiki
imported>BigCoight
mNo edit summary
imported>BigCoight
mNo edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
{{switch: {{{state}}}
{{switch: {{{state}}}
|start =<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|input={{{buyprice}}}}}</td>
            <td style = "width:25%; text-align:center">{{{stock}}}</td>
            </td></tr>
            </table>
        </tr>
|middle = <tr><td>
|middle = <tr><td>
             <table style ="width:100%;">
             <table style ="width:100%;">

Revision as of 08:43, 24 November 2020

|

Number Vendor Buy Price Stock
{{{number}}} {{{vendor}}} Copper Coin.png0 {{{stock}}}

</includeonly> }}

{{Vendoritem
|number=example - The number in the store
|vendor=example - Which vendor, must be a link
|buyprice=example - How much we buy it for, before bribe
|stock=example - How much is in stock at the vendor
}}