Difference between revisions of "Template:Pet Info"
From Dungeon Defenders 2 Wiki
(Improving documentation and wikitext) |
(Adding some margin) |
||
| Line 1: | Line 1: | ||
| − | <includeonly><div style="flex: 0 0 33%;"><!--- | + | <includeonly><div style="flex: 0 0 33%; margin: 5px 0;"><!--- |
--->[[{{{ 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 15:07, 7 April 2025
Parameters
| Parameter | Required | Description | Default |
|---|---|---|---|
| icon | |
The icon for the pet. | File:Miscellaneous Enemy Icon.png
|
| name | |
Name of the pet. | Pet Name? |
| rarity | |
Rarity of the pet. | Rarity? |
Example
| Wiki Text | Result |
|---|---|
{{Pet Info | File:Purrlin icon.png | Purrlin | Powerful}}
|
|
{{Pet Info
| icon = File:Purrlin icon.png
| name = Purrlin
| rarity = Powerful
}}
|
|