Difference between revisions of "Template:Weapon Display"
From Dungeon Defenders 2 Wiki
(Adjusting image size to better accommodate different sized weapons) |
(Setting a uniform height for the span holding the image) |
||
| Line 1: | Line 1: | ||
<includeonly><div style="text-align: center; flex: 0 0 25%"><!--- | <includeonly><div style="text-align: center; flex: 0 0 25%"><!--- | ||
| − | ---><span style="transform: rotate({{{rotation|0}}}deg); display: block;"><!--- | + | ---><span style="transform: rotate({{{rotation|0}}}deg); display: block; height:300px;"><!--- |
--->[[ {{ #if: {{{image|}}} | {{{image}}} | File:{{{name}}}.png }} | {{{image_size|250x300px}}} ]]<!--- | --->[[ {{ #if: {{{image|}}} | {{{image}}} | File:{{{name}}}.png }} | {{{image_size|250x300px}}} ]]<!--- | ||
---></span><!--- | ---></span><!--- | ||
Revision as of 12:35, 5 April 2025
Technical Details
- If image and icon are not provided, they will be inferred from the name.
Parameters
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
}}
|
|
{{Weapon Display
| name = Angelic Pavise
}}
|

