Template:Sources/datarow: Difference between revisions
From IdleOn MMO Wiki
Kiokurashi (talk | contribs) mNo edit summary |
Kiokurashi (talk | contribs) mNo edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
### Cargo Declare ### | ### Cargo Declare ### | ||
-->{{#cargo_declare:_table= | -->{{#cargo_declare:_table=ExtraSourceData | ||
|Item=String (mandatory) | |Item=String (mandatory) | ||
|Source=String | |Source=String | ||
Line 9: | Line 9: | ||
|Category=String | |Category=String | ||
|EventRules=Boolean | |EventRules=Boolean | ||
}}</noinclude><includeonly | }}</noinclude><includeonly><!-- | ||
### Cargo Store ### | ### Cargo Store ### | ||
-->{{#cargo_store:_table= | --><span style='display: none;'>{{#cargo_store:_table=ExtraSourceData | ||
|Item={{{Item}}} | |Item={{{Item}}} | ||
|Source={{{Source|{{PAGENAME}}}}} | |Source={{{Source|{{PAGENAME}}}}} | ||
|Link={{{Link|{{PAGENAME}}}}} | |Link={{{Link|{{PAGENAME}}}}} | ||
|SpecialText={{{SpecialText|None}}} | |SpecialText={{{SpecialText|None}}} | ||
|Category={{{Category|None}}} | |Category={{{Category|None}}} | ||
|EventRules={{#if:{{{EventRules|}}}|1|0}} | |EventRules={{#if:{{{EventRules|}}}|1|0}} | ||
}}</ | }}</span></includeonly><noinclude>This template is used to add in all of the sources that aren't covered by other tables. Not to be confused with the ItemSources table that lists all sourcess for an item. | ||
<pre> | |||
{{Sources/datarow | |||
|Item= Required. The full name of the item. | |||
|Source= Optional. Defaults to the page the template is called on. | |||
|Link= Optional. Again, defaults to the page the template is called on. This one is useful for if you'd rather link to a section on a page. | |||
|SpecialText= Optional. For a small blurb to differentiate it from the source (Ex: Setting it to "World 3" for items in that section of the Gem Shop) | |||
|Category= Optional. Vestigual parameter that probably isn't even used, but is retained until all uses are removed. | |||
|EventRules= Semi-Required. A boolean. This is purely for items that are dropped from any enemy during special events like Giftmas. | |||
This is "Semi-Required" because it is triggered if set to anything at all so if the item isn't using Event Rules you DON'T set it. | |||
}} | |||
</pre></noinclude> |
Latest revision as of 03:09, 22 March 2024
This template defines the table "ExtraSourceData". View table.This template is used to add in all of the sources that aren't covered by other tables. Not to be confused with the ItemSources table that lists all sourcess for an item.
{{Sources/datarow |Item= Required. The full name of the item. |Source= Optional. Defaults to the page the template is called on. |Link= Optional. Again, defaults to the page the template is called on. This one is useful for if you'd rather link to a section on a page. |SpecialText= Optional. For a small blurb to differentiate it from the source (Ex: Setting it to "World 3" for items in that section of the Gem Shop) |Category= Optional. Vestigual parameter that probably isn't even used, but is retained until all uses are removed. |EventRules= Semi-Required. A boolean. This is purely for items that are dropped from any enemy during special events like Giftmas. This is "Semi-Required" because it is triggered if set to anything at all so if the item isn't using Event Rules you DON'T set it. }}