Template:MrStoreItem: Difference between revisions

From A KoL Wiki
imported>Cannonfire40
width, blahhh
imported>Cannonfire40
Undo revision 537811 by Cannonfire40 (talk)
Line 1: Line 1:
<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}}}'''&nbsp;</td></tr></table></table></includeonly><noinclude>
<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}}}'''&nbsp;</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|Width}}</nowiki>
*:<nowiki>{{MrStoreItem|ShelfName|ItemName|ItemDescription|Price}}</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, and Width is the number of pixels that you want the box to horizontally take up (taken from the Mr. Store page source).
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.


==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|300}}
{{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}}


</noinclude>
</noinclude>

Revision as of 22:24, 9 April 2013


<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}}}'''&nbsp;</td></tr></table></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.

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
Libram of Pulled Taffy
Summons delicious taffy that grants helpful effects and does powerful stuff when used underwater.

1