Difference between revisions of "Template:Pet Info"

From Dungeon Defenders 2 Wiki
Jump to: navigation, search
(Reverting back to a previous state to test something)
(Accidentally overwrote the wrong page)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| style="display: inline-table; width:fit-content;"
+
{| style="flex: 0 0 33%;"
 
|[[{{{ 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|}}} }}}

Latest revision as of 23:02, 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