Template:RecipePinata: Difference between revisions

From Growtopia
Jump to navigationJump to search
>HealLV
No edit summary
>LightSwitch
No edit summary
Line 1: Line 1:
<includeonly><div style="background:#BD20F4;padding: 3px 10px;line-height:16px;color:#31083F">&#9654; '''By Smashing'''</div>
<includeonly>
<div style="border:1px solid #953DB0;border-top:none;padding: 5px 10px">
<div class="recipebox" style="background: #BD20F4; color: #370449;">
{{ItemLink|Mystery Pinata}}<br><div style="background:#BD20F4;padding: 3px 10px;line-height:16px;color:#31083F"></div>
{| class="content"
{{#vardefine: i | 1 }}{{#while:
|-
| {{{{{#var: i }}|}}} | <br>{{Sprite|{{{{{#var: i }}|}}}}} With [[{{{{{#var: i }}|}}}]] inside.{{#vardefine: i | {{#expr: {{#var: i }} + 1 }}}}
! {{Sprite|Mystery Pinata}} [[Mystery Pinata|Mystery Pinata Reward]]
}}</div></includeonly>
|-
|Smash a {{ItemLink|Mystery Pinata}} with:
|-
|{{#vardefine: i | 1 }}{{#while:
| {{{{{#var: i }}|}}} | {{Sprite|{{{{{#var: i }}|}}}}} [[{{{{{#var: i }}|}}}]] {{#vardefine: i | {{#expr: {{#var: i }} + 1 }}}}
|-
...inside.
|}</div></includeonly>
<noinclude>{{documentation}}</noinclude>
<noinclude>{{documentation}}</noinclude>

Revision as of 07:58, 10 April 2020


Template Documentation [Edit] [History] [Purge]
This is the documentation of Template:RecipePinata.

Description:

Displays a box indicating item as a special drop from smashing Mystery Pinata. Input accepts many items if the recipe is possible from more than one item. For more information read the item's page.

Usage:

{{RecipePinata|Item 1|...}}

Example:

...inside.
Mystery Pinata Reward
Smash a Mystery Pinata with:
1 }}{{#while: [[]] {{#vardefine: i | Expression error: Unrecognized punctuation character "{".}}