Template:Recipe/doc: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (Undid revision 9878 by ABC-DEFG (talk) putting everything in templates is messier than I thought) Tag: Undo |
||
| 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 = <image filename{{tlx|!|plaincode}}displayed item name> eg: | in1 = 35010 Plank.png{{tlx|!|plaincode}}Plank | ||
| 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 "+") | ||
Revision as of 18:33, 13 February 2025
Usage
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 = <image filename{{!}}displayed item name> eg: | in1 = 35010 Plank.png{{!}}Plank
| 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)
}}