Difference between revisions of "Template:Special Pet Info"

From Dungeon Defenders 2 Wiki
Jump to: navigation, search
(Updating template with proper documentation)
(Experimenting)
Line 1: Line 1:
 
{|
 
{|
| [[{{{ 1 | {{{icon|File:Miscellaneous Enemy Icon.png}}} }}}|66px]]
+
| [[<onlyinclude>{{{ 1 | {{{icon|File:Miscellaneous Enemy Icon.png}}} }}}</onlyinclude>|66px]]
 
|
 
|
* '''[[{{{ 2 | {{{name|Pet Name}}} }}}]]''' - <!---
+
* '''[[<onlyinclude>{{{ 2 | {{{name|Pet Name}}} }}}</onlyinclude>]]''' - <!---
--->{{#switch: {{{ 3 | {{{rarity|}}} }}}
+
--->{{#switch: <onlyinclude>{{{ 3 | {{{rarity|}}} }}}</onlyinclude>
 
     | 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 54: Line 54:
  
 
             {{Special Pet Info  
 
             {{Special Pet Info  
             | 1 = File:Katkarot icon.png  
+
             | File:Katkarot icon.png  
             | 2 = Katkarot  
+
             | Katkarot  
             | 3 = Any  
+
             | Any  
             | 4 = Costs 250 Gems  
+
             | Costs 250 Gems  
             | 5 = Metsu Gatodouken
+
             | Metsu Gatodouken
             | 6 = Shinku Gatodouken
+
             | Shinku Gatodouken
 
             }}
 
             }}
  
Line 67: Line 67:
 
|<div style="display: flex; justify-content: center;">
 
|<div style="display: flex; justify-content: center;">
 
     {{Special Pet Info  
 
     {{Special Pet Info  
     | 1 = File:Katkarot icon.png  
+
     | File:Katkarot icon.png  
     | 2 = Katkarot  
+
     | Katkarot  
     | 3 = Any  
+
     | Any  
     | 4 = Costs 250 Gems  
+
     | Costs 250 Gems  
     | 5 = Metsu Gatodouken
+
     | Metsu Gatodouken
     | 6 = Shinku Gatodouken
+
     | Shinku Gatodouken
 
     }}
 
     }}
 
</div>
 
</div>

Revision as of 14:32, 15 February 2023

Miscellaneous Enemy Icon.png
  • Pet Name - Worn Icon.png Rarity?
  • Method of obtaining this pet?
  • Special Ability: Ability?

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}}
Katkarot icon.png
  • Katkarot - Any Rarity.gif Can hatch in any rarity
  • Costs 250 Gems
  • Special Ability: Metsu Gatodouken or Shinku Gatodouken
{{Special Pet Info | File:Katkarot icon.png | Katkarot | Any | Costs 250 Gems | Metsu Gatodouken | Shinku Gatodouken }}
Katkarot icon.png
  • Katkarot - Any Rarity.gif Can hatch in any rarity
  • Costs 250 Gems
  • Special Ability: Metsu Gatodouken or Shinku Gatodouken