Template:TradeTable/EntryByItem

From CrossCode Wiki
Revision as of 05:56, 25 March 2021 by ExE Boss (talk | contribs) (Wrap example results in Template:TradeTable)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Includes TradeTable by ItemName (need to be added to the Database)

Example (without location):

{{TradeTable/EntryByItem|Chef Sandwich|1}}

or

{{TradeTable/EntryByItem|Chef Sandwich|1|location=0}}

Result:

Trade Offers
Chef Sandwich

Veggie Set Fruit Set Spice Set 950 Credits

Example (with location):

{{TradeTable/EntryByItem|Chef Sandwich|1|location=1}}

Result:

Trade Offers
Chef Sandwich

Veggie Set Fruit Set Spice Set 950 Credits

Rookie Harbor Marketplace (before reaching Bergen Trail), Bergen Village Trader's Den, Maroon Valley East Entrance, Ba'kii Kum Market, Rookie Harbor Falling Exit

Database

{{TradeTable/EntryByItem|Chef Sandwich|1}}

is including

{{TradeDatabase/Chef Sandwich/1}}

from the Database into the page. (Template:TradeDatabase/Chef_Sandwich/1)

Database scheme

{{TradeTable/EntryByItem|Itemname|Idname}}

Template:TradeDatabase/Itemname/Idname (parents contains a list of all subpages)

Category

All containd items are listed in Category:TradeContains. This category is usefull for a reverse search or for updating Trades By Component. All pages that are using this Template can be found in Category:TradeDatabaseCall.