Template:TradeTable: Difference between revisions

From CrossCode Wiki
Jump to navigation Jump to search
m (Add margin 0px)
m (size fixed)
Line 1: Line 1:
<noinclude>{{doc}}</noinclude><includeonly>{|class="wikitable" style="margin: 0px;"
<noinclude>{{doc}}</noinclude><includeonly>{|class="wikitable" style="margin: 0px;"
!colspan={{#if:{{{location|}}}|"4"|"3"}}|Trade Offers
!colspan="3"|Trade Offers
{{{1}}}
{{{1}}}
|}</includeonly>
|}</includeonly>

Revision as of 14:15, 25 February 2016

File:Template-info.svg Template Documentation

About

Creates an Trade table.

Parameter

Do not use named parameter for 1 ... x. The first Parameter will be automatically marked as 1, the second as 2 and so on.

Parameter Description Type Status
Entries 1

Table entries

Default:
NULL
Example:
no example
1 {Template:TradeTable/Entry} Required

See Template:TemplateData and Template:TemplateData/entry for more information about the parameter list and DDNCode for more information about types and the DDN Notation

Test of raw TemplateData output:

No description.

Template parameters

ParameterDescriptionTypeStatus
Entries1

Table entries

Contentrequired

Examples

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

LV26Winterclaw × 5 LV30Giga Spiral Drill × 3

Headphone Scraps × 2

LV21Copper Gull

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

LV26Winterclaw × 5 Metal Needles 50 Credits