Template:ItemTemplate: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
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}}} }} }}

Revision as of 16:24, 14 July 2019

This template defines the table "Items". This table has not been created yet. Template:ItemTemplate/doc