Template:MrStoreItem: Difference between revisions
From A KoL Wiki
imported>Cannonfire40 got rid of forced width |
imported>Cannonfire40 width, blahhh |
||
Line 1: | Line 1: | ||
<includeonly><table cellpadding=5><tr><td colspan=2 align=center><table cellspacing=0 cellpadding=0><tr><td style="color: white;" align=center bgcolor=blue><b>{{{1}}}</b></td></tr><tr><td style="padding: 5px; border: 1px solid blue;"><center>{{ListItem|{{{2}}}}}<br />{{{3}}}</center><br />[[File:mracc.gif|link=Mr. Accessory]] '''{{{4}}}''' </td></tr></table></table></includeonly><noinclude> | <includeonly><table cellpadding=5><tr><td colspan=2 align=center><table width={{{5}}} cellspacing=0 cellpadding=0><tr><td style="color: white;" align=center bgcolor=blue><b>{{{1}}}</b></td></tr><tr><td style="padding: 5px; border: 1px solid blue;"><center>{{ListItem|{{{2}}}}}<br />{{{3}}}</center><br />[[File:mracc.gif|link=Mr. Accessory]] '''{{{4}}}''' </td></tr></table></table></includeonly><noinclude> | ||
{{Code2}} | {{Code2}} | ||
Line 7: | Line 7: | ||
==Usage== | ==Usage== | ||
*To create a Shelf: | *To create a Shelf: | ||
*:<nowiki>{{MrStoreItem|ShelfName|ItemName|ItemDescription|Price}}</nowiki> | *:<nowiki>{{MrStoreItem|ShelfName|ItemName|ItemDescription|Price|Width}}</nowiki> | ||
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. | 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, and Width is the number of pixels that you want the box to horizontally take up (taken from the Mr. Store page source). | ||
==Examples== | ==Examples== | ||
*<code><nowiki>{{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}}</nowiki></code> yields: | *<code><nowiki>{{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}}</nowiki></code> yields: | ||
{{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}} | {{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|300}} | ||
</noinclude> | </noinclude> |
Revision as of 22:22, 9 April 2013
[edit]
{{MrStoreItem}}
<table cellpadding=5><tr><td colspan=2 align=center><table width={{{5}}} cellspacing=0 cellpadding=0><tr><td style="color: white;" align=center bgcolor=blue><b>{{{1}}}</b></td></tr><tr><td style="padding: 5px; border: 1px solid blue;"><center>{{ListItem|{{{2}}}}}<br />{{{3}}}</center><br />[[File:mracc.gif|link=Mr. Accessory]] '''{{{4}}}''' </td></tr></table></table>
Makes a shelf as used in Mr. Store.
Usage
- To create a Shelf:
- {{MrStoreItem|ShelfName|ItemName|ItemDescription|Price|Width}}
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, and Width is the number of pixels that you want the box to horizontally take up (taken from the Mr. Store page source).
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:
|