Difference between revisions of "Template:Pet Info"
From Dungeon Defenders 2 Wiki
(Making the template no longer a table) |
m |
||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | [[{{{ 1 | {{{icon|File:Miscellaneous Enemy Icon.png}}} }}}|66px]] '''[[{{{ 2 | {{{name|Pet Name}}} }}}]]''' - | + | {| style="flex: 0 0 33%;" |
− | {{#switch: {{{ 3 | {{{rarity|}}} }}} | + | |[[{{{ 1 | {{{icon|File:Miscellaneous Enemy Icon.png}}} }}}|66px]] '''[[{{{ 2 | {{{name|Pet Name}}} }}}]]''' - <!--- |
− | | Powerful = <span style="color:#008000"> [[File:Powerful Icon.png|18px]] Powerful </span> | + | --->{{#switch: {{{ 3 | {{{rarity|}}} }}} |
− | | Epic = <span style="color:#3366ff"> [[File:Epic Icon.png|18px]] Epic </span> | + | | Powerful = <span style="color:#008000"> [[File:Powerful Icon.png|18px]] Powerful </span> |
− | | Mythical = <span style="color:#ff00ff"> [[File:Mythical Icon.png|18px]] Mythical </span> | + | | Epic = <span style="color:#3366ff"> [[File:Epic Icon.png|18px]] Epic </span> |
− | | Legendary = <span style="color:#FFF380"> [[File:Legendary Icon.png|18px]] Legendary </span> | + | | Mythical = <span style="color:#ff00ff"> [[File:Mythical Icon.png|18px]] Mythical </span> |
− | | #default = <span style="color:#808080"> [[File:Worn Icon.png|18px]] Rarity? </span> | + | | Legendary = <span style="color:#FFF380"> [[File:Legendary Icon.png|18px]] Legendary </span> |
− | }}<!-- | + | | #default = <span style="color:#808080"> [[File:Worn Icon.png|18px]] Rarity? </span> |
+ | }} | ||
+ | |}<!-- | ||
--><noinclude> | --><noinclude> | ||
Line 56: | Line 58: | ||
|} | |} | ||
+ | __NOEDITSECTION__ | ||
</noinclude> | </noinclude> | ||
− |
Latest revision as of 21:06, 13 December 2024
Pet Name - Rarity? |
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
}}
|
|