Changes

Template:Weapon Display

404 bytes added, 17:31, 17 December 2023
Reverting changes
<includeonly>
{{#tag: gallery |
{{#ifexist: Fileif:{{{nameimage|}}} | {{{image}}}.png
| File:{{{name}}}.png
| {{{image|UNKNOWN IMAGE PLACEHOLDER}}}
}}|heights = 200px | style = transform: rotate({{{rotation|0}}}deg)
}}
{{#ifexist: Fileif:{{{nameicon|}}} | [[{{{icon}}} Icon.png|35px]]
| [[File:{{{name}}} Icon.png|35px]]
| [[}} '''{{{iconname|File:Miscellaneous Enemy Icon.pngWeapon Name?}}}'''<br>{{#if: {{{note|35px]]}} '} | <sub>''{{{name|Weapon Name?note}}}'''</sub><br>}}
{{#if: {{{shot_types|}}}
| <sub>'''''Shot typetypes:''' {{{shot_types}}}''</sub><br>
}}
<subclass="currency-included">'''''Acquired From:'''<br>{{{acquisition|Acquisition?Standard Loot Drops}}}''</sub><!--
--></includeonly><noinclude>
* '''This Template may not produce the desired output if not placed in a table with text align set to center. Refer to weapons pages such as [[Polearms]] for examples.'''<br>
* If '''image''' and '''icon''' are not provided, they will be inferred from the '''name'''.
** '''The automatic detection for image and icon will stop working after 50 uses of this template on a single page, due to limitations with the #ifexist function that this template uses.'''
===Parameters===
{| border="1"class="wikitable TemplateDocumentation"|-! Parameter !! Required !! Description !! Default
|-
! Parameter !! Required !! Description| name || {{yes}} || The name of the weapon. || Weapon Name?
|-
| name image || {{yesno}} || The name of image for the weapon.|| File:{{{name}}}.png
|-
| image rotation || {{no}} || The image for How many degrees to rotate the weaponimage display by.|| 0
|-
| rotation icon || {{no}} || How many degrees to rotate The icon for the weapon image display by.|| File:{{{name}}} Icon.png
|-
| icon note || {{no}} || The icon for Additional notes about the weapon.|| Nothing
|-
| shot_types || {{no}} || Valid shot types for the weapon.|| Nothing
|-
| acquisition || {{yesno}} || Acquisition for the weapon.|| "Standard Loot Drops"
|}
|
{{Weapon Display
| name = Earth Guardian's Spear | image = File:Earth Guardian's Spear.pngProtean Staff
| rotation = 40
| icon note = File:Earth Guardian's Spear Icon.jpg Comes with Shrinkinator Unique Enemy Kill Animation | shot_types = Burst Shot | acquisition = Crystal Mine Chaos 8+The Emporium for 250 gems
}}
|}
|
{{Weapon Display
| name = Earth Guardian's Spear| image = File:Earth Guardian's Spear.pngProtean Staff
| rotation = 40
| icon note = File:Earth Guardian's Spear Icon.jpgComes with Shrinkinator Unique Enemy Kill Animation| shot_types = Burst Shot| acquisition = Crystal Mine Chaos 8+The Emporium for 250 gems
}}
|}
WikiDefender, bureaucrat, administrator
617
edits