Template:Recipe/doc: Difference between revisions
m (Undid revision 9878 by ABC-DEFG (talk) putting everything in templates is messier than I thought) Tag: Undo |
mNo edit summary |
||
| (One intermediate revision by one other user not shown) | |||
| Line 5: | Line 5: | ||
{<nowiki />{Recipe | {<nowiki />{Recipe | ||
| Name = <name of the recipe> eg: | Name = Furniture parts | | Name = <name of the recipe> eg: | Name = Furniture parts | ||
| in1 = < | | in1 = <item name> eg: | in1 = plank (not case sensitive, just make sure there are no consecutive spaces) | ||
| in1am = <needed amount> eg: | in1am = 4x (can be ignored, it will default to "1x") | | in1am = <needed amount> eg: | in1am = 4x (can be ignored, it will default to "1x") | ||
| in1sep = <operation separator> eg: | in1sep = or (can be ignored, it will default to "+") | | in1sep = <operation separator> eg: | in1sep = or (can be ignored, it will default to "+") | ||
| Line 52: | Line 52: | ||
}} | }} | ||
</pre> | </pre> | ||
<includeonly>[[Category:Crafting Templates]]</includeonly> | |||
Latest revision as of 16:50, 1 September 2025
UsageEdit
Note: Pipe characters (|) must be escaped as {{!}} or {{pipe}}, and equals signs must be escaped as {{=}} (those inside tags may need to be escaped as well, e.g. <div style{{=}}"...">), except for ones inside <nowiki>, <pre>, <math>, and <syntaxhighlight> tags.
{{Recipe
| Name = <name of the recipe> eg: | Name = Furniture parts
| in1 = <item name> eg: | in1 = plank (not case sensitive, just make sure there are no consecutive spaces)
| in1am = <needed amount> eg: | in1am = 4x (can be ignored, it will default to "1x")
| in1sep = <operation separator> eg: | in1sep = or (can be ignored, it will default to "+")
| in2 = <same as above> (anything about 1 slot can be ignored, won't be displayed)
| in2am = <same as above>
| in2sep = <same as above>
| in3 = <same as above>
| in3am = <same as above>
| in3sep = <same as above>
.
.
.
| in9sep = <same as above>
| in10 = <same as above>
| in10am = <same as above>
| out1 = <same as above for output>
| out1am = <same as above for output>
| out1sep = <same as above for output>
| out2 = <same as above for output>
| out2am = <same as above for output>
| out2sep = <same as above for output>
.
.
.
| out4sep = <same as above for output>
| out5 = <same as above for output>
| out5am = <same as above for output>
| fail1 = <same as above for failure>
| fail1am = <same as above for failure>
| fail1sep = <same as above for failure>
| fail2 = <same as above for failure>
| fail2am = <same as above for failure>
| fail2sep = <same as above for failure>
.
.
.
| fail4sep = <same as above for failure>
| fail5 = <same as above for failure>
| fail5am = <same as above for failure>
| skill = <associated skill> eg: | skill = Carpentry (can be ignored, won't be displayed)
| modifier = <required modifiers> eg: | modifier = Variant 1 and Clean (can be ignored, won't be displayed)
| excluded = <excluded modifiers> eg: | excluded = Makeshift and Crude (can be ignored, won't be displayed)
}}