Changes

Jump to: navigation, search

Template:Pet Info

1,652 bytes added, 00:54, 14 February 2023
Created page with "{| style="display: inline-table; width:30%;" |[[{{{icon|File:Miscellaneous Enemy Icon.png}}}|66px]] '''[[{{{name|Pet Name}}}]]''' - <!--- --->{{#switch: {{{rarity|}}} | Po..."
{| style="display: inline-table; width:30%;"
|[[{{{icon|File:Miscellaneous Enemy Icon.png}}}|66px]] '''[[{{{name|Pet Name}}}]]''' - <!---
--->{{#switch: {{{rarity|}}}
| Powerful = <span style="color:#008000"> [[File:Powerful Icon.png|18px]] Powerful </span>
| Epic = <span style="color:#3366ff"> [[File:Epic Icon.png|18px]] Epic </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>
| #default = <span style="color:#808080"> [[File:Worn Icon.png|18px]] Rarity? </span>
}}
|}<!--
--><noinclude>

===Parameters===
{| border="1" style="border-collapse:collapse;"
! Parameter !! Description
|-
| icon || The icon for the pet. <code>File:Miscellaneous Enemy Icon.png</code> will be used if this parameter is not set.
|-
| name || Name of the pet.
|-
| rarity || Rarity of the pet.
|}

===Example===
{| style="width:80%;"
! 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>

{{Pet Info
| icon = File:Purrlin icon.png
| name = Purrlin
| rarity = Powerful
}}

</nowiki><!---
---></code>
</div>
|<div style="display: flex; justify-content: center; flex-direction: row-reverse;">
{{Pet Info
| icon = File:Purrlin icon.png
| name = Purrlin
| rarity = Powerful
}}
</div>
|}

</noinclude>
__NOEDITSECTION__
WikiDefender, bureaucrat, administrator
617
edits

Navigation menu