Difference between revisions of "Template:Weapon Display"

From Dungeon Defenders 2 Wiki
Jump to: navigation, search
m
m
 
Line 39: Line 39:
 
|-
 
|-
 
|<code class="tempdoc-code-block"><nowiki>
 
|<code class="tempdoc-code-block"><nowiki>
{{Weapon Display
+
    {{Weapon Display
| name = Protean Staff
+
    | name = Protean Staff
| rotation = 40
+
    | rotation = 40
| note = Comes with Shrinkinator Unique Enemy Kill Animation
+
    | note = Comes with Shrinkinator Unique Enemy Kill Animation
| shot_types = Burst Shot
+
    | shot_types = Burst Shot
| acquisition = The Emporium for 250 gems
+
    | acquisition = The Emporium for 250 gems
}}
+
    }}
 
</nowiki></code>
 
</nowiki></code>
 
|
 
|
 
<div style="display:flex; justify-content: center;">
 
<div style="display:flex; justify-content: center;">
{{Weapon Display
+
    {{Weapon Display
| name = Protean Staff
+
    | name = Protean Staff
| rotation = 40
+
    | rotation = 40
| note = Comes with Shrinkinator Unique Enemy Kill Animation
+
    | note = Comes with Shrinkinator Unique Enemy Kill Animation
| shot_types = Burst Shot
+
    | shot_types = Burst Shot
| acquisition = The Emporium for 250 gems
+
    | acquisition = The Emporium for 250 gems
}}
+
    }}
 
</div>
 
</div>
 
 
|-
 
|-
 
|<code class="tempdoc-code-block"><nowiki>
 
|<code class="tempdoc-code-block"><nowiki>
{{Weapon Display
+
    {{Weapon Display
| name = Angelic Pavise
+
    | name = Angelic Pavise
}}
+
    }}
 
</nowiki></code>
 
</nowiki></code>
 
|
 
|
 
<div style="display:flex; justify-content: center;">
 
<div style="display:flex; justify-content: center;">
{{Weapon Display
+
    {{Weapon Display
| name = Angelic Pavise
+
    | name = Angelic Pavise
}}
+
    }}
 
</div>
 
</div>
 
|}
 
|}

Latest revision as of 14:28, 5 April 2025

Technical Details

  • If image and icon are not provided, they will be inferred from the name.

Parameters

Parameter Required Description Default
name TickGreen.png The name of the weapon. Weapon Name?
image CrossWhite.png The image for the weapon. File:{{{name}}}.png
image_size CrossWhite.png The dimensions for the image. 250x300px
rotation CrossWhite.png How many degrees to rotate the weapon image display by. 0
icon CrossWhite.png The icon for the weapon. File:{{{name}}} Icon.png
note CrossWhite.png Additional notes about the weapon. Nothing
shot_types CrossWhite.png Valid shot types for the weapon. Nothing
acquisition CrossWhite.png Acquisition for the weapon. "Standard Loot Drops"

Examples

Wiki Text Result
{{Weapon Display | name = Protean Staff | rotation = 40 | note = Comes with Shrinkinator Unique Enemy Kill Animation | shot_types = Burst Shot | acquisition = The Emporium for 250 gems }}
Protean Staff.pngProtean Staff Icon.png Protean Staff
Comes with Shrinkinator Unique Enemy Kill Animation
Shot types: Burst Shot
Acquired From:
The Emporium for 250 gems
{{Weapon Display | name = Angelic Pavise }}
Angelic Pavise.pngAngelic Pavise Icon.png Angelic Pavise
Acquired From:
Standard Loot Drops