Template:Infobox animal product: Difference between revisions

From Everafter Falls Wiki

Created page with "<noinclude>{{#cargo_attach:table=Items}}</noinclude><includeonly><!-- // 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}}}}} |Image={{{name|{{PAGENAME}}}}}.png |Description={{{description|}}} |Type={{{cargo_type|{{{type|Animal product}}}}}} |Source={{i|{{{animal|}}}}} |Rarity={{{rarity|}}..."
 
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 7: Line 7:
_table=Items
_table=Items
|Name={{{name|{{PAGENAME}}}}}
|Name={{{name|{{PAGENAME}}}}}
|Image={{{name|{{PAGENAME}}}}}.png
|Image={{{image|{{{name|{{PAGENAME}}}}}.png}}}
|Description={{{description|}}}
|Description={{{description|}}}
|Type={{{cargo_type|{{{type|Animal product}}}}}}
|Type={{{cargo_type|{{{type|Animal product}}}}}}
Line 47: Line 47:
     <data source="collection"><label>Collection</label><format>[[Museum#{{ucfirst:{{{collection|}}}}}|{{ucfirst:{{{collection|}}}}}]]</format><default>[[Museum#Fresh Animal Produce|Fresh Animal Produce]]</default></data>
     <data source="collection"><label>Collection</label><format>[[Museum#{{ucfirst:{{{collection|}}}}}|{{ucfirst:{{{collection|}}}}}]]</format><default>[[Museum#Fresh Animal Produce|Fresh Animal Produce]]</default></data>
     <data source="animal"><label>Produced by</label><format>{{i|{{{animal|}}}}}</format></data>
     <data source="animal"><label>Produced by</label><format>{{i|{{{animal|}}}}}</format></data>
     <data source="machine"><label>Machine</label><format>{{i|{{{machine}}}}}</format></data>
     <data source="machine"><label>Machine</label><format>{{i|{{{machine}}}|{{#if:{{{time|}}}|{{{time|}}}}}}} </format></data>
    <data source="time"><label>Time</label></data>
     <data source="store"><label>Sold at</label><format>[[{{{store|}}}]]</format></data>
     <data source="store"><label>Sold at</label><format>[[{{{store|}}}]]</format></data>
     <data source="stack"><label>Stack size</label><default>999</default></data>
     <data source="stack"><label>Stack size</label><default>999</default></data>

Latest revision as of 23:26, 3 May 2025

This template adds rows to the table "Items", which is declared by the template Item declare. View table.

Template documentation
Note: portions of the template sample may not be visible without values provided.
View or edit this documentation. (About template documentation)
Editors can experiment in this template's sandbox and test case pages.