Template:Item: Difference between revisions

114 bytes added ,  18:46, 8 October 2020
add ammodamagetypes
m (Inhaled is probably a friendlier word for this)
(add ammodamagetypes)
Line 115: Line 115:
<!-- Guns!-->
<!-- Guns!-->
<!--the ammo it needs. lead slugs, arrows, blood, etc. -->
<!--the ammo it needs. lead slugs, arrows, blood, etc. -->
{{#if: {{{ammodamagetypes|}}} | {{infobox row|Damage Type|{{consecutive links|{{{ammodamagetypes}}}|</br>}} }} }}
{{#if: {{{ammo|}}}    | {{infobox row|Ammo Type|{{consecutive links|{{{ammo}}}}} }} }}
{{#if: {{{ammo|}}}    | {{infobox row|Ammo Type|{{consecutive links|{{{ammo}}}}} }} }}
{{#if: {{{accuracy|}}}| {{infobox row|Accuracy|{{#switch: {{{accuracy|0}}}|0=Very High|1|2|3|4=High|5|6|7|8|9=Medium|10|11|12|13|14|15|16|17|18|19|20|21|22|23|24=Low|Very Low}} ({{{accuracy}}}) }} }}
{{#if: {{{accuracy|}}}| {{infobox row|Accuracy|{{#switch: {{{accuracy|0}}}|0=Very High|1|2|3|4=High|5|6|7|8|9=Medium|10|11|12|13|14|15|16|17|18|19|20|21|22|23|24=Low|Very Low}} ({{{accuracy}}}) }} }}