Template:RecipePinata: Difference between revisions

From Growtopia
Jump to navigationJump to search
>LightSwitch
No edit summary
>LightSwitch
No edit summary
Line 5: Line 5:
|-
|-
| Smash a {{ItemLink|Mystery Pinata}} with:
| Smash a {{ItemLink|Mystery Pinata}} with:
{{#vardefine: i | 1 }}{{#while: | {{#vardefine: i | 1 }}{{#while: | {{{{{#var: i }}|}}} | {{ItemLink|{{{{{#var: i }}|}}}}} {{#vardefine: i | {{#expr: {{#var: i }} + 1 }}}}}}
|-
| {{#vardefine: i | 1 }}{{#while: | {{#vardefine: i | 1 }}{{#while: | {{{{{#var: i }}|}}} | {{ItemLink|{{{{{#var: i }}|}}}}} {{#vardefine: i | {{#expr: {{#var: i }} + 1 }}}}}}
|-
|-
|...inside.
|...inside.

Revision as of 08:13, 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:

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