Template:Weapon Display

From Dungeon Defenders 2 Wiki
Revision as of 11:54, 12 October 2023 by Hywell (talk | contribs) (Created page with "<gallery heights=200px style="transform: rotate({{{rotation|0}}}deg)"> {{#ifexist File:{{{name}}}.png | File:{{{name}}}.png | {{{image|UNKNOWN IMAGE PLACEHOLDER}}} }} </ga...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

{{#ifexist File:{{{name}}} Icon.png

 | [[File:{{{name}}} Icon.png|35px]]
 | Miscellaneous Enemy Icon.png

}} Weapon Name?
{{#if

 | Shot type: {{{shot_types}}}

}} Acquired From:
Acquisition?


Parameters

Parameter Required Description
name TickGreen.png The name of the weapon.
image CrossWhite.png The image for the weapon.
rotation CrossWhite.png How many degrees to rotate the weapon image display by.
icon CrossWhite.png The icon for the weapon.
shot_types CrossWhite.png Valid shot types for the weapon.
acquisition TickGreen.png Acquisition for the weapon.

Example

Wiki Text Result
{{Weapon Display | name = Earth Guardian's Spear | image = File:Earth Guardian's Spear.png | icon = File:Earth Guradian's Spear Icon.png | acquisition = Crystal Mine Chaos 8+ }}

35px Earth Guardian's Spear


Acquired From:
Crystal Mine Chaos 8+