Changes

Template:Weapon Display

112 bytes added, 17:31, 17 December 2023
Reverting changes
<includeonly>
{{#tag: gallery |
{{#ifexist: Fileif:{{{nameimage|}}} | {{{image}}}.png
| File:{{{name}}}.png
| {{{image|File:Unknown Weapon.png}}}
}}|heights = 200px | style = transform: rotate({{{rotation|0}}}deg)
}}
{{#ifexist: Fileif:{{{nameicon|}}} | [[{{{icon}}} Icon.png|35px]]
| [[File:{{{name}}} Icon.png|35px]]
| [[{{{icon|File:Miscellaneous Enemy Icon.png}}}|35px]]
}} '''{{{name|Weapon Name?}}}'''<br>
{{#if: {{{note|}}}
* '''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
WikiDefender, bureaucrat, administrator
617
edits