Template:TradeTable/doc: Difference between revisions

From CrossCode Wiki
Jump to navigation Jump to search
m (Add doc/start and doc/end)
m (add br)
Line 8: Line 8:
gives
gives


{{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|Giga Spiral Drill|3}}{{TradeTable/Entry|Headphone Scraps|2|Copper Gull|1}}}}<br />


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

Revision as of 11:44, 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.