Template:RecipePinata: Difference between revisions

From Growtopia
Jump to navigationJump to search
>HealLV
No edit summary
>Librarian Bird
mNo edit summary
 
(22 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<div style="background:#BD20F4;padding: 3px 10px;line-height:16px;color:#31083F">&#9654; '''By Smashing'''</div>
<includeonly><div class="recipebox" style="background: #BD20F4; color: #370449;">
<div style="border:1px solid #953DB0;border-top:none;padding: 5px 10px">
{| class="content"
{{ItemSprite|{{#expr: {{Item/ID|Mystery Pinata}}/2}}}} [[Mystery Pinata]]<br><div style="background:#BD20F4;padding: 3px 10px;line-height:16px;color:#31083F"></div>
|-
{{#vardefine: i | 1 }}{{#while:
! {{Sprite|Mystery Pinata}} [[Mystery Pinata|Mystery Pinata Reward]]
| {{{{{#var: i }}|}}} | <br>{{ItemSprite|{{#expr: {{Item/ID|{{{{{#var: i }}|}}}}}/2}}}} With [[{{{{{#var: i }}|}}}]] inside.{{#vardefine: i | {{#expr: {{#var: i }} + 1 }}}}
|-
}}</div>
| Smash a {{ItemLink|Mystery Pinata}} containing{{#if: {{{2|}}} | &nbsp;one of the following items}}:{{#vardefine: i | 1 }}{{#while: | {{{{{#var: i }}|}}} | <br> {{ItemLink|{{{{{#var: i }}|}}}}} {{#vardefine: i | {{#expr: {{#var: i }} + 1 }}}}}}
|}</div></includeonly>
<noinclude>{{documentation}}</noinclude>

Latest revision as of 12:43, 24 December 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:

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