Template:Seller: Difference between revisions
DIFUNTO666 (talk | contribs) No edit summary |
DIFUNTO666 (talk | contribs) No edit summary |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<span style="font-size: 32px;">'''Read this first'''</span><p></p> | <span style="font-size: 32px;">'''Read this first'''</span><p></p> | ||
This page is not meant to be transcluded, just copy and paste and change the uppercase names as needed. | This page is not meant to be transcluded, just copy and paste and change the uppercase names as needed, same for <span style="color:white;">column=X|row=Y</span> to determine the sprite of the item from the [https://talesofyore.com/wiki/images/b/be/GeneratedItemsTileset.png Items Tileset] which the first column and row starts from 0 and not 1. | ||
== For Category NPCs == | == For Category NPCs == | ||
Just copy this table bellow: | Just copy this table bellow: | ||
<div style="border: 1px solid #000; padding: 4px; background-color: #fcfcfc; display: inline-block;"><nowiki><onlyinclude></nowiki><br> | <div style="border: 1px solid #000; padding: 4px; background-color: #fcfcfc; display: inline-block;"><nowiki>== Sells ==</nowiki><br> | ||
<nowiki><onlyinclude></nowiki><br> | |||
<nowiki>{| class="sortable fandom-table"</nowiki><br> | <nowiki>{| class="sortable fandom-table"</nowiki><br> | ||
<nowiki>! Item</nowiki><br> | <nowiki>! colspan="2"|Item</nowiki><br> | ||
<nowiki>! Cost</nowiki><br> | <nowiki>! Cost</nowiki><br> | ||
<nowiki>! Unlocked by</nowiki><br> | <nowiki>! Unlocked by</nowiki><br> | ||
<nowiki>|-</nowiki><br> | <nowiki>|-</nowiki><br> | ||
<nowiki>| | <nowiki>| {{#sprite:file=File:GeneratedItemsTileset.png|column=X|row=Y}}</nowiki><br> | ||
<nowiki>| [[ITEM_NAME]]</nowiki><br> | |||
<nowiki>| align="center"| PRICE [[File:Coin.png|frameless|right]]</nowiki><br> | <nowiki>| align="center"| PRICE [[File:Coin.png|frameless|right]]</nowiki><br> | ||
<nowiki>| align="center"| [[QUEST_NAME]] or None</nowiki><br> | <nowiki>| align="center"| [[QUEST_NAME]] or None</nowiki><br> | ||
<nowiki>|}</nowiki><br> | <nowiki>|}</nowiki><br> | ||
<nowiki>★ ''It is a Rare / Epic / Legendary''<br></nowiki><br> | |||
<nowiki>▲ ''Required to be a Patreon''</nowiki><br> | |||
<nowiki></onlyinclude></nowiki><br></div> | <nowiki></onlyinclude></nowiki><br></div> | ||
Line 19: | Line 23: | ||
<div style="border: 1px solid #000; padding: 4px; background-color: #fCfcfc; display: inline-block;"><nowiki>|-</nowiki><br> | <div style="border: 1px solid #000; padding: 4px; background-color: #fCfcfc; display: inline-block;"><nowiki>|-</nowiki><br> | ||
<nowiki>| | <nowiki>| {{#sprite:file=File:GeneratedItemsTileset.png|column=X|row=Y}}</nowiki><br> | ||
<nowiki>| [[ITEM_NAME]]</nowiki><br> | |||
<nowiki>| align="center"| PRICE [[File:Coin.png|frameless|right]]</nowiki><br> | <nowiki>| align="center"| PRICE [[File:Coin.png|frameless|right]]</nowiki><br> | ||
<nowiki>| align="center"| [[QUEST_NAME]] or None</nowiki><br> | <nowiki>| align="center"| [[QUEST_NAME]] or None</nowiki><br> | ||
<nowiki>|-</nowiki><br> | <nowiki>|-</nowiki><br> | ||
<nowiki>| | <nowiki>| {{#sprite:file=File:GeneratedItemsTileset.png|column=X|row=Y}}</nowiki><br> | ||
<nowiki>| [[ITEM_NAME]]</nowiki><br> | |||
<nowiki>| | |||
<nowiki>| align="center"| PRICE [[File:Coin.png|frameless|right]]</nowiki><br> | <nowiki>| align="center"| PRICE [[File:Coin.png|frameless|right]]</nowiki><br> | ||
<nowiki>| align="center"| [[QUEST_NAME]] or None</nowiki><br></div> | <nowiki>| align="center"| [[QUEST_NAME]] or None</nowiki><br></div> |
Latest revision as of 23:40, 10 November 2023
Read this first
This page is not meant to be transcluded, just copy and paste and change the uppercase names as needed, same for column=X|row=Y to determine the sprite of the item from the Items Tileset which the first column and row starts from 0 and not 1.
For Category NPCs
Just copy this table bellow:
<onlyinclude>
{| class="sortable fandom-table"
! colspan="2"|Item
! Cost
! Unlocked by
|-
| {{#sprite:file=File:GeneratedItemsTileset.png|column=X|row=Y}}
| [[ITEM_NAME]]
| align="center"| PRICE [[File:Coin.png|frameless|right]]
| align="center"| [[QUEST_NAME]] or None
|}
★ ''It is a Rare / Epic / Legendary''<br>
▲ ''Required to be a Patreon''
To create new rows just copy and paste the table from |- until before |} like this:
| {{#sprite:file=File:GeneratedItemsTileset.png|column=X|row=Y}}
| [[ITEM_NAME]]
| align="center"| PRICE [[File:Coin.png|frameless|right]]
| align="center"| [[QUEST_NAME]] or None
|-
| {{#sprite:file=File:GeneratedItemsTileset.png|column=X|row=Y}}
| [[ITEM_NAME]]
| align="center"| PRICE [[File:Coin.png|frameless|right]]
For Sub Category Shops
Once you have finished creating the NPC table means this table is ready to be transcluded to any other Shops pages, you just need to add the heading
bellow this you add the NPC file image
following some text and bellow it you can transclude the table as
which is the name of the NPC page e.g.