Template:Recipe: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{|Craftingrecipe style="float:right;border:1px solid black" !colspan = "5" | Crafting Recipe |- |48px|link=Obenseuer/Items ||+|| 48px ||→|| 48px |- style="text-align:center;" |2 |||| 3 |||| 1 |}") |
Tag: Rollback |
||
| (48 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{| | <includeonly>{| | ||
! | {{#if: {{{name|}}}|{{!+}} style{{=}}"text-align: left; padding-left: 15px;" {{!}} '''{{{name}}}'''|}} | ||
|- | |- | ||
| | | style="padding: 0px 0px 0px 0px;" | {{(!}} style{{=}}"text-align: center; border: solid 1px #a2a9b1; background-color: #f6f6f6;" | ||
|- style="text-align:center;" | {{!}} style{{=}}"padding-left: 10px;" {{!}} '''Ingredients''' | ||
| | {{(!}} class{{=}}"clear" style{{=}}"height: 109.6px;" | ||
|} | {{!}} style{{=}}"padding: 7.5px 7.5px 7.5px 7.5px;" {{!}} {{tb|{{{in1}}}|size={{{size|55px}}}}}<br />{{{in1am|1x}}}{{#if: {{{in2|}}}|<br /> | ||
{{!}} style{{=}}"font-size: 25px; padding-bottom: 15px;" {{!}} {{{in1sep|+}}} | |||
{{!}} style{{=}}"padding: 7.5px 7.5px 7.5px 7.5px;" {{!}} {{tb|{{{in2}}}|size={{{size|55px}}}}}<br />{{{in2am|1x}}}|}}{{#if: {{{in3|}}}|<br /> | |||
{{!}} style{{=}}"font-size: 25px; padding-bottom: 15px;" {{!}} {{{in2sep|+}}} | |||
{{!}} style{{=}}"padding: 7.5px 7.5px 7.5px 7.5px;" {{!}} {{tb|{{{in3}}}|size={{{size|55px}}}}}<br />{{{in3am|1x}}}|}}{{#if: {{{in4|}}}|<br /> | |||
{{!}} style{{=}}"font-size: 25px; padding-bottom: 15px;" {{!}} {{{in3sep|+}}} | |||
{{!}} style{{=}}"padding: 7.5px 7.5px 7.5px 7.5px;" {{!}} {{tb|{{{in4}}}|size={{{size|55px}}}}}<br />{{{in4am|1x}}}|}}{{#if: {{{in5|}}}|<br /> | |||
{{!}} style{{=}}"font-size: 25px; padding-bottom: 15px;" {{!}} {{{in4sep|+}}} | |||
{{!}} style{{=}}"padding: 7.5px 7.5px 7.5px 7.5px;" {{!}} {{tb|{{{in5}}}|size={{{size|55px}}}}}<br />{{{in5am|1x}}}|}}{{#if: {{{in6|}}}|<br /> | |||
{{!}} style{{=}}"font-size: 25px; padding-bottom: 15px;" {{!}} {{{in5sep|+}}} | |||
{{!}} style{{=}}"padding: 7.5px 7.5px 7.5px 7.5px;" {{!}} {{tb|{{{in6}}}|size={{{size|55px}}}}}<br />{{{in6am|1x}}}|}}{{#if: {{{in7|}}}|<br /> | |||
{{!}} style{{=}}"font-size: 25px; padding-bottom: 15px;" {{!}} {{{in6sep|+}}} | |||
{{!}} style{{=}}"padding: 7.5px 7.5px 7.5px 7.5px;" {{!}} {{tb|{{{in7}}}|size={{{size|55px}}}}}<br />{{{in7am|1x}}}|}}{{#if: {{{in8|}}}|<br /> | |||
{{!}} style{{=}}"font-size: 25px; padding-bottom: 15px;" {{!}} {{{in7sep|+}}} | |||
{{!}} style{{=}}"padding: 7.5px 7.5px 7.5px 7.5px;" {{!}} {{tb|{{{in8}}}|size={{{size|55px}}}}}<br />{{{in8am|1x}}}|}}{{#if: {{{in9|}}}|<br /> | |||
{{!}} style{{=}}"font-size: 25px; padding-bottom: 15px;" {{!}} {{{in8sep|+}}} | |||
{{!}} style{{=}}"padding: 7.5px 7.5px 7.5px 7.5px;" {{!}} {{tb|{{{in9}}}|size={{{size|55px}}}}}<br />{{{in9am|1x}}}|}}{{#if: {{{in10|}}}|<br /> | |||
{{!}} style{{=}}"font-size: 25px; padding-bottom: 15px;" {{!}} {{{in9sep|+}}} | |||
{{!}} style{{=}}"padding: 7.5px 7.5px 7.5px 7.5px;" {{!}} {{tb|{{{in10}}}|size={{{size|55px}}}}}<br />{{{in10am|1x}}}|}} | |||
{{!)}} | |||
{{!}} style{{=}}"font-size: 30px; padding-top: 24.4px; padding-bottom: 20px;" {{!}} ⇒ | |||
{{!}} style{{=}}"padding-right: 10px;" {{!}} '''Results''' | |||
{{(!}} class{{=}}"clear" style{{=}}"height: 109.6px;" | |||
{{!}} style{{=}}"padding: 7.5px 7.5px 7.5px 7.5px;" {{!}} {{tb|{{{out1}}}|size={{{size|55px}}}}}<br />{{{out1am|1x}}}{{#if: {{{out2|}}}|<br /> | |||
{{!}} style{{=}}"font-size: 25px; padding-bottom: 15px;" {{!}} {{{out1sep|+}}} | |||
{{!}} style{{=}}"padding: 7.5px 7.5px 7.5px 7.5px;" {{!}} {{tb|{{{out2}}}|size={{{size|55px}}}}}<br />{{{out2am|1x}}}|}}{{#if: {{{out3|}}}|<br /> | |||
{{!}} style{{=}}"font-size: 25px; padding-bottom: 15px;" {{!}} {{{out2sep|+}}} | |||
{{!}} style{{=}}"padding: 7.5px 7.5px 7.5px 7.5px;" {{!}} {{tb|{{{out3}}}|size={{{size|55px}}}}}<br />{{{out3am|1x}}}|}}{{#if: {{{out4|}}}|<br /> | |||
{{!}} style{{=}}"font-size: 25px; padding-bottom: 15px;" {{!}} {{{out3sep|+}}} | |||
{{!}} style{{=}}"padding: 7.5px 7.5px 7.5px 7.5px;" {{!}} {{tb|{{{out4}}}|size={{{size|55px}}}}}<br />{{{out4am|1x}}}|}}{{#if: {{{out5|}}}|<br /> | |||
{{!}} style{{=}}"font-size: 25px; padding-bottom: 15px;" {{!}} {{{out4sep|+}}} | |||
{{!}} style{{=}}"padding: 7.5px 7.5px 7.5px 7.5px;" {{!}} {{tb|{{{out5}}}|size={{{size|55px}}}}}<br />{{{out5am|1x}}}|}} | |||
{{!)}} | |||
{{#if: {{{fail1|}}} | {{!}} '''Failure''' | |||
{{(!}} 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;" {{!}} {{tb|{{{fail1}}}|size={{{size|55px}}}}}<br />{{{fail1am|1x}}}{{#if: {{{fail2|}}}|<br /> | |||
{{!}} style{{=}}"font-size: 25px; padding-bottom: 15px;" {{!}} {{{fail1sep|+}}} | |||
{{!}} style{{=}}"padding: 7.5px 7.5px 7.5px 7.5px;" {{!}} {{tb|{{{fail2}}}|size={{{size|55px}}}}}<br />{{{fail2am|1x}}}|}}{{#if: {{{fail3|}}}|<br /> | |||
{{!}} style{{=}}"font-size: 25px; padding-bottom: 15px;" {{!}} {{{fail2sep|+}}} | |||
{{!}} style{{=}}"padding: 7.5px 7.5px 7.5px 7.5px;" {{!}} {{tb|{{{fail3}}}|size={{{size|55px}}}}}<br />{{{fail3am|1x}}}|}}{{#if: {{{fail4|}}}|<br /> | |||
{{!}} style{{=}}"font-size: 25px; padding-bottom: 15px;" {{!}} {{{fail3sep|+}}} | |||
{{!}} style{{=}}"padding: 7.5px 7.5px 7.5px 7.5px;" {{!}} {{tb|{{{fail4}}}|size={{{size|55px}}}}}<br />{{{fail4am|1x}}}|}}{{#if: {{{fail5|}}}|<br /> | |||
{{!}} style{{=}}"font-size: 25px; padding-bottom: 15px;" {{!}} {{{fail4sep|+}}} | |||
{{!}} style{{=}}"padding: 7.5px 7.5px 7.5px 7.5px;" {{!}}{{tb|{{{fail5}}}|size={{{size|55px}}}}}<br />{{{fail5am|1x}}}|}} | |||
{{!)}}|}} | |||
{{!)}} | |||
{{!-}} | |||
{{!}} | |||
{{(!}} style{{=}}"width: 100%; text-align: center;" | |||
{{#if: {{{skill|}}}|{{!}} style{{=}}"width: 1%;" {{!}} Relevant skill: [[{{{skill}}}]]|}} | |||
{{#if: {{{modifier|}}}|{{!}} style{{=}}"width: 1%;" {{!}} Required modifiers:<br />{{{modifier}}}|}} | |||
{{#if: {{{excluded|}}}|{{!}} style{{=}}"width: 1%;" {{!}} Excluded modifiers:<br />{{{excluded}}}|}} | |||
{{!)}} | |||
|}</includeonly><noinclude> | |||
{{documentation}} | |||
</noinclude> | |||
Latest revision as of 23:06, 10 June 2025
Usage[edit source]
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. |