Template:ChefTasks

From Pizza Tower Wiki
Revision as of 22:00, 25 November 2023 by Legroom (talk | contribs) (Created page with "<includeonly><templatestyles src="Template:ChefTasks/styles.css" />{{#if: {{{image2|}}}|<div class="taskbox">}} {| class="cheftask taskone" |width=70px|[[File:{{{image1|}}}|center|link=|64px]] |style="padding-left:10px;"|'''{{{name1|}}}'''<br /><span style="font-size: 90%;">{{{desc1|}}}</span> |}{{#if: {{{image2|}}}| {{{!}} class="cheftask tasktwo" {{!}} width=70px{{!}}[[File:{{{image2|}}}|center|link=|64px]] {{!}} style="padding-left:10px;"{{!}}'''{{{name2|}}}'''<br /><...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

How do I use this thing?

This is documentation about a Template. Portions of this template may not display properly without certain values provided.

Edit this documentation | About the Documentation template

Description
This template creates boxes with Chef Tasks, to be included in corresponding section of articles.
Template also uses Extension:TemplateStyles; for styles see: Template:ChefTasks/styles.css.
Syntax
Copy and fill the following template:
{{ChefTasks
|name1 = 
|image1 = 
|desc1 = 

|name2 = 
|image2 = 
|desc2 = 

|name3 = 
|image3 = 
|desc3 = 
}}
Second and third sets of parameters are optional; adding more than one task creates specially formatted container.

Examples

Code with all 3 tasks for John Gutter:
{{ChefTasks
|name1 = John Gutted
|image1 = Spr achievement entrance 0.png
|desc1 = Destroy all the dead john blocks in John Gutter.

|name2 = Let's Make This Quick
|image2 = Spr achievement entrance 1.png
|desc2 = Finish John Gutter in under two minutes.

|name3 = Primate Rage
|image3 = Spr achievement entrance 2.png
|desc3 = Get a combo of 99 or more in John Gutter.*}}
Results:
John Gutted
Destroy all the dead john blocks in John Gutter.
Let's Make This Quick
Finish John Gutter in under two minutes.
Primate Rage
Get a combo of 99 or more in John Gutter.*
Single task example for The Noise:
{{ChefTasks
|name1 = Denoise
|image1 = Spr achievement bosses 2.png
|desc1 = Defeat The Noise without getting hurt.}}
Results:
Denoise
Defeat The Noise without getting hurt.
}}