Template:Infobox crafted/doc: Difference between revisions

From Everafter Falls Wiki
mNo edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
==Description==
==Description==
This template is used to create infoboxes on [[:Category:processed goods|processed goods]] pages and populate the Items cargo table.
This template is used to create infoboxes on crafted item pages and populate the Items cargo table.
 
The template does not assign any categories; please categorize the item pages it is used on manually.


==Syntax==
==Syntax==
<pre>
<pre>
{{infobox processed
{{infobox crafted
|name =  
|name =  
|description =  
|description =  
|type =
|effect =
|collection =  
|collection =  
|machine =  
|machine =  
Line 18: Line 22:
|mat4 =  
|mat4 =  
|amt4 =  
|amt4 =  
|amt_crafted =
|buy =
|sell =  
|sell =  
|store =
|machine_alt =
|time_alt =
|mat1_alt =
|amt1_alt =
|mat2_alt =
|amt2_alt =
|mat3_alt =
|amt3_alt =
|mat4_alt =
|amt4_alt =
|amt_crafted_alt =
}}
}}
</pre>
</pre>
Line 25: Line 43:
*Please list all ingredients in ''mat'' (ingredient name, case sensitive) and ''amt'' (amount of ingredient used), including fuel, empty bottles, etc. Plain text, no wikitext formatting or templates.
*Please list all ingredients in ''mat'' (ingredient name, case sensitive) and ''amt'' (amount of ingredient used), including fuel, empty bottles, etc. Plain text, no wikitext formatting or templates.
*Sell price in ''sell'' should contain numbers only, no other symbols like dots or commas
*Sell price in ''sell'' should contain numbers only, no other symbols like dots or commas
*''collection'' can only contain the values allowed in the [[Special:CargoTables/Items|Items table]] or omitted entirely
*The template supports a secondary recipe for the same item in ''alt'' parameters. Please list the machine even if it is the same machine (see [[Mayonnaise]] for reference)


==Sample use==
==Sample use==
Refer to [[Pink Honey]] and [[Blueberry Juice]] for examples.
Refer to [[Pink Honey]] and [[Blueberry Juice]] for examples.
<noinclude>[[Category:Template documentation]]</noinclude>
<noinclude>[[Category:Template documentation]]</noinclude>

Latest revision as of 14:21, 27 July 2024

Description

This template is used to create infoboxes on crafted item pages and populate the Items cargo table.

The template does not assign any categories; please categorize the item pages it is used on manually.

Syntax

{{infobox crafted
|name = 
|description = 
|type = 
|effect = 
|collection = 
|machine = 
|time = 
|mat1 = 
|amt1 = 
|mat2 = 
|amt2 = 
|mat3 = 
|amt3 = 
|mat4 = 
|amt4 = 
|amt_crafted = 
|buy = 
|sell = 
|store = 
|machine_alt = 
|time_alt = 
|mat1_alt = 
|amt1_alt = 
|mat2_alt = 
|amt2_alt = 
|mat3_alt = 
|amt3_alt = 
|mat4_alt = 
|amt4_alt = 
|amt_crafted_alt = 
}}
  • name field should match the in-game item name
  • machine field should contain plain text only
  • Please list all ingredients in mat (ingredient name, case sensitive) and amt (amount of ingredient used), including fuel, empty bottles, etc. Plain text, no wikitext formatting or templates.
  • Sell price in sell should contain numbers only, no other symbols like dots or commas
  • collection can only contain the values allowed in the Items table or omitted entirely
  • The template supports a secondary recipe for the same item in alt parameters. Please list the machine even if it is the same machine (see Mayonnaise for reference)

Sample use

Refer to Pink Honey and Blueberry Juice for examples.