Template:RecipePinata: Difference between revisions

From Growtopia
Jump to navigationJump to search
>LightSwitch
No edit summary
>Librarian Bird
mNo edit summary
 
(18 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>
<includeonly><div class="recipebox" style="background: #BD20F4; color: #370449;">
<div class="recipebox" style="background: #BD20F4; color: #370449;">
{| class="content"
{| class="content"
|-
|-
! {{Sprite|Mystery Pinata}} [[Mystery Pinata|Mystery Pinata Reward]]
! {{Sprite|Mystery Pinata}} [[Mystery Pinata|Mystery Pinata Reward]]
|-
|-
|Smash a {{ItemLink|Mystery Pinata}} with:
| 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 }}}}}}
|-
|{{#vardefine: i | 1 }}{{#while:
| {{{{{#var: i }}|}}} | {{Sprite|{{{{{#var: i }}|}}}}} [[{{{{{#var: i }}|}}}]] {{#vardefine: i | {{#expr: {{#var: i }} + 1 }}}}
|-
...inside.
|}</div></includeonly>
|}</div></includeonly>
<noinclude>{{documentation}}</noinclude>
<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 "{".}}}}