Difference between revisions of "Template:Special Pet Info"
From Dungeon Defenders 2 Wiki
(Experimenting) |
|||
| (18 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | < | + | <div style="flex: 0 0 50%;"> |
{| | {| | ||
| − | | [[{{{ 1 | {{{icon|File:Miscellaneous Enemy Icon.png}}} }}}|66px]] | + | | [[{{trim | {{{ 1 | {{{icon|File:Miscellaneous Enemy Icon.png}}} }}} }}|66px]] |
| | | | ||
| − | * '''[[{{{ 2 | {{{name|Pet Name}}} }}}]]''' - <!--- | + | * '''[[{{trim | {{{ 2 | {{{name|Pet Name}}} }}} }}]]''' - <!--- |
--->{{#switch: {{{ 3 | {{{rarity|}}} }}} | --->{{#switch: {{{ 3 | {{{rarity|}}} }}} | ||
| Powerful = <span style="color:#008000"> [[File:Powerful Icon.png|18px]] Powerful </span> | | Powerful = <span style="color:#008000"> [[File:Powerful Icon.png|18px]] Powerful </span> | ||
| Line 9: | Line 9: | ||
| Mythical = <span style="color:#ff00ff"> [[File:Mythical Icon.png|18px]] Mythical </span> | | Mythical = <span style="color:#ff00ff"> [[File:Mythical Icon.png|18px]] Mythical </span> | ||
| Legendary = <span style="color:#FFF380"> [[File:Legendary Icon.png|18px]] Legendary </span> | | Legendary = <span style="color:#FFF380"> [[File:Legendary Icon.png|18px]] Legendary </span> | ||
| − | | Any = [[File: | + | | Any = [[File:Any Rarity.gif|18px]] Can hatch in any rarity |
| #default = <span style="color:#808080"> [[File:Worn Icon.png|18px]] Rarity? </span> | | #default = <span style="color:#808080"> [[File:Worn Icon.png|18px]] Rarity? </span> | ||
}} | }} | ||
| − | * <span class="currency-included"> {{{ 4 | {{{obtain|Method of obtaining this pet?}}} }}} </span> | + | * <span class="currency-included"> {{trim | {{{ 4 | {{{obtain|Method of obtaining this pet?}}} }}} }} </span> |
| − | * Special Ability: '''{{{ 5 | {{{ability1|Ability?}}} }}}''' {{#if: {{{ 6 | {{{ability2|}}} }}} | or '''{{{ 6 | {{{ability2}}} }}}'''}} {{#if: {{{ 7 | {{{ability3|}}} }}} | or '''{{{ 7 | {{{ability3}}} }}}'''}} | + | * Special Ability: <!-- |
| + | -->'''{{trim | {{{ 5 | {{{ability1|Ability?}}} }}} }}''' <!-- | ||
| + | -->{{#if: {{{ 6 | {{{ability2|}}} }}} | or '''{{trim | {{{ 6 | {{{ability2}}} }}} }}'''}} <!-- | ||
| + | -->{{#if: {{{ 7 | {{{ability3|}}} }}} | or '''{{trim | {{{ 7 | {{{ability3}}} }}} }}'''}} <!-- | ||
| + | -->{{#if: {{{ 8 | {{{ability4|}}} }}} | or '''{{trim | {{{ 8 | {{{ability4}}} }}} }}'''}} | ||
|} | |} | ||
| − | </ | + | </div><noinclude> |
| − | <noinclude> | ||
===Parameters=== | ===Parameters=== | ||
| Line 28: | Line 31: | ||
| rarity || Rarity of the pet. Use "Any" if the pet can hatch in any rarity. | | 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 | + | | obtain || Method of obtaining the pet. If the pet costs currency, currency keywords <code>Gems, Gold, Defender Medals</code> will automatically be converted to images. |
|- | |- | ||
| ability1 || The special ability of the pet. | | ability1 || The special ability of the pet. | ||
| Line 35: | Line 38: | ||
|- | |- | ||
| ability3 || An alternate special ability of the pet, if applicable. | | ability3 || An alternate special ability of the pet, if applicable. | ||
| + | |- | ||
| + | | ability4 || An alternate special ability of the pet, if applicable. | ||
|} | |} | ||
| Line 41: | Line 46: | ||
! style="font-size:150%; width: 50%;" | Wiki Text | ! style="font-size:150%; width: 50%;" | Wiki Text | ||
! style="font-size:150%; width: 50%;" | Result | ! style="font-size:150%; width: 50%;" | Result | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
|- | |- | ||
|<div style="display: flex; justify-content: center;"><!--- | |<div style="display: flex; justify-content: center;"><!--- | ||
| Line 55: | Line 51: | ||
---><nowiki> | ---><nowiki> | ||
| − | {{Special Pet Info | + | {{Special Pet Info |
| − | | File:Katkarot icon.png | + | | File:Katkarot icon.png |
| Katkarot | | Katkarot | ||
| Any | | Any | ||
| − | | Costs 250 Gems | + | | Costs 250 Gems |
| Metsu Gatodouken | | Metsu Gatodouken | ||
| Shinku Gatodouken | | Shinku Gatodouken | ||
| Line 69: | Line 65: | ||
|<div style="display: flex; justify-content: center;"> | |<div style="display: flex; justify-content: center;"> | ||
{{Special Pet Info | {{Special Pet Info | ||
| − | | File:Katkarot icon.png | + | | File:Katkarot icon.png |
| Katkarot | | Katkarot | ||
| Any | | Any | ||
| − | | Costs 250 Gems | + | | Costs 250 Gems |
| Metsu Gatodouken | | Metsu Gatodouken | ||
| Shinku Gatodouken | | Shinku Gatodouken | ||
| + | }} | ||
| + | </div> | ||
| + | |- | ||
| + | |<div style="display: flex; justify-content: center;"><!--- | ||
| + | ---><code style="display: table; white-space: pre-wrap;"><!--- | ||
| + | ---><nowiki> | ||
| + | |||
| + | {{Special Pet Info | ||
| + | | icon = File:Katkarot icon.png | ||
| + | | name = Katkarot | ||
| + | | rarity = Any | ||
| + | | obtain = Costs 250 Gems | ||
| + | | ability1 = Metsu Gatodouken | ||
| + | | ability2 = Shinku Gatodouken | ||
| + | }} | ||
| + | |||
| + | </nowiki><!--- | ||
| + | ---></code> | ||
| + | </div> | ||
| + | |<div style="display: flex; justify-content: center;"> | ||
| + | {{Special Pet Info | ||
| + | | icon = File:Katkarot icon.png | ||
| + | | name = Katkarot | ||
| + | | rarity = Any | ||
| + | | obtain = Costs 250 Gems | ||
| + | | ability1 = Metsu Gatodouken | ||
| + | | ability2 = Shinku Gatodouken | ||
}} | }} | ||
</div> | </div> | ||
|} | |} | ||
| + | __NOEDITSECTION__ | ||
</noinclude> | </noinclude> | ||
| − | |||
Revision as of 21:02, 13 December 2024
| |
|
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, currency keywords Gems, Gold, Defender Medals 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. |
| ability4 | 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
}}
|
|