Difference between revisions of "Template:Pet Info"

From Dungeon Defenders 2 Wiki
Jump to: navigation, search
Line 1: Line 1:
{| style="flex: 0 0 33%;"
+
{| style="flex: 0 0 100%;"
|[[{{{ 1 | {{{icon|File:Miscellaneous Enemy Icon.png}}} }}}|66px]] '''[[{{{ 2 | {{{name|Pet Name}}} }}}]]''' - <!---
+
| [[{{{ 1 | {{{icon|File:Miscellaneous Enemy Icon.png}}} }}}|66px]]
 +
|
 +
* '''[[{{{ 2 | {{{name|Pet Name}}} }}}]]''' - <!---
 
--->{{#switch: {{{ 3 | {{{rarity|}}} }}}
 
--->{{#switch: {{{ 3 | {{{rarity|}}} }}}
 
     | Powerful  = <span style="color:#008000"> [[File:Powerful Icon.png|18px]] Powerful </span>
 
     | Powerful  = <span style="color:#008000"> [[File:Powerful Icon.png|18px]] Powerful </span>
Line 6: Line 8:
 
     | Mythical  = <span style="color:#ff00ff"> [[File:Mythical Icon.png|18px]] Mythical </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>
 
     | Legendary = <span style="color:#FFF380"> [[File:Legendary Icon.png|18px]] Legendary </span>
 +
    | Any      = [[File:Worn Icon.png|18px]] Can hatch in any rarity
 
     | #default  = <span style="color:#808080"> [[File:Worn Icon.png|18px]] Rarity? </span>
 
     | #default  = <span style="color:#808080"> [[File:Worn Icon.png|18px]] Rarity? </span>
 
     }}
 
     }}
 +
* <span class="gem-cost-included"> {{{ 4 | {{{obtain|Method of obtaining this pet is not known.}}} }}} </span>
 +
* Special Ability: '''{{{ 5 | {{{ability1|Ability?}}} }}}''' {{#if: {{{ 6 | {{{ability2|}}} }}} | or '''{{{ 6 | {{{ability2}}} }}}'''}} {{#if: {{{ 7 | {{{ability3|}}} }}} | or '''{{{ 7 | {{{ability3}}} }}}'''}}
 
|}<!--
 
|}<!--
 
--><noinclude>
 
--><noinclude>
  
===Parameters===
+
<div style="display: flex; justify-content: center;">
{| border="1" style="border-collapse:collapse;"
+
     {{Special Pet Info
! Parameter !! Description
+
     | File:Katkarot icon.png
|-
+
    | Katkarot
| icon || The icon for the pet. <code>File:Miscellaneous Enemy Icon.png</code> will be used if this parameter is not set.
+
     | Any
|-
+
     | Costs 250 gems
| name || Name of the pet.
+
     | Metsu Gatodouken
|-
+
     | Shinku Gatodouken
| 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 | File:Purrlin icon.png | Purrlin | Powerful}}</nowiki><!---
 
---></code>
 
</div>
 
|<div style="display: flex; justify-content: center;">
 
     {{Pet Info | File:Purrlin icon.png | Purrlin | Powerful}}
 
</div>
 
|-
 
|<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;">
 
    {{Pet Info
 
     | icon = File:Purrlin icon.png
 
     | name = Purrlin
 
     | rarity = Powerful
 
 
     }}
 
     }}
 
</div>
 
</div>
|}
 
  
 
</noinclude>
 
</noinclude>
__NOEDITSECTION__
 

Revision as of 22:02, 14 February 2023

Miscellaneous Enemy Icon.png
  • Pet Name - Worn Icon.png Rarity?
  • Method of obtaining this pet is not known.
  • Special Ability: Ability?
Katkarot icon.png
  • Katkarot - Any Rarity.gif Can hatch in any rarity
  • Costs 250 gems
  • Special Ability: Metsu Gatodouken or Shinku Gatodouken