Difference between revisions of "Template:Weapon Display"
From Dungeon Defenders 2 Wiki
(Adjusting image size to better accommodate different sized weapons) |
m |
||
| (4 intermediate revisions by the same user not shown) | |||
| 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: | + | ---><span style="transform: rotate({{{rotation|0}}}deg); display: flex; justify-content: center; align-items: center; height:300px;"><!--- |
--->[[ {{ #if: {{{image|}}} | {{{image}}} | File:{{{name}}}.png }} | {{{image_size|250x300px}}} ]]<!--- | --->[[ {{ #if: {{{image|}}} | {{{image}}} | File:{{{name}}}.png }} | {{{image_size|250x300px}}} ]]<!--- | ||
---></span><!--- | ---></span><!--- | ||
| Line 7: | Line 7: | ||
--->{{#if: {{{shot_types|}}} | <sub>'''''Shot types:''' {{{shot_types}}}''</sub><br>}}<!--- | --->{{#if: {{{shot_types|}}} | <sub>'''''Shot types:''' {{{shot_types}}}''</sub><br>}}<!--- | ||
---><sub class="currency-included">'''''Acquired From:'''<br>{{{acquisition|Standard Loot Drops}}}''</sub> | ---><sub class="currency-included">'''''Acquired From:'''<br>{{{acquisition|Standard Loot Drops}}}''</sub> | ||
| − | </div></includeonly><noinclude> | + | </div></includeonly><noinclude> |
| − | + | ===Technical Details=== | |
| − | |||
* If '''image''' and '''icon''' are not provided, they will be inferred from the '''name'''. | * If '''image''' and '''icon''' are not provided, they will be inferred from the '''name'''. | ||
| Line 40: | 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
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
}}
|

