Template:TradeTable: Difference between revisions
Jump to navigation
Jump to search
(Replacing some inline with css) |
(Declare Cargo table (needs enabling)) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
< | <onlyinclude><includeonly>{|class="wikitable tradeTable" | ||
!colspan="3"|Trade Offers | ! colspan="3" | Trade Offers | ||
|- | |||
{{{1}}} | {{{1}}} | ||
|}</includeonly> | |}</includeonly></onlyinclude> | ||
{{Doc}} | |||
<div style="display:none"> | |||
{{#cargo_declare: | |||
_table = trades | |||
| result = Page | |||
| resultCount = Integer | |||
| cost = Integer | |||
| location = String | |||
| required1 = Page | |||
| required1Count = Integer | |||
| required2 = Page | |||
| required2Count = Integer | |||
| required3 = Page | |||
| required3Count = Integer | |||
| required4 = Page | |||
| required4Count = Integer | |||
| required5 = Page | |||
| required5Count = Integer | |||
}} | |||
</div> |
Latest revision as of 06:59, 16 April 2021
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
|
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Entries | 1 | Table entries | Content | required |
Examples
{{TradeTable|{{TradeTable/Entry|Sandwich|1|Winterclaw|5|Giga Spiral Drill|3}}{{TradeTable/Entry|Headphone Scraps|2|Copper Gull|1}}}}
Trade Offers | ||
---|---|---|
![]() ![]() |
![]() |
LV26 |
![]() |
![]() |
LV21 |
{{TradeTable|{{TradeTable/Entry|Sandwich|1|Winterclaw|5|Metal Needles|1|cost=50|location=[[Autumn's Rise]]}}}}
Trade Offers | ||
---|---|---|
![]() ![]() |
![]() |
LV26 |