Changes

Template:Weapon Display

1,789 bytes added, 16:54, 12 October 2023
Created page with "<gallery heights=200px style="transform: rotate({{{rotation|0}}}deg)"> {{#ifexist File:{{{name}}}.png | File:{{{name}}}.png | {{{image|UNKNOWN IMAGE PLACEHOLDER}}} }} </ga..."
<gallery heights=200px style="transform: rotate({{{rotation|0}}}deg)">
{{#ifexist File:{{{name}}}.png
| File:{{{name}}}.png
| {{{image|UNKNOWN IMAGE PLACEHOLDER}}}
}}
</gallery>
{{#ifexist File:{{{name}}} Icon.png
| [[File:{{{name}}} Icon.png|35px]]
| [[{{{icon|File:Miscellaneous Enemy Icon.png}}}|35px]]
}} '''{{{name|Weapon Name?}}}'''<br>
{{#if {{{shot_types|}}}
| <sub>'''''Shot type:''' {{{shot_types}}}''</sub><br>
}}
<sub>'''''Acquired From:'''<br>{{{acquisition|Acquisition?}}}''</sub>
<noinclude>

===Parameters===
{| border="1"
|-
! Parameter !! Required !! Description
|-
| name || {{yes}} || The name of the weapon.
|-
| image || {{no}} || The image for the weapon.
|-
| rotation || {{no}} || How many degrees to rotate the weapon image display by.
|-
| icon || {{no}} || The icon for the weapon.
|-
| shot_types || {{no}} || Valid shot types for the weapon.
|-
| acquisition || {{yes}} || Acquisition for the weapon.
|}

===Example===
{| style="width:80%;"
! style="font-size:150%; width: 50%;" | Wiki Text
! style="font-size:150%; width: 50%;" | Result
|-
|<div style="display: flex; justify-content: center;"><!---
---><code style="display: table; white-space: pre-wrap;"><!---
---><nowiki>

{{Weapon Display
| name = Earth Guardian's Spear
| image = File:Earth Guardian's Spear.png
| icon = File:Earth Guradian's Spear Icon.png
| acquisition = Crystal Mine Chaos 8+
}}

</nowiki><!---
---></code>
</div>
|<div style="display: flex; justify-content: center;">
{{Weapon Display
| name = Earth Guardian's Spear
| image = File:Earth Guardian's Spear.png
| icon = File:Earth Guradian's Spear Icon.png
| acquisition = Crystal Mine Chaos 8+
}}
</div>
|}

</noinclude>
__NOEDITSECTION__
WikiDefender, bureaucrat, administrator
618
edits