Template:Seller: Difference between revisions
DIFUNTO666 (talk | contribs) (Created page with "<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. == For Category NPCs == Just copy this table bellow: <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>! Item</nowiki><br> <nowiki>! Cost</nowiki><br...") |
DIFUNTO666 (talk | contribs) No edit summary |
||
Line 33: | Line 33: | ||
== For Sub Category Shops == | == 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 <div style="border: 1px solid #000; padding: 4px; background-color: #fCfcfc; display: inline-block;"><nowiki>== NPCs ==</nowiki></div> bellow this you add the NPC file image <div style="border: 1px solid #000; padding: 4px; background-color: #fCfcfc; display: inline-block;"><nowiki>[[File:NPC_NAME.png|frameless]]</nowiki></div> following some text and bellow it you can transclude the table as <div style="border: 1px solid #000; padding: 4px; background-color: #fCfcfc; display: inline-block;"><nowiki>{{PAGENAME}}</nowiki></div> which is the name of the NPC page e.g. <div style="border: 1px solid #000; padding: 4px; background-color: #fCfcfc; display: inline-block;"><nowiki>{{Onan}}</nowiki></div> | 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 <div style="border: 1px solid #000; padding: 4px; background-color: #fCfcfc; display: inline-block;"><nowiki>== NPCs ==</nowiki></div> bellow this you add the NPC file image <div style="border: 1px solid #000; padding: 4px; background-color: #fCfcfc; display: inline-block;"><nowiki>[[File:NPC_NAME.png|frameless]]</nowiki></div> following some text and bellow it you can transclude the table as <div style="border: 1px solid #000; padding: 4px; background-color: #fCfcfc; display: inline-block;"><nowiki>{{PAGENAME}}</nowiki></div> which is the name of the NPC page e.g. <div style="border: 1px solid #000; padding: 4px; background-color: #fCfcfc; display: inline-block;"><nowiki>{{Onan}}</nowiki></div> | ||
[[Category:Templates]] |
Revision as of 03:02, 18 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:
{| class="sortable fandom-table"
! Item
! Cost
! Unlocked by
|-
| [[File:FILE_NAME.png|24x24px]] [[ITEM_NAME]]
| align="center"| PRICE [[File:Coin.png|frameless|right]]
| align="center"| [[QUEST_NAME]] or None
|}
To create new rows just copy and paste the table from |- until before |} like this:
| [[File:FILE_NAME.png|24x24px]] [[ITEM_NAME]]
| align="center"| PRICE [[File:Coin.png|frameless|right]]
| align="center"| [[QUEST_NAME]] or None
|-
| [[File:FILE_NAME.png|24x24px]] [[ITEM_NAME]]
| align="center"| PRICE [[File:Coin.png|frameless|right]]
| align="center"| [[QUEST_NAME]] or None
|-
| [[File:FILE_NAME.png|24x24px]] [[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.