Template:Infobox machine/doc: Difference between revisions
From Everafter Falls Wiki
Created page with "==Description== This template is used to create infoboxes on Category:machines pages and populate the Items cargo table. ==Syntax== <pre> {{infobox machine |name = |description = |source = |produces = |mat1 = |amt1 = |mat2 = |amt2 = |mat3 = |amt3 = |mat4 = |amt4 = |mat5 = |amt5 = |sell = }} </pre> *''name'' field should match the in-game item name. *''source'' and ''produces'' fields can contain formatted wikitext. *Please list all ingredients in ''m..." |
mNo edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
This template is used to create infoboxes on [[:Category:machines|machines]] pages and populate the Items cargo table. | This template is used to create infoboxes on [[:Category:machines|machines]] pages and populate the Items cargo table. | ||
The template also assigns [[:Category:machines|machines]] category to pages it is used on. | |||
==Syntax== | ==Syntax== | ||
<pre> | <pre> | ||
| Line 9: | Line 10: | ||
|source = | |source = | ||
|produces = | |produces = | ||
|fuel = | |||
|unlock = | |||
|mat1 = | |mat1 = | ||
|amt1 = | |amt1 = | ||
| Line 22: | Line 25: | ||
}} | }} | ||
</pre> | </pre> | ||
*''name'' field should match the in-game item name | *''name'' field should match the in-game item name | ||
*''source'' and '' | *''source'', ''fuel'', ''produces'', and ''unlock'' fields may contain formatted wikitext | ||
*Please list all ingredients in ''mat'' (ingredient name, case sensitive) and ''amt'' (amount of ingredient used). Plain text, no wikitext formatting or templates. | *Please list all ingredients in ''mat'' (ingredient name, case sensitive) and ''amt'' (amount of ingredient used). 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 | ||
<noinclude>[[Category:Template documentation]]</noinclude> | <noinclude>[[Category:Template documentation]]</noinclude> | ||
Latest revision as of 01:09, 20 July 2024
Description
This template is used to create infoboxes on machines pages and populate the Items cargo table.
The template also assigns machines category to pages it is used on.
Syntax
{{infobox machine
|name =
|description =
|source =
|produces =
|fuel =
|unlock =
|mat1 =
|amt1 =
|mat2 =
|amt2 =
|mat3 =
|amt3 =
|mat4 =
|amt4 =
|mat5 =
|amt5 =
|sell =
}}
- name field should match the in-game item name
- source, fuel, produces, and unlock fields may contain formatted wikitext
- Please list all ingredients in mat (ingredient name, case sensitive) and amt (amount of ingredient used). Plain text, no wikitext formatting or templates.
- Sell price in sell should contain numbers only, no other symbols like dots or commas