Template:Recipe Usage/core: Difference between revisions
(Created page with "<includeonly>|- | [[File:{{{productimage|product}}}]]<br>{{{product}}} {{#if: {{{qproduct|}}}|<span style="color:#666"><small>×{{{qproduct|}}}</small></span>}} | {| width=10...") |
m (Automated Formatting) |
||
(9 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>|- | <includeonly>{{!}}- | ||
| [[File:{{{productimage|product}}}]]<br>{{{product}}} {{#if: {{{qproduct|}}}|<span style="color:#666"><small>×{{{qproduct|}}}</small></span>}} | {{!}} {{#if: {{{product2|}}}| | ||
{{{!}} [[File:{{{productimage|product}}}]]<br>{{{product}}} {{#if: {{{qproduct|}}}|<span style="color:#666"><small>×{{{qproduct|}}}</small></span>}} {{!}}{{!}} <span style="font-size:230%;">+</span> [[File:{{{productimage2|product2}}}]]<br>{{{product2}}} {{#if: {{{qproduct2|}}}|<span style="color:#666"><small>×{{{qproduct2|}}}</small></span>}} | |||
{ | {{!}}}|[[File:{{{productimage|product}}}]]<br>{{{product}}} {{#if: {{{qproduct|}}}|<span style="color:#666"><small>×{{{qproduct|}}}</small></span>}}}} | ||
{{!}} | |||
{{{!}} width=100% | |||
{{!}} {{#if:{{{image1|}}}|[[File:{{{image1}}}]]<br>}} {{{item1|}}}{{#if: {{{q1|}}}|<span style="color:#666"><small> ×{{{q1|}}}</small></span>}}{{#if: {{{item2|}}}| {{!}}{{!}} <span style="font-size:230%;">+</span></td> | {{!}} {{#if:{{{image1|}}}|[[File:{{{image1}}}]]<br>}} {{{item1|}}}{{#if: {{{q1|}}}|<span style="color:#666"><small> ×{{{q1|}}}</small></span>}}{{#if: {{{item2|}}}| {{!}}{{!}} <span style="font-size:230%;">+</span></td> | ||
{{!}} {{#if:{{{image2|}}}|[[File:{{{image2}}}]]<br>}} {{{item2|}}}{{#if: {{{q2|}}}|<span style="color:#666"><small> ×{{{q2|}}}</small></span>}}{{#if: {{{item3|}}}| {{!}}{{!}} <span style="font-size:230%;">+</span></td> | {{!}} {{#if:{{{image2|}}}|[[File:{{{image2}}}]]<br>}} {{{item2|}}}{{#if: {{{q2|}}}|<span style="color:#666"><small> ×{{{q2|}}}</small></span>}}{{#if: {{{item3|}}}| {{!}}{{!}} <span style="font-size:230%;">+</span></td> | ||
Line 13: | Line 15: | ||
{{!}} {{#if:{{{image9|}}}|[[File:{{{image9}}}]]<br>}} {{{item9|}}}{{#if: {{{q9|}}}|<span style="color:#666"><small> ×{{{q9|}}}</small></span>}}{{#if: {{{item10|}}}| {{!}}{{!}} <span style="font-size:230%;">+</span></td> | {{!}} {{#if:{{{image9|}}}|[[File:{{{image9}}}]]<br>}} {{{item9|}}}{{#if: {{{q9|}}}|<span style="color:#666"><small> ×{{{q9|}}}</small></span>}}{{#if: {{{item10|}}}| {{!}}{{!}} <span style="font-size:230%;">+</span></td> | ||
{{!}} {{#if:{{{image10|}}}|[[File:{{{image10}}}]]<br>}} {{{item10|}}}{{#if: {{{q10|}}}|<span style="color:#666"><small> ×{{{q10|}}}</small></span>}}}}}}}}}}}}}}}}}}}} | {{!}} {{#if:{{{image10|}}}|[[File:{{{image10}}}]]<br>}} {{{item10|}}}{{#if: {{{q10|}}}|<span style="color:#666"><small> ×{{{q10|}}}</small></span>}}}}}}}}}}}}}}}}}}}} | ||
|} | {{!}}} | ||
| {{#if:{{{ | {{!}} {{#if:{{{equipment1|}}} | ||
| {{#if:{{{equipment|}}}|{{#if:{{{equipmentimage|}}}|[[File:{{{equipmentimage}}}]]<br>}}}} {{{equipment|}}} | |{{{!}}class="mw-collapsible mw-collapsed" data-expandtext="▲" data-collapsetext="▼" cellspacing=0 width=100% | ||
| {{{time|}}} | {{!}} style="color: rgba(0, 0, 0, 0);" {{!}}<span style="color: rgba(0, 0, 0, 1);">One of:</span></tr> | ||
{{!}} style="border-style: none; background-color: transparent; text-align:left;" {{!}} <small>{{#if:{{{equipmentimage1|}}}|[[File:{{{equipmentimage1}}}|18px]]}} {{{equipment1}}}</small>{{#if: {{{equipment2|}}}|</tr> | |||
{{!}} style="border-style: none; background-color: transparent; text-align:left;" {{!}} <small>{{#if:{{{equipmentimage2|}}}|[[File:{{{equipmentimage2}}}|18px]]}} {{{equipment2}}}</small>{{#if: {{{equipment3|}}}|</tr> | |||
{{!}} style="border-style: none; background-color: transparent; text-align:left;" {{!}} <small>{{#if:{{{equipmentimage3|}}}|[[File:{{{equipmentimage3}}}|18px]]}} {{{equipment3}}}</small>{{#if: {{{equipment4|}}}|</tr> | |||
{{!}} style="border-style: none; background-color: transparent; text-align:left;" {{!}} <small>{{#if:{{{equipmentimage4|}}}|[[File:{{{equipmentimage4}}}|18px]]}} {{{equipment4}}}</small>{{#if: {{{equipment5|}}}|</tr> | |||
{{!}} style="border-style: none; background-color: transparent; text-align:left;" {{!}} <small>{{#if:{{{equipmentimage5|}}}|[[File:{{{equipmentimage5}}}|18px]]}} {{{equipment5}}}</small>{{#if: {{{equipment6|}}}|</tr> | |||
{{!}} style="border-style: none; background-color: transparent; text-align:left;" {{!}} <small>{{#if:{{{equipmentimage6|}}}|[[File:{{{equipmentimage6}}}|18px]]}} {{{equipment6}}}</small>{{#if: {{{equipment7|}}}|</tr> | |||
{{!}} style="border-style: none; background-color: transparent; text-align:left;" {{!}} <small>{{#if:{{{equipmentimage7|}}}|[[File:{{{equipmentimage7}}}|18px]]}} {{{equipment7}}}</small>{{#if: {{{equipment8|}}}|</tr> | |||
{{!}} style="border-style: none; background-color: transparent; text-align:left;" {{!}} <small>{{#if:{{{equipmentimage8|}}}|[[File:{{{equipmentimage8}}}|18px]]}} {{{equipment8}}}</small>{{#if: {{{equipment9|}}}|</tr> | |||
{{!}} style="border-style: none; background-color: transparent; text-align:left;" {{!}} <small>{{#if:{{{equipmentimage9|}}}|[[File:{{{equipmentimage9}}}|18px]]}} {{{equipment9}}}</small>{{#if: {{{equipment10|}}}|</tr> | |||
{{!}} style="border-style: none; background-color: transparent; text-align:left;" {{!}} <small>{{#if:{{{equipmentimage10|}}}|[[File:{{{equipmentimage10}}}|18px]]}} {{{equipment10}}}</small>}}}}}}}}}}}}}}}}}} | |||
{{!}}}|{{#if:{{{equipment|}}}|{{#if:{{{equipmentimage|}}}|[[File:{{{equipmentimage}}}]]<br>}}}} {{{equipment|-}}}}} | |||
{{!}} {{#if:{{{workstation|}}}|{{#if:{{{workstationimage|}}}|[[File:{{{workstationimage}}}]]<br>}}}} {{{workstation|-}}} | |||
{{!}} {{#if:{{{cook|}}}|{{#if:{{{burn|}}}|<small>Cooked: {{{cook}}}min<br>Burned: {{{burn}}}min</small>|<small>Cook: {{{cook}}}min</small>}}|{{{time|-}}}}} | |||
{{!}} {{#if:{{{recipe|}}}|{{#if:{{{recipeimage|}}}|[[File:{{{recipeimage}}}]]<br>}}}} {{{recipe|-}}} | |||
{{!}} {{#if:{{{skill|}}}|{{#if:{{{skillimage|}}}|[[File:{{{skillimage}}}]]<br>}}}} {{{skill|-}}} {{#if:{{{skilllevel|}}}|Level {{{skilllevel|}}}}}</includeonly><noinclude>{{Documentation}}</noinclude> |
Latest revision as of 14:25, 14 April 2024
The following can be copy and pasted, with the unneeded parameters deleted:
{{Recipe Usage/core |productimage= | product= | qproduct= |image1= | item1= | q1= |image2= | item2= | q2= |image3= | item3= | q3= |image4= | item4= | q4= |image5= | item5= | q5= |image6= | item6= | q6= |image7= | item7= | q7= |image8= | item8= | q8= |image9= | item9= | q9= |image10= | item10= | q10= |equipmentimage= |equipment= |workstationimage= |workstation= |time= |recipeimage= |recipe= |skillimage= |skill= |skilllevel= }}
Example
{| class="wikitable theme-red" style="text-align:center;" |- ! width=120px | Product ! width=120px | Materials ! width=120px | Equipment ! width=120px | Workstation ! width=120px | Time ! width=120px | Recipe ! width=150px | Skill {{Recipe_Usage/core |productimage=Bread.png |product=[[Bread]] |image1=WaterDrop.png |item1=[[Water]] |q1=1 unit |image2=Flour.png |item2=[[Flour]] |q2=1 unit |image3=Salt.png |item3=[[Salt]] |q3=1 unit |image4=Yeast.png |item4=[[Yeast]] |q4=1 unit |equipmentimage=RollingPin.png |equipment=[[Rolling Pin]] |workstationimage=Oven.png{{!}}32px |workstation=[[Oven]] |time=<small>Cooked: 20min<br>Burned: 50min</small> |recipeimage=MagazineFood2.png |recipe=[[Good Cooking Magazine|Good Cooking Magazine Vol.2]] |skill=[[Cooking]] |skilllevel=0 }} |}
Produces
Product | Materials | Equipment | Workstation | Time | Recipe | Skill | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Bread |
|
|
Heat source |
Cooked: 20min Burned: 50min |
Good Cooking Magazine Vol.2 |
Cooking Level 0 |
Documentation transcluded from Template:Recipe Usage/core/doc.
Editors can experiment in this template's sandbox (create)
Editors can experiment in this template's sandbox (create)