Template:TradeTable/doc: Difference between revisions

From CrossCode Wiki
Jump to navigation Jump to search
(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...")
 
m (Add doc/start and doc/end)
Line 1: Line 1:
{{doc/start}}
This template is for making tables of trade offers. Use it as follows:
This template is for making tables of trade offers. Use it as follows:


Line 12: Line 13:


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.
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.
{{doc/end}}

Revision as of 11:32, 25 February 2016

File:Template-info.svg Template Documentation

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.