Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:RecipeSurgery: Difference between revisions

Template page
Vijuki (talk | contribs)
No edit summary
Vijuki (talk | contribs)
No edit summary
Line 4: Line 4:
! {{Sprite|Surg-E}} [[Guide:Surgery|Surgery]]
! {{Sprite|Surg-E}} [[Guide:Surgery|Surgery]]
|-
|-
| Chance to be obtained from [[Guide:Surgery|performing a surgery]] on {{#if: {{{1|}}}
|Chance to be obtained from [[Guide:Surgery|performing a surgery]] on {{#if: {{{1|}}}
   | {{#switch:{{{1}}} | 1 | 1 = <br> {{Sprite|Hospital Bed}} Player ([[Hospital Bed]]) <br> {{ItemLink|Surg-E}} <br>|#default = {{Sprite|Hospital Bed}} Player ([[Hospital Bed]]) <br>| 2 | 2 = {{Sprite|Starship Sickbay Bed}} Player ([[Starship Sickbay Bed]]) <br> }}{{#if: {{{2|}}}
   | *{{#switch:{{{1}}} | 1 | 1 = {{Sprite|Hospital Bed}} Player ([[Hospital Bed]]) <br> {{ItemLink|Surg-E}} <br>|#default = {{Sprite|Hospital Bed}} Player ([[Hospital Bed]]) <br>| 2 | 2 = {{Sprite|Starship Sickbay Bed}} Player ([[Starship Sickbay Bed]]) <br> }}{{#if: {{{2|}}}
   | {{#switch:{{{2}}} | 1 | 1 = <br> {{Sprite|Hospital Bed}} Player ([[Hospital Bed]]) <br> {{ItemLink|Surg-E}} <br>|#default = {{Sprite|Hospital Bed}} Player ([[Hospital Bed]]) <br>| 2 | 2 = {{Sprite|Starship Sickbay Bed}} Player ([[Starship Sickbay Bed]]) <br> }}
   | *{{#switch:{{{2}}} | 1 | 1 = {{Sprite|Hospital Bed}} Player ([[Hospital Bed]]) <br> {{ItemLink|Surg-E}} <br>|#default = {{Sprite|Hospital Bed}} Player ([[Hospital Bed]]) <br>| 2 | 2 = {{Sprite|Starship Sickbay Bed}} Player ([[Starship Sickbay Bed]]) <br> }}
}}}}
}}}}
|}
|}
</div></includeonly>
</div></includeonly>
<noinclude>{{documentation}}</noinclude>
<noinclude>{{documentation}}</noinclude>

Revision as of 08:19, 7 June 2020


Template Documentation [Edit] [History] [Purge]
This is the documentation of Template:RecipeSurgery.

Description:

Displays a box showing the recipe for an item which is a possible drop while performing surgery and can specifiy under what condition it is possible. Infobox can accept two inputs but can also be used with just one.

Usage:

{{RecipeSurgery|Combination 1|Combination 2}}
Possible Values
Parameter Value Meaning
Combination 1 https://cdn.growtopiawiki.com/uploads/8/8f/ItemSprites.png Player (Hospital Bed)
https://cdn.growtopiawiki.com/uploads/8/8f/ItemSprites.png Surg-E
2 https://cdn.growtopiawiki.com/uploads/8/8f/ItemSprites.png Player (Starship Sickbay Bed)
default https://cdn.growtopiawiki.com/uploads/8/8f/ItemSprites.png Player (Hospital Bed)

Example: