Changes

Template:Special Pet Info

346 bytes added, 17:17, 31 October 2023
Replacing Worn icon for any rarity with a gif that cycles through the possible rarities
<onlyincludediv style="flex: 0 0 50%;">
{|
| [[{{trim | {{{ 1 | {{{icon|File:Miscellaneous Enemy Icon.png}}}}} }}}|66px]]
|
* '''[[{{trim | {{{ 2 | {{{name|Pet Name}}}}} }}}]]''' - <!---
--->{{#switch: {{{ 3 | {{{rarity|}}} }}}
| Powerful = <span style="color:#008000"> [[File:Powerful Icon.png|18px]] Powerful </span>
| Mythical = <span style="color:#ff00ff"> [[File:Mythical Icon.png|18px]] Mythical </span>
| Legendary = <span style="color:#FFF380"> [[File:Legendary Icon.png|18px]] Legendary </span>
| Any = [[File:Worn IconAny Rarity.pnggif|18px]] Can hatch in any rarity
| #default = <span style="color:#808080"> [[File:Worn Icon.png|18px]] Rarity? </span>
}}
* <span class="currency-included"> {{trim | {{{ 4 | {{{obtain|Method of obtaining this pet?}}}}} }}} </span>* Special Ability: <!---->'''{{trim | {{{ 5 | {{{ability1|Ability?}}}}} }}}''' <!---->{{#if: {{{ 6 | {{{ability2|}}} }}} | or '''{{trim | {{{ 6 | {{{ability2}}}}} }}}'''}} <!---->{{#if: {{{ 7 | {{{ability3|}}} }}} | or '''{{trim | {{{ 7 | {{{ability3}}}}} }}}'''}}
|}
</onlyincludediv><noinclude>
===Parameters===
| rarity || Rarity of the pet. Use "Any" if the pet can hatch in any rarity.
|-
| obtain || Method of obtaining the pet. If the pet costs currency, there is no need to include an image file in this parameter, currency keywords <code>Gems, Gold, Defender Medals</code> will automatically be converted to images.
|-
| ability1 || The special ability of the pet.
! style="font-size:150%; width: 50%;" | Wiki Text
! style="font-size:150%; width: 50%;" | Result
|-
|<div style="display: flex; justify-content: center;"><!---
---><code style="display: table; white-space: pre-wrap;"><!---
---><nowiki>{{Special Pet Info | File:Katkarot icon.png | Katkarot | Any | Costs 250 Gems | Metsu Gatodouken | Shinku Gatodouken}}</nowiki><!---
---></code>
</div>
|<div style="display: flex; justify-content: center;">
{{Special Pet Info | File:Katkarot icon.png | Katkarot | Any | Costs 250 Gems | Metsu Gatodouken | Shinku Gatodouken}}
</div>
|-
|<div style="display: flex; justify-content: center;"><!---
---><nowiki>
{{Special Pet Info | File:Katkarot icon.png
| Katkarot
| Any
| Costs 250 Gems
| Metsu Gatodouken
| Shinku Gatodouken
|<div style="display: flex; justify-content: center;">
{{Special Pet Info
| File:Katkarot icon.png
| Katkarot
| Any
| Costs 250 Gems
| Metsu Gatodouken
| Shinku Gatodouken
}}
</div>
|-
|<div style="display: flex; justify-content: center;"><!---
---><code style="display: table; white-space: pre-wrap;"><!---
---><nowiki>
 
{{Special Pet Info
| icon = File:Katkarot icon.png
| name = Katkarot
| rarity = Any
| obtain = Costs 250 Gems
| ability1 = Metsu Gatodouken
| ability2 = Shinku Gatodouken
}}
 
</nowiki><!---
---></code>
</div>
|<div style="display: flex; justify-content: center;">
{{Special Pet Info
| icon = File:Katkarot icon.png
| name = Katkarot
| rarity = Any
| obtain = Costs 250 Gems
| ability1 = Metsu Gatodouken
| ability2 = Shinku Gatodouken
}}
</div>
WikiDefender, bureaucrat, administrator
617
edits