Template:Recipe: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| Line 3: | Line 3: | ||
|- | |- | ||
| style="padding: 0px 0px 0px 0px;" | {{(!}} style{{=}}"text-align: center; border: solid 1px #a2a9b1; background-color: #f6f6f6;" | | style="padding: 0px 0px 0px 0px;" | {{(!}} style{{=}}"text-align: center; border: solid 1px #a2a9b1; background-color: #f6f6f6;" | ||
{{!}} style{{=}}"padding-left: 10px;" {{!}} ''' | {{!}} style{{=}}"padding-left: 10px;" {{!}} '''Ingredients''' | ||
{{(!}} class{{=}}"clear" style{{=}}"height: 109.6px;" | {{(!}} class{{=}}"clear" style{{=}}"height: 109.6px;" | ||
{{!}} style{{=}}"padding: 7.5px 7.5px 7.5px 7.5px;" {{!}} [[File:{{{in1}}}|50px]]<br />{{{in1am|1x}}}{{#if: {{{in2|}}}|<br /> | {{!}} style{{=}}"padding: 7.5px 7.5px 7.5px 7.5px;" {{!}} [[File:{{{in1}}}|50px]]<br />{{{in1am|1x}}}{{#if: {{{in2|}}}|<br /> | ||
| Line 26: | Line 26: | ||
{{!)}} | {{!)}} | ||
{{!}} style{{=}}"font-size: 30px; padding-top: 24.4px; padding-bottom: 20px;" {{!}} ⇒ | {{!}} style{{=}}"font-size: 30px; padding-top: 24.4px; padding-bottom: 20px;" {{!}} ⇒ | ||
{{!}} style{{=}}"padding-right: 10px;" {{!}} ''' | {{!}} style{{=}}"padding-right: 10px;" {{!}} '''Results''' | ||
{{(!}} class{{=}}"clear" style{{=}}"height: 109.6px;" | {{(!}} class{{=}}"clear" style{{=}}"height: 109.6px;" | ||
{{!}} style{{=}}"padding: 7.5px 7.5px 7.5px 7.5px;" {{!}} [[File:{{{out1}}}|50px]]<br />{{{out1am|1x}}}{{#if: {{{out2|}}}|<br /> | {{!}} style{{=}}"padding: 7.5px 7.5px 7.5px 7.5px;" {{!}} [[File:{{{out1}}}|50px]]<br />{{{out1am|1x}}}{{#if: {{{out2|}}}|<br /> | ||
| Line 38: | Line 38: | ||
{{!}} style{{=}}"padding: 7.5px 7.5px 7.5px 7.5px;" {{!}} [[File:{{{out5}}}|50px]]<br />{{{out5am|1x}}}|}} | {{!}} style{{=}}"padding: 7.5px 7.5px 7.5px 7.5px;" {{!}} [[File:{{{out5}}}|50px]]<br />{{{out5am|1x}}}|}} | ||
{{!)}} | {{!)}} | ||
{{#if: {{{fail1|}}} | {{!}} ''' | {{#if: {{{fail1|}}} | {{!}} '''Failure''' | ||
{{(!}} class{{=}}"clear" style{{=}}"height: 109.6px; padding-right: 10px; padding-left: 10px; border-left: solid 2px #202122;" | {{(!}} class{{=}}"clear" style{{=}}"height: 109.6px; padding-right: 10px; padding-left: 10px; border-left: solid 2px #202122;" | ||
{{!}} style{{=}}"padding: 7.5px 7.5px 7.5px 7.5px;" {{!}} [[File:{{{fail1}}}|50px]]<br />{{{fail1am|1x}}}{{#if: {{{fail2|}}}|<br /> | {{!}} style{{=}}"padding: 7.5px 7.5px 7.5px 7.5px;" {{!}} [[File:{{{fail1}}}|50px]]<br />{{{fail1am|1x}}}{{#if: {{{fail2|}}}|<br /> | ||
Revision as of 15: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 = <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)
}}
| The above documentation is transcluded from Template:Recipe/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |