Changes

Template:Pet Info

172 bytes removed, 7 April
Adding some margin
<includeonly><div style="flex: 0 0 33%; margin: 5px 0;"><!------>[[{{{ 1 | {{{icon|File:Miscellaneous Enemy Icon.png}}} }}}|66px]] '''[[{{{ 2 | {{{name|Pet Name?}}} }}}]]''' - <!---
--->{{#switch: {{{ 3 | {{{rarity|}}} }}}
| Powerful = <span style="color:#008000"> [[File:Powerful Icon.png|18px]] Powerful </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>
}}<!----/div></includeonly><noinclude> 
===Parameters===
{| border="1" styleclass="border-collapse:collapse;wikitable TemplateDocumentation"! Parameter !! Required !! Description!! Default
|-
| icon || {{yes}} || The icon for the pet. || <code>File:Miscellaneous Enemy Icon.png</code> will be used if this parameter is not set.
|-
| name || {{yes}} || Name of the pet.|| Pet Name?
|-
| rarity || {{yes}} || Rarity of the pet.|| Rarity?
|}
===Example===
{| style="width:8095%;" cellpadding="20"
! style="font-size:150%; width: 50%;" | Wiki Text
! style="font-size:150%; width: 50%;" | Result
|-
|<div stylecode class="display: flex; justifytempdoc-content: center;"><!------><code style="display: table; white-space: pre-wrap;block"><!---nowiki> ---><nowiki>{{Pet Info | File:Purrlin icon.png | Purrlin | Powerful}}</nowiki><!------></code></div>||<div style="display: flex; justify-content: center;"> <p>{{Pet Info | File:Purrlin icon.png | Purrlin | Powerful}}</p>
</div>
|-
|<div stylecode class="display: flex; justify-content: center;"><!tempdoc------><code style="display: table; white-space: pre-wrap;block"><!--- ---><nowiki>  {{Pet Info | icon = File:Purrlin icon.png | name = Purrlin | rarity = Powerful }}  </nowiki><!------></code></div>||<div style="display: flex; justify-content: center;"> <p> {{Pet Info | icon = File:Purrlin icon.png | name = Purrlin | rarity = Powerful }} </p>
</div>
|}
__NOEDITSECTION__
</noinclude>
__NOEDITSECTION__
WikiDefender, bureaucrat, administrator
736
edits