Difference between revisions of "Template:Special Pet Info"
From Dungeon Defenders 2 Wiki
(Making the template occupy its own line) |
(Adding a line break after the template) |
||
Line 16: | Line 16: | ||
-->{{#if: {{{ 6 | {{{ability2|}}} }}} | or '''{{trim | {{{ 6 | {{{ability2}}} }}} }}'''}} <!-- | -->{{#if: {{{ 6 | {{{ability2|}}} }}} | or '''{{trim | {{{ 6 | {{{ability2}}} }}} }}'''}} <!-- | ||
-->{{#if: {{{ 7 | {{{ability3|}}} }}} | or '''{{trim | {{{ 7 | {{{ability3}}} }}} }}'''}} | -->{{#if: {{{ 7 | {{{ability3|}}} }}} | or '''{{trim | {{{ 7 | {{{ability3}}} }}} }}'''}} | ||
− | |} | + | |}<!-- |
− | --><noinclude> | + | --><br><noinclude> |
===Parameters=== | ===Parameters=== |
Revision as of 14:30, 15 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. Use "Any" if the pet can hatch in any rarity. |
obtain | Method of obtaining the pet. If the pet costs currency, there is no need to include an image file in this parameter, currency keywords will automatically be converted to images. |
ability1 | The special ability of the pet. |
ability2 | An alternate special ability of the pet, if applicable. |
ability3 | An alternate special ability of the pet, if applicable. |
Example
Wiki Text | Result | ||
---|---|---|---|
{{Special Pet Info
| File:Katkarot icon.png
| Katkarot
| Any
| Costs 250 Gems
| Metsu Gatodouken
| Shinku Gatodouken
}}
|
|||
{{Special Pet Info
| icon = File:Katkarot icon.png
| name = Katkarot
| rarity = Any
| obtain = Costs 250 Gems
| ability1 = Metsu Gatodouken
| ability2 = Shinku Gatodouken
}}
|
|