Template:MrStoreItem
From A KoL Wiki
[edit]
{{MrStoreItem}}
<table width="300" cellspacing="0" cellpadding="0"><tr><td bgcolor="blue" align="center" style="color: white;">'''{{{1|}}}'''</td></tr><tr><td style="padding: 5px; border: 1px solid blue;"><center><table><tr><td><center><table><tr><td valign="center" height="42">[[File:{{Data|{{{2}}}|image|nopic2.gif}}|link={{{2}}}]]</td><td width="10"></td><td valign="center" align="left">'''[[{{{2}}}|{{Data|{{{2}}}|name|{{{2}}}(?)}}]]'''</td></tr></table><table><tr><td colspan="3">{{{3|}}}<br><br></td></tr><tr><td width="30" align="left">{{#ifeq:{{{currency|}}}|Buck|[[File:unclebuck.gif]]|[[File:mracc.gif]]}}</td><td align="left">'''<font size="+1">{{{4|1}}}</font>'''</td><td align="right">{{button|Purchase|center=n}}</td></tr></table></center></td></tr></table></center></td></tr></table>
Makes a shelf as used in Mr. Store.
Usage
- To create a Shelf:
- {{MrStoreItem|ShelfName|ItemName|ItemDescription|Price}}
Where ShelfName is the text at the top of the shelf, ItemName is the name of the item in the shelf, ItemDescription is the Mr. Store text for the item, and Price is the number of Mr. Accessories it costs.
If the item is paid in Uncle Bucks, then add a "currency=Buck" as one of its fields.
Examples
{{MrStoreItem|April's Item-of-the-Month|Libram of Pulled Taffy|Summons delicious taffy that grants helpful effects and does powerful stuff when used underwater.|1}}
yields:
April's Item-of-the-Month | |||||||||||||
|
{{MrStoreItem|Mr. Family|Mr. Accessory Jr.|As adorable as he is helpful: a whole lot!|5|currency=Buck}}
yields:
Mr. Family | |||||||||||||
|