Changes

Jump to: navigation, search

Template:Weapon Display

318 bytes added, 5 April
Adjusting image size to better accommodate different sized weapons
<includeonly><div style="text-align: center; flex: 0 0 25%"><!---
---><span style="transform: rotate({{{#tagrotation|0}}}deg); display: gallery |block;"><!--- --->[[ {{#if: {{{image|}}} | {{{image}}} | File:{{{name}}}.png }}|heights = 200px | style = transform: rotate({{{rotationimage_size|0250x300px}}}deg)]]<!--- }}---></span><!---
--->{{#if: {{{icon|}}} | [[{{{icon}}}|35px]] | [[File:{{{name}}} Icon.png|35px]]}} '''{{{name|Weapon Name?}}}'''<br><!---
--->{{#if: {{{note|}}} | <sub>''{{{note}}}''</sub><br>}}<!---
|-
| image || {{no}} || The image for the weapon. || File:{{{name}}}.png
|-
| image_size || {{no}} || The dimensions for the image. || 250x300px
|-
| rotation || {{no}} || How many degrees to rotate the weapon image display by. || 0
===Examples===
{| style="width:95%;" cellpadding="20"
! style="font-size:150%; width: 50%;" | Wiki Text
! style="font-size:150%; width: 50%;" | Result
| shot_types = Burst Shot
| acquisition = The Emporium for 250 gems
}}
</div>
|-
|<code class="tempdoc-code-block"><nowiki>
{{Weapon Display
| name = Angelic Pavise
}}
 
</nowiki></code>
|
<div style="display:flex; justify-content: center;">
{{Weapon Display
| name = Angelic Pavise
}}
</div>
WikiDefender, bureaucrat, administrator
725
edits

Navigation menu