Template:Seller

From Tales of Yore
Revision as of 22:49, 3 November 2023 by DIFUNTO666 (talk | contribs)
Jump to navigation Jump to search

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''

</onlyinclude>

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]]

| align="center"| [[QUEST_NAME]] or None

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

== NPCs ==

bellow this you add the NPC file image

[[File:NPC_NAME.png|frameless]]

following some text and bellow it you can transclude the table as

{{:PAGENAME}}

which is the name of the NPC page e.g.

{{:Onan}}