Difference between revisions of "Template:Pet Info"

From Dungeon Defenders 2 Wiki
Jump to: navigation, search
(Created page with "{| style="display: inline-table; width:30%;" |[[{{{icon|File:Miscellaneous Enemy Icon.png}}}|66px]] '''[[{{{name|Pet Name}}}]]''' - <!--- --->{{#switch: {{{rarity|}}} | Po...")
 
Line 1: Line 1:
{| style="display: inline-table; width:30%;"
+
{| style="display: inline-table; width:fit-content;"
 
|[[{{{icon|File:Miscellaneous Enemy Icon.png}}}|66px]] '''[[{{{name|Pet Name}}}]]''' - <!---
 
|[[{{{icon|File:Miscellaneous Enemy Icon.png}}}|66px]] '''[[{{{name|Pet Name}}}]]''' - <!---
 
--->{{#switch: {{{rarity|}}}
 
--->{{#switch: {{{rarity|}}}

Revision as of 20:58, 13 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 | icon = File:Purrlin icon.png | name = Purrlin | rarity = Powerful }}
Purrlin icon.png Purrlin - Powerful Icon.png Powerful