Template:RecipePinata: Difference between revisions

From Growtopia
Jump to navigationJump to search
>NekoPillow
Using Loops
>Librarian Bird
mNo edit summary
 
(24 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{| width="400" style="border:2px solid #953DB0; margin-bottom: 5px"
<includeonly><div class="recipebox" style="background: #BD20F4; color: #370449;">
! style="background:#BD20F4; color:#FFFFFF" | By Smashing
{| class="content"
|-
|-
| style="border-bottom: 2px solid #BD20F4" | {{ItemSprite|{{#expr: {{Item/ID|Mystery Pinata}}/2}}}} [[Mystery Pinata]]
! {{Sprite|Mystery Pinata}} [[Mystery Pinata|Mystery Pinata Reward]]
|-
|-
{{#vardefine: i | 1 }}{{#while:
| 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 }}}}}}
| {{{{{#var: i }}|}}}
|}</div></includeonly>
| &#10;
<noinclude>{{documentation}}</noinclude>
{{!}}-
{{!}} {{ItemSprite|{{#expr: {{Item/ID|{{{{{#var: i }}|}}}}}/2}}}} With [[{{{{{#var: i }}|}}}]] inside.{{#vardefine: i | {{#expr: {{#var: i }} + 1 }}}}
}}
|}

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 "{".}}}}