Difference between revisions of "Template:Pet Info"
From Dungeon Defenders 2 Wiki
(Testing something) |
|||
| Line 1: | Line 1: | ||
{| style="display: inline-table; width:fit-content;" | {| style="display: inline-table; width:fit-content;" | ||
| − | |[[{{{ | + | |[[{{{1|File:Miscellaneous Enemy Icon.png}}}|66px]] '''[[{{{2|Pet Name}}}]]''' - <!--- |
| − | --->{{#switch: {{{ | + | --->{{#switch: {{{3|}}} |
| Powerful = <span style="color:#008000"> [[File:Powerful Icon.png|18px]] Powerful </span> | | Powerful = <span style="color:#008000"> [[File:Powerful Icon.png|18px]] Powerful </span> | ||
| Epic = <span style="color:#3366ff"> [[File:Epic Icon.png|18px]] Epic </span> | | Epic = <span style="color:#3366ff"> [[File:Epic Icon.png|18px]] Epic </span> | ||
| Line 40: | Line 40: | ||
---></code> | ---></code> | ||
</div> | </div> | ||
| − | |<div style="display: flex; justify-content: center | + | |<div style="display: flex; justify-content: center;"> |
{{Pet Info | {{Pet Info | ||
| icon = File:Purrlin icon.png | | icon = File:Purrlin icon.png | ||
| name = Purrlin | | name = Purrlin | ||
| rarity = Powerful | | rarity = Powerful | ||
| + | }} | ||
| + | {{Pet Info | File:Purrlin icon.png | Purrlin | Powerful | ||
}} | }} | ||
</div> | </div> | ||
Revision as of 21:34, 13 February 2023
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
}}
|