Template:TradeTable/Entry: Difference between revisions
Streetclaw (talk | contribs) No edit summary |
m (Actually fix File:TradeArrow.png so that it always shows up on FandomMobile) Tags: mobile edit mobile web edit |
||
(19 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
< | <onlyinclude><includeonly> | ||
|style="border-right: | |-{{#if:{{{location|}}}|<nowiki/> style="border-bottom-width: 0;"}} | ||
|style="border-left: | | style="border-right-width: 0;{{#if:{{{location|}}}|<nowiki/> border-bottom-width: 0;}}" | {{nowrap|{{ItemLink|{{{1}}}|nowrap=0|showFoodIcon=1}}{{#ifeq:{{{2|}}}|1||<nowiki/> × {{{2}}}}}}} | ||
|style="border-left: | | style="width: 35px; min-width: 35px; padding-left: 0; padding-right: 0; text-align: center; border-left-width: 0; border-right-width: 0;{{#if:{{{location|}}}|<nowiki/> border-bottom-width: 0;}}" | [[File:TradeArrow.png|center|frameless|link=]] | ||
{{nowrap|{{ItemLink|{{{3}}}}} {{#ifeq:{{{4|}}}|1|| | | style="border-left-width: 0;{{#if:{{{location|}}}|<nowiki/> border-bottom-width: 0;}}" | | ||
{{#if:{{{location|}}}| {{! | {{nowrap|{{ItemLink|{{{3}}}|showFoodIcon=1|nowrap=0}}{{#ifeq:{{{4|}}}|1||<nowiki/> × {{{4}}}}}}}{{#if:{{{5|}}}|<nowiki/> | ||
{{!}} colspan="3" style="border-top: | {{nowrap|{{ItemLink|{{{5}}}|showFoodIcon=1|nowrap=0}}{{#ifeq:{{{6|}}}|1||<nowiki/> × {{{6}}}}}}}{{#if:{{{7|}}}|<nowiki/> | ||
{{nowrap|{{ItemLink|{{{7}}}|showFoodIcon=1|nowrap=0}}{{#ifeq:{{{8|}}}|1||<nowiki/> × {{{8}}}}}}}{{#if:{{{9|}}}|<nowiki/> | |||
{{nowrap|{{ItemLink|{{{9}}}|showFoodIcon=1|nowrap=0}}{{#ifeq:{{{10|}}}|1||<nowiki/> × {{{10}}}}}}}{{#if:{{{11|}}}|<nowiki/> | |||
{{nowrap|{{ItemLink|{{{11}}}|showFoodIcon=1|nowrap=0}}{{#ifeq:{{{12|}}}|1||<nowiki/> × {{{12}}}}}}}}}}}}}}}{{#if:{{{cost|}}}|<nowiki/> | |||
{{nowrap|[[File:CreditIcon.png]] {{{cost}}} Credits}}}}{{#if:{{{location|}}}|<nowiki/> | |||
{{!}}- | |||
{{!}} colspan="3" style="border-top-width: 0;" {{!}} | |||
<div style="border-top: 2px dotted #AAA; padding: 1px; padding-top: 5px; margin: 2px;" | |||
>[[File:Loc-Icon.png]] {{{location}}}</div> | |||
}}</includeonly></onlyinclude> | |||
{{Doc}} |
Latest revision as of 00:34, 17 April 2021
About
Creates an Trade table entry.
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 | |
---|---|---|---|---|
Item name (get) | 1
|
Item to get
|
String | Required |
Item amount (get) | 2
|
Amount to get
|
NonzeroNumber | Required |
Item name 1 (required) | 3
|
Required Item
|
String | Required |
Item amount 1 (required) | 4
|
Required Amount
|
NonzeroNumber | Required |
Item name 2 (required) | 5
|
Required Item
|
String | Optional |
Item amount 2 (required) | 6
|
Required Amount
|
NonzeroNumber | Optional |
Item name 3 (required) | 7
|
Required Item
|
String | Optional |
Item amount 3 (required) | 8
|
Required Amount
|
NonzeroNumber | Optional |
Item name 4 (required) | 9
|
Required Item
|
String | Optional |
Item amount 4 (required) | 10
|
Required Amount
|
NonzeroNumber | Optional |
Item name 5 (required) | 11
|
Required Item
|
String | Optional |
Item amount 5 (required) | 12
|
Required Amount
|
NonzeroNumber | Optional |
Fee | cost
|
Trade fee
|
NonzeroNumber | Optional |
Location | location
|
Trade location
|
WikiCode | Optional |
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
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Item name (get) | 1 | Item to get
| String | required |
Item amount (get) | 2 | Amount to get
| Number | required |
Item name 1 (required) | 3 | Required Item
| String | required |
Item amount 1 (required) | 4 | Required Amount
| Number | required |
Item name 2 (required) | 5 | Required Item
| String | optional |
Item amount 2 (required) | 6 | Required Amount
| Number | optional |
Item name 3 (required) | 7 | Required Item
| String | optional |
Item amount 3 (required) | 8 | Required Amount
| Number | optional |
Item name 4 (required) | 9 | Required Item
| String | optional |
Item amount 4 (required) | 10 | Required Amount
| Number | optional |
Item name 5 (required) | 11 | Required Item
| String | optional |
Item amount 5 (required) | 12 | Required Amount
| Number | optional |
Fee | cost | Trade fee
| Number | optional |
Location | location | Trade location
| Content | optional |
Examples
Trade Offers Examples | ||
---|---|---|
![]() ![]() |
![]() |
LV26 |
{{TradeTable/Entry|Sandwich|1|Winterclaw|5|Giga Spiral Drill|3}} | ||
![]() |
![]() |
LV21 |
{{TradeTable/Entry|Headphone Scraps|2|Copper Gull|1}} | ||
![]() ![]() |
![]() |
LV26 |
{{TradeTable/Entry|Sandwich|1|Winterclaw|5|Metal Needles|1|cost=50|location=[[Autumn's Rise]]}} |
Location Example
Trade Offers | ||
---|---|---|
![]() ![]() |
![]() |
LV26 |
Non Location Example
{{TradeTable| {{TradeTable/Entry|Sandwich|1|Winterclaw|5|Metal Needles|1|cost=50}} }}
Trade Offers | ||
---|---|---|
![]() ![]() |
![]() |
LV26 |
{{TradeTable|{{TradeTable/Entry|Sandwich|1|Winterclaw|5|Giga Spiral Drill|3}}{{TradeTable/Entry|Headphone Scraps|2|Copper Gull|1}}}}
Trade Offers | ||
---|---|---|
![]() ![]() |
![]() |
LV26 |
![]() |
![]() |
LV21 |