Template:TradeTable/doc

From CrossCode Wiki
Revision as of 00:38, 25 February 2016 by FiRECR0W (talk | contribs) (Created page with "This template is for making tables of trade offers. Use it as follows: <pre>{{TradeTable|{{TradeTable/Entry|Sandwich|1|Winterclaw|5|Giga Spiral Drill|3}}{{TradeTable/Entry|He...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template is for making tables of trade offers. Use it as follows:

{{TradeTable|{{TradeTable/Entry|Sandwich|1|Winterclaw|5|Giga Spiral Drill|3}}{{TradeTable/Entry|Headphone Scraps|2|Copper Gull|1}}}}

{{TradeTable|{{TradeTable/Entry|Sandwich|1|Winterclaw|5|Metal Needles|1|cost=50|location=[[Autumn's Rise]]}}|location=1}}

gives

Trade Offers
Sandwich

LV26Winterclaw × 5 LV30Giga Spiral Drill × 3

Headphone Scraps × 2

LV21Copper Gull

Trade Offers
Sandwich

LV26Winterclaw × 5 Metal Needles 50 Credits

Cost parameter is included for future use with new pay-to-trade feature. If you are including locations in the template (typically for item pages), include the location parameter in the main template to keep the heading from breaking.