Template:Seller: Difference between revisions

From Tales of Yore
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 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>! colspan="2"|Item</nowiki><br>
<nowiki>! colspan="2"|Item</nowiki><br>
Line 15: Line 16:
<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>★ ''It is a Rare / Epic / Legendary''<br></nowiki><br>
<nowiki>▲ Required to be a Patreon</br></nowiki><br>
<nowiki>▲ ''Required to be a Patreon''</nowiki><br>
<nowiki></onlyinclude></nowiki><br></div>
<nowiki></onlyinclude></nowiki><br></div>


Line 22: 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>| {{#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"| [[QUEST_NAME]] or None</nowiki><br>
<nowiki>|-</nowiki><br>
<nowiki>| {{#sprite:file=File:GeneratedItemsTileset.png|column=X|row=Y}}</nowiki><br>
<nowiki>| {{#sprite:file=File:GeneratedItemsTileset.png|column=X|row=Y}}</nowiki><br>
<nowiki>| [[ITEM_NAME]]</nowiki><br>
<nowiki>| [[ITEM_NAME]]</nowiki><br>

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:

== Sells ==

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