Template:ChefTasks: Difference between revisions
From Pizza Tower Wiki
Content added Content deleted
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly><templatestyles src="Template:ChefTasks/styles.css" /><div {{#if: {{{image2|}}}|class="taskbox"}}> |
<includeonly><templatestyles src="Template:ChefTasks/styles.css" /><div {{#if: {{{image2|}}}|class="taskbox"}}> |
||
{| class="cheftask taskone" |
{| class="cheftask taskone" |
||
|width=70px|[[File:{{{image1|}}}|center|link=|64px]] |
| width=70px|[[File:{{{image1|}}}|center|link=|64px]] |
||
| |
| class="tasktext"|'''{{{name1|}}}'''<br /><span style="font-size: 90%;">{{{desc1|}}}</span> |
||
|}<!-- |
|}<!-- |
||
-->{{#if: {{{image2|}}}| |
-->{{#if: {{{image2|}}}| |
||
{{{!}} class="cheftask tasktwo" |
{{{!}} class="cheftask tasktwo" |
||
{{!}} width=70px{{!}}[[File:{{{image2|}}}|center|link=|64px]] |
{{!}} width=70px{{!}}[[File:{{{image2|}}}|center|link=|64px]] |
||
{{!}} |
{{!}} class="tasktext"{{!}}'''{{{name2|}}}'''<br /><span style="font-size: 90%;">{{{desc2|}}}</span> |
||
{{!}}} |
{{!}}} |
||
}}<!-- |
}}<!-- |
||
Line 13: | Line 13: | ||
{{{!}} class="cheftask taskone" |
{{{!}} class="cheftask taskone" |
||
{{!}} width=70px{{!}}[[File:{{{image3|}}}|center|link=|64px]] |
{{!}} width=70px{{!}}[[File:{{{image3|}}}|center|link=|64px]] |
||
{{!}} |
{{!}} class="tasktext"{{!}}'''{{{name3|}}}'''<br /><span style="font-size: 90%;">{{{desc3|}}}</span> |
||
{{!}}} |
{{!}}} |
||
}}</div></includeonly><noinclude>{{documentation}}[[Category:Other templates]]</noinclude> |
}}</div></includeonly><noinclude>{{documentation}}[[Category:Other templates]]</noinclude> |
Latest revision as of 07:31, 26 November 2023
How do I use this thing?
This is documentation about a Template. Portions of this template may not display properly without certain values provided.
- 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. |