Template:Recipe Usage/core: Difference between revisions

From PZwiki
mNo edit summary
mNo edit summary
 
Line 19: Line 19:
|{{{!}}class="mw-collapsible mw-collapsed" data-expandtext="▲" data-collapsetext="▼" cellspacing=0 width=100%
|{{{!}}class="mw-collapsible mw-collapsed" data-expandtext="▲" data-collapsetext="▼" cellspacing=0 width=100%
  {{!}} style="color: rgba(0, 0, 0, 0);" {{!}}<span style="color: rgba(0, 0, 0, 1);">One of:</span></tr>
  {{!}} 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;" {{!}} <small>{{#if:{{{equipmentimage1|}}}|[[File:{{{equipmentimage1}}}|18px]]}} {{{equipment1}}}</small>{{#if: {{{equipment2|}}}|</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;" {{!}} <small>{{#if:{{{equipmentimage2|}}}|[[File:{{{equipmentimage2}}}|18px]]}} {{{equipment2}}}</small>{{#if: {{{equipment3|}}}|</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;" {{!}} <small>{{#if:{{{equipmentimage3|}}}|[[File:{{{equipmentimage3}}}|18px]]}} {{{equipment3}}}</small>{{#if: {{{equipment4|}}}|</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;" {{!}} <small>{{#if:{{{equipmentimage4|}}}|[[File:{{{equipmentimage4}}}|18px]]}} {{{equipment4}}}</small>{{#if: {{{equipment5|}}}|</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;" {{!}} <small>{{#if:{{{equipmentimage5|}}}|[[File:{{{equipmentimage5}}}|18px]]}} {{{equipment5}}}</small>{{#if: {{{equipment6|}}}|</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;" {{!}} <small>{{#if:{{{equipmentimage6|}}}|[[File:{{{equipmentimage6}}}|18px]]}} {{{equipment6}}}</small>{{#if: {{{equipment7|}}}|</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;" {{!}} <small>{{#if:{{{equipmentimage7|}}}|[[File:{{{equipmentimage7}}}|18px]]}} {{{equipment7}}}</small>{{#if: {{{equipment8|}}}|</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;" {{!}} <small>{{#if:{{{equipmentimage8|}}}|[[File:{{{equipmentimage8}}}|18px]]}} {{{equipment8}}}</small>{{#if: {{{equipment9|}}}|</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;" {{!}} <small>{{#if:{{{equipmentimage9|}}}|[[File:{{{equipmentimage9}}}|18px]]}} {{{equipment9}}}</small>{{#if: {{{equipment10|}}}|</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;" {{!}} <small>{{#if:{{{equipmentimage10|}}}|[[File:{{{equipmentimage10}}}|18px]]}} {{{equipment10}}}</small>}}}}}}}}}}}}}}}}}}
  {{!}} 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:{{{equipment|}}}|{{#if:{{{equipmentimage|}}}|[[File:{{{equipmentimage}}}]]<br>}}}} {{{equipment|-}}}}}
{{!}} {{#if:{{{workstation|}}}|{{#if:{{{workstationimage|}}}|[[File:{{{workstationimage}}}]]<br>}}}} {{{workstation|-}}}
{{!}} {{#if:{{{workstation|}}}|{{#if:{{{workstationimage|}}}|[[File:{{{workstationimage}}}]]<br>}}}} {{{workstation|-}}}

Latest revision as of 13:41, 17 January 2020

[view] [edit] [history] [purge] Template documentation
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.png
Bread
WaterDrop.png
Water ×1 unit
+ Flour.png
Flour ×1 unit
+ Salt.png
Salt ×1 unit
+ Yeast.png
Yeast ×1 unit
One of:
RollingPin.png Rolling Pin
RollingPin.png Rolling Pin
RollingPin.png Rolling Pin
RollingPin.png Rolling Pin
RollingPin.png Rolling Pin
Oven.png
Heat source
Cooked: 20min
Burned: 50min
MagazineFood2.png
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)