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

Template:Pet: Difference between revisions

Template page
LightSwitch (talk | contribs)
No edit summary
Librarian Bird (talk | contribs)
No edit summary
 
(8 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<noinclude>{{Pet|Pet Burrito|Earth|Stubborn|Whatever the description is.|10}}</noinclude>
<includeonly>{| width="400" style="border: 2px solid #0998F7; margin-botton: 10px; width: 100%"
 
! style="background:#F7D209; color:#FFFFFF" | [[Pet Battles]]
{| width="400" style="border: 2px solid #0998F7; margin-botton: 10px"
! style="background:#F7D209; color:#FFFFFF" | Pet Battles
|-
|-
| style="font-weight: bold; padding: 10px; text-align: center" | {{ItemSprite|{{#expr: floor({{Item/ID|{{{1}}}}}/2)}}}} <span style="vertical-align:-7px;">[[{{{1}}}]]</span>
| style="font-weight: bold; padding: 10px; text-align: center" | {{ItemLink|{{{1}}}}}
|-
|-
| style="font-weight: bold; text-align: center; color: {{#switch:{{{2}}} | Fire | Fire = color:#8A0808 | Water | Water = color:#08088A | Air | Air = color:#868A08 | Earth | Earth = color:#298A08 |#default = color:#000000}}" | {{{2}}} Battle Pet
| style="font-weight: bold; text-align: center; color:#{{#switch:{{{2}}} | Fire | Fire = d92525 | Water | Water = 25a9d9| Air | Air = c1d925 | Earth | Earth = 25d925 |#default = 000000}}" | {{{2}}} Battle Pet
|-
|-
! style="background:#F7D209; color:#FFFFFF" | Ability
! style="background:#F7D209; color:#FFFFFF" | [[Pet Battle Abilities|Ability]]
|-
|-
| style="text-align: center; color: {{#switch:{{{2}}} | Fire | Fire = color:#8A0808 | Water | Water = color:#08088A | Air | Air = color:#868A08 | Earth | Earth = color:#298A08 |#default = color:#000000}}" | '''{{{3}}}''': {{{4}}}
| style="text-align: center; color: #{{#switch:{{{2}}} | Fire | Fire = d92525 | Water | Water = 25a9d9| Air | Air = c1d925 | Earth | Earth = 25d925 |#default = 000000}}" | '''{{{3}}}''': {{{4}}}
|-
|-
| style="text-align: center" | '''Cooldown''': {{{5|0}}} seconds.
| style="text-align: center" | '''Cooldown''': {{{5|0}}} seconds.
|}
|}</includeonly>
<noinclude>{{documentation}}</noinclude>

Latest revision as of 13:40, 9 June 2022


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

Description:

Display an infobox of a pet's Pet Battle Ability.

Usage:

{{Pet|Pet Name|Element|Ability Name|Ability|Ability Cooldown}}
Possible Values
Parameter Value Meaning
Element Air https://cdn.growtopiawiki.com/uploads/9/95/AchievementSprites.png Air Battle Pet
Fire https://cdn.growtopiawiki.com/uploads/9/95/AchievementSprites.png Fire Battle Pet
Earth https://cdn.growtopiawiki.com/uploads/9/95/AchievementSprites.png Earth Battle Pet
Water https://cdn.growtopiawiki.com/uploads/9/95/AchievementSprites.png Water Battle Pet

Example:

Pet Battles
https://cdn.growtopiawiki.com/uploads/8/8f/ItemSprites.png Dragon Hand
Fire Battle Pet
Ability
Fire Breath: Ignite the target for 3 Fire damage plus 3 more per second for 4 seconds. Inflicts 3 Fire damage.
Cooldown: 6 seconds.