Difference between revisions of "Template:Special Pet Info"
From Dungeon Defenders 2 Wiki
| Line 11: | Line 11: | ||
--><noinclude> | --><noinclude> | ||
| − | {{ | + | ===Parameters=== |
| − | | File: | + | {| border="1" style="border-collapse:collapse;" |
| − | | | + | ! Parameter !! Description |
| − | | | + | |- |
| − | }} | + | | icon || The icon for the pet. <code>File:Miscellaneous Enemy Icon.png</code> will be used if this parameter is not set. |
| + | |- | ||
| + | | name || Name of the pet. | ||
| + | |- | ||
| + | | rarity || Rarity of the pet. | ||
| + | |} | ||
| + | |||
| + | ===Example=== | ||
| + | {| style="width:80%;" | ||
| + | ! style="font-size:150%; width: 50%;" | Wiki Text | ||
| + | ! style="font-size:150%; width: 50%;" | Result | ||
| + | |- | ||
| + | |<div style="display: flex; justify-content: center;"><!--- | ||
| + | ---><code style="display: table; white-space: pre-wrap;"><!--- | ||
| + | ---><nowiki>{{Pet Info | File:Purrlin icon.png | Purrlin | Powerful}}</nowiki><!--- | ||
| + | ---></code> | ||
| + | </div> | ||
| + | |<div style="display: flex; justify-content: center;"> | ||
| + | {{Pet Info | File:Purrlin icon.png | Purrlin | Powerful}} | ||
| + | </div> | ||
| + | |- | ||
| + | |<div style="display: flex; justify-content: center;"><!--- | ||
| + | ---><code style="display: table; white-space: pre-wrap;"><!--- | ||
| + | ---><nowiki> | ||
| + | |||
| + | {{Pet Info | ||
| + | | icon = File:Purrlin icon.png | ||
| + | | name = Purrlin | ||
| + | | rarity = Powerful | ||
| + | }} | ||
| + | |||
| + | </nowiki><!--- | ||
| + | ---></code> | ||
| + | </div> | ||
| + | |<div style="display: flex; justify-content: center;"> | ||
| + | {{Pet Info | ||
| + | | icon = File:Purrlin icon.png | ||
| + | | name = Purrlin | ||
| + | | rarity = Powerful | ||
| + | }} | ||
| + | </div> | ||
| + | |} | ||
</noinclude> | </noinclude> | ||
| + | __NOEDITSECTION__ | ||
Revision as of 21:57, 14 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 | File:Purrlin icon.png | Purrlin | Powerful}}
|
|
{{Pet Info
| icon = File:Purrlin icon.png
| name = Purrlin
| rarity = Powerful
}}
|