Template:RecipePinata: Difference between revisions

From Growtopia
Jump to navigationJump to search
>LightSwitch
No edit summary
>Librarian Bird
mNo edit summary
 
(26 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]]
|-
|-
{{#if: {{{1|}}} |
| 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 }}}}}}
{{!}} {{ItemSprite|{{#expr: {{Item/ID|{{{1}}}}}/2}}}} With [[{{{1}}}]] inside.
|}</div></includeonly>
{{#if: {{{2|}}} |
<noinclude>{{documentation}}</noinclude>
{{!}}-
{{!}} {{ItemSprite|{{#expr: {{Item/ID|{{{2}}}}}/2}}}} With [[{{{2}}}]] inside.
}}
{{#if: {{{3|}}} |
{{!}}-
{{!}} {{ItemSprite|{{#expr: {{Item/ID|{{{3}}}}}/2}}}} With [[{{{3}}}]] inside.
}}
{{#if: {{{4|}}} |
{{!}}-
{{!}} {{ItemSprite|{{#expr: {{Item/ID|{{{4}}}}}/2}}}} With [[{{{4}}}]] inside.
}}
{{#if: {{{5|}}} |
{{!}}-
{{!}} {{ItemSprite|{{#expr: {{Item/ID|{{{5}}}}}/2}}}} With [[{{{5}}}]] inside.
}}
{{#if: {{{6|}}} |
{{!}}-
{{!}} {{ItemSprite|{{#expr: {{Item/ID|{{{6}}}}}/2}}}} With [[{{{6}}}]] inside.
}}
}}
|}

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