Template:Seller: Difference between revisions

From Tales of Yore
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
== 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</nowiki><br>
<nowiki>▲ ''Required to be a Patreon''</nowiki><br>
<nowiki></onlyinclude></nowiki><br></div>
<nowiki></onlyinclude></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:

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