Difference between revisions of "Template:Pet Info"

From Dungeon Defenders 2 Wiki
Jump to: navigation, search
(Editing examples to properly reflect the template)
Line 31: Line 31:
 
</div>
 
</div>
 
|<div style="display: flex; justify-content: center;">
 
|<div style="display: flex; justify-content: center;">
     {{Pet Info | File:Purrlin icon.png | Purrlin | Powerful}}
+
     <p>{{Pet Info | File:Purrlin icon.png | Purrlin | Powerful}}</p>
 
</div>
 
</div>
 
|-
 
|-
Line 48: Line 48:
 
</div>
 
</div>
 
|<div style="display: flex; justify-content: center;">
 
|<div style="display: flex; justify-content: center;">
     {{Pet Info  
+
     <p>
    | icon = File:Purrlin icon.png
+
        {{Pet Info  
    | name = Purrlin
+
        | icon = File:Purrlin icon.png
    | rarity = Powerful
+
        | name = Purrlin
    }}
+
        | rarity = Powerful
 +
        }}
 +
    </p>
 
</div>
 
</div>
 
|}
 
|}

Revision as of 02:53, 14 February 2023

Miscellaneous Enemy Icon.png Pet Name - Worn Icon.png Rarity?

Parameters

Parameter Description
icon The icon for the pet. File:Miscellaneous Enemy Icon.png will be used if this parameter is not set.
name Name of the pet.
rarity Rarity of the pet.

Example

Wiki Text Result
{{Pet Info | File:Purrlin icon.png | Purrlin | Powerful}}

Purrlin icon.png Purrlin - Powerful Icon.png Powerful

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

Purrlin icon.png Purrlin - Powerful Icon.png Powerful