Difference between revisions of "Template:Recipe Usage/core"

From PZwiki
Jump to: navigation, search
(Created page with "<includeonly>|- | [[File:{{{productimage|product}}}]]<br>{{{product}}} {{#if: {{{qproduct|}}}|<span style="color:#666"><small>×{{{qproduct|}}}</small></span>}} | {| width=10...")
 
m
Line 14: Line 14:
 
{{!}} {{#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:{{{equipment|}}}|{{#if:{{{equipmentimage|}}}|[[File:{{{equipmentimage}}}]]<br>}}}} {{{equipment|}}}
 
| {{#if:{{{workstation|}}}|{{#if:{{{workstationimage|}}}|[[File:{{{workstationimage}}}]]<br>}}}} {{{workstation|}}}
 
| {{#if:{{{workstation|}}}|{{#if:{{{workstationimage|}}}|[[File:{{{workstationimage}}}]]<br>}}}} {{{workstation|}}}
| {{#if:{{{equipment|}}}|{{#if:{{{equipmentimage|}}}|[[File:{{{equipmentimage}}}]]<br>}}}} {{{equipment|}}}
 
 
| {{{time|}}}
 
| {{{time|}}}
 
| {{#if:{{{recipe|}}}|{{#if:{{{recipeimage|}}}|[[File:{{{recipeimage}}}]]<br>}}}} {{{recipe|}}}
 
| {{#if:{{{recipe|}}}|{{#if:{{{recipeimage|}}}|[[File:{{{recipeimage}}}]]<br>}}}} {{{recipe|}}}
 
| {{#if:{{{skill|}}}|{{#if:{{{skillimage|}}}|[[File:{{{skillimage}}}]]<br>}}}} {{{skill|}}} {{#if:{{{skilllevel|}}}|Level {{{skilllevel|}}}}}</includeonly><noinclude>{{Documentation}}</noinclude>
 
| {{#if:{{{skill|}}}|{{#if:{{{skillimage|}}}|[[File:{{{skillimage}}}]]<br>}}}} {{{skill|}}} {{#if:{{{skilllevel|}}}|Level {{{skilllevel|}}}}}</includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 16:11, 15 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="pztable" 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=[[Recipe Magazines#Cooking|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)