Template:Seller: Difference between revisions

From Tales of Yore
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
<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><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>| [[File:FILE_NAME.png|24x24px]] [[ITEM_NAME]]</nowiki><br>
<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>
Line 21: Line 22:


<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>| [[File:FILE_NAME.png|24x24px]] [[ITEM_NAME]]</nowiki><br>
<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>| [[File:FILE_NAME.png|24x24px]] [[ITEM_NAME]]</nowiki><br>
<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>| [[File:FILE_NAME.png|24x24px]] [[ITEM_NAME]]</nowiki><br>
<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></div>
<nowiki>| align="center"| [[QUEST_NAME]] or None</nowiki><br></div>

Revision as of 02:03, 19 October 2023

Read this first

This page is not meant to be transcluded, just copy and paste and change the uppercase names ​​as needed.

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</br>

</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
|-
| {{#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}}