Template:ShopInfoList: Difference between revisions
mNo edit summary |
mNo edit summary |
||
(15 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{| class="mw-collapsible mw-collapsed wikitable infotable" style="border:3px solid #1195db;" width="100%" max-width="600px; margin:0px 0px 0px 0px;" | {| class="mw-collapsible mw-collapsed wikitable infotable" style="border:3px solid #1195db;" width="100%" max-width="600px; margin: 0px 0px 0px 0px;" | ||
! colspan="2" align="center" style="border: 2px solid #1195db; border-bottom:2px solid #0B45AD; background-color:#1195db; color:white; text-align:center; width:600px;"|{{{Shop Title}}} | ! colspan="2" align="center" style="border: 2px solid #1195db; border-bottom:2px solid #0B45AD; background-color:#1195db; color:white; text-align:center; width:600px;"|{{{Shop Title}}} | ||
|- | |- | ||
! colspan="1" style="font-weight:bold; width:70%; border-bottom:2px solid #1195db; border-right:2px solid #e1f5ff; font-size: 14px; text-align:left; color:#1195db; background-color:#e1f5ff;"|Item Name!!colspan="1" style="font-weight:bold; width:30%; border-bottom:2px solid #1195db; color:#1195db; font-size: 14px; text-align:right; background-color:#e1f5ff;"|Price<br><span style="font-size:14px;">( {{{Currency}}} )</span> | ! colspan="1" style="font-weight:bold; width:70%; border-bottom:2px solid #1195db; border-right:2px solid #e1f5ff; font-size: 14px; text-align:left; color:#1195db; background-color:#e1f5ff;"|Item Name!!colspan="1" style="font-weight:bold; width:30%; border-bottom:2px solid #1195db; color:#1195db; font-size: 14px; text-align:right; background-color:#e1f5ff;"|Price<br><span style="font-size:14px;">( {{{Currency}}} )</span> | ||
|- | |- | ||
{{{Shop Rows}}} | {{{Shop Rows}}} | ||
|} | |} | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
[[Category:Templates | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 00:28, 9 February 2024
[edit]Template Documentation
Shop Example | |
---|---|
Item Name | Price ( g ) |
Item Listing | 10,000 |
Item Listing | 10,000 |
Item Listing | 10,000 |
Item Listing | 10,000 |
Item Listing | 10,000 |
Item Listing | 10,000 |
Description
This is a template used for making NPC shop listings.
How To Use
Input the details of the shop and its items, such as its Shop Title (the individual tabs in an NPC's Shop), the Currency that is used, and the Listings themselves, featuring the link to the item, and their Price.
{{ShopInfoList | Shop Title = | Currency = | Shop Rows = {{ShopInfoList/Rows|Shop Listing = Item Listing|Price of Listing =10,000}} }}
Parameters
Parameter | Usage | Example |
---|---|---|
Shop Title | Displays the title of the shop tab present within an NPC's shop. | "Hats", "Clothing", "Shoes and Gloves", "Gifts", etc. |
Currency | Used to showcase what currency is used to purchase the items within this NPC's shop. You can just type it in singular format rather than plural. | "g", "Holiday Bonus Token", "Pon", etc. |
Shop Rows | Each row is used to showcase a listing within an NPC's shop. This is where you provide the details of the shop itself. | {{ShopInfoList/Rows|Shop Listing = Item Listing|Price of Listing =10,000}} |
ShopInfoList/Rows | This is a template that is called to format each listing's row for simplicity. You just enter the information such as the item and its price. | {{ShopInfoList/Rows|Shop Listing = [[mww:Panda Headband|Panda Headband]]|Price of Listing =10,000}}
Here is a prime example of how it might look: [[mww:Panda Headband|Panda Headband]], which shows up as: Panda Headband.
Example: [[Panda Headband]] |