Template:Item declare: Difference between revisions
From Everafter Falls Wiki
No edit summary |
No edit summary |
||
| Line 25: | Line 25: | ||
|BuyPrice=Wikitext | |BuyPrice=Wikitext | ||
|SellPrice=Integer | |SellPrice=Integer | ||
}}</noinclude> | }}</noinclude><includeonly><!-- | ||
<infobox> | |||
// Storing the inputs into the declared Cargo table | |||
--><!-- ifeq namespace check to prevent documentation examples being stored in CargoTable --> | |||
{{#ifeq: {{NAMESPACENUMBER}} | 0 | | |||
{{#cargo_store: | |||
_table=Items | |||
|Name={{{name|{{PAGENAME}}}}} | |||
|Description={{{description|}} | |||
|Type={{{type|Unknown}} | |||
|Source={{{source|}} | |||
|Collection={{{collection|}} | |||
|Machine={{{machine|}} | |||
|Mat1={{{mat1|}} | |||
|Amt1={{{amt1|}} | |||
|Mat2={{{mat2|}} | |||
|Amt2={{{amt2|}} | |||
|Mat3={{{mat3|}} | |||
|Amt3={{{amt3|}} | |||
|Mat4={{{mat4|}} | |||
|Amt4={{{amt4|}} | |||
|Mat5={{{mat5|}} | |||
|Amt5={{{amt5|}} | |||
|CraftTime={{{time|}} | |||
|Season={{{season|}} | |||
|GrowthTime={{{growth|}} | |||
|BuyPrice={{{buy|}} | |||
|SellPrice={{{sell|}} | |||
}}}}<!-- | |||
--><infobox> | |||
<title source="name"> | <title source="name"> | ||
<default>{{PAGENAME}}</default> | <default>{{PAGENAME}}</default> | ||
| Line 61: | Line 91: | ||
<data source="sell"><label>Sell price</label><format>{{formatnum:{{{sell|}}}}}{{coin}}</format><default>''Cannot be sold''</default></data> | <data source="sell"><label>Sell price</label><format>{{formatnum:{{{sell|}}}}}{{coin}}</format><default>''Cannot be sold''</default></data> | ||
</group> | </group> | ||
</infobox><noinclude>[[Category:Infobox templates]]</noinclude> | </infobox></includeonly><noinclude>[[Category:Infobox templates]]</noinclude> | ||
Revision as of 00:46, 18 July 2024
This template defines the table "Items". View table.