Template:ItemTemplate: Difference between revisions

added weapon accuracy template
mNo edit summary
(added weapon accuracy template)
Line 27: Line 27:
<!--the ammo it needs. lead slugs, arrows, blood, etc. -->
<!--the ammo it needs. lead slugs, arrows, blood, etc. -->
{{#if: {{{ammo|}}}    | {{infobox row|Ammo Type|{{{ammo}}} }} }}
{{#if: {{{ammo|}}}    | {{infobox row|Ammo Type|{{{ammo}}} }} }}
{{#if: {{{accuracy|}}}| {{infobox row|Accuracy|{{{accuracy}}} }} }}
{{#if: {{{accuracy|}}}| {{infobox row|Accuracy|{{weapon accuracy|{{{accuracy}}}}}({{{accuracy}}}) }} }}
{{#if: {{{shots|}}}  | {{infobox row|Shots per Action|{{{shots}}} }} }}
{{#if: {{{shots|}}}  | {{infobox row|Shots per Action|{{{shots}}} }} }}
{{#if: {{{maxammo|}}} | {{infobox row|Max Ammo|{{{maxammo}}} }} }}
{{#if: {{{maxammo|}}} | {{infobox row|Max Ammo|{{{maxammo}}} }} }}