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>
<div style = "width:400px;">
{{switch: {{{state}}}
|middle = <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>
|end =        <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>
</table>
</div>
</includeonly>
|<div style = "width:400px;">
<table style = "background:#e6e6e6; border-radius: 10px;border:1px solid black;">
<table style = "background:#e6e6e6; border-radius: 10px;border:1px solid black;">
         <tr><td>
         <tr><td>
Line 25: Line 49:
</div>
</div>
</includeonly>
</includeonly>
 
}}
<noinclude>
<noinclude>
<pre>
<pre>

Revision as of 08:41, 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
}}