Difference between revisions of "Template:Weapon Display"

From Dungeon Defenders 2 Wiki
Jump to: navigation, search
(Fixing mistake with if statements)
(Fixing mistake with example, part 1)
Line 45: Line 45:
 
             | name = Earth Guardian's Spear
 
             | name = Earth Guardian's Spear
 
             | image = File:Earth Guardian's Spear.png
 
             | image = File:Earth Guardian's Spear.png
             | icon = File:Earth Guradian's Spear Icon.png
+
             | icon = File:Earth Guardian's Spear Icon.jpg
 
             | acquisition = Crystal Mine Chaos 8+
 
             | acquisition = Crystal Mine Chaos 8+
 
             }}
 
             }}
Line 56: Line 56:
 
| name = Earth Guardian's Spear
 
| name = Earth Guardian's Spear
 
| image = File:Earth Guardian's Spear.png
 
| image = File:Earth Guardian's Spear.png
| icon = File:Earth Guradian's Spear Icon.png
+
| icon = File:Earth Guardian's Spear Icon.jpg
 
| acquisition = Crystal Mine Chaos 8+
 
| acquisition = Crystal Mine Chaos 8+
 
}}
 
}}

Revision as of 12:05, 12 October 2023

Miscellaneous Enemy Icon.png Weapon Name?

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 Guardian's Spear Icon.jpg | acquisition = Crystal Mine Chaos 8+ }}

35px Earth Guardian's Spear


Acquired From:
Crystal Mine Chaos 8+