Difference between revisions of "Template:Infobox weapon"
Jump to navigation
Jump to search
m (Minor changes) |
|||
(One intermediate revision by the same user not shown) | |||
Line 111: | Line 111: | ||
| weapontags = {{{weapontags|}}} | | weapontags = {{{weapontags|}}} | ||
| tradetags = {{{tradetags|}}} | | tradetags = {{{tradetags|}}} | ||
+ | <!-- Technical --> | ||
+ | | graphicaltexpath = {{{graphicaltexpath|}}} | ||
+ | | soundeffect = {{{soundeffect|}}} | ||
}}<!-- }}don't forget me! --><!-- | }}<!-- }}don't forget me! --><!-- | ||
=== #vardefine to use variables outside the infobox === | === #vardefine to use variables outside the infobox === | ||
Line 165: | Line 168: | ||
{{#if: {{{burstshotcount|}}} | {{!}} <div>Projectiles</div> {{!!}} {{{burstshotcount}}} per burst }} | {{#if: {{{burstshotcount|}}} | {{!}} <div>Projectiles</div> {{!!}} {{{burstshotcount}}} per burst }} | ||
|- | |- | ||
− | {{#if: {{{burstshotinterval|}}} | {{!}} <div>Interval</div> {{!!}} {{#expr:{{{burstshotinterval}}}/60 round | + | {{#if: {{{burstshotinterval|}}} | {{!}} <div>Interval</div> {{!!}} {{#expr:{{{burstshotinterval}}}/60 round 2}} seconds ({{#expr:3600/{{{burstshotinterval}}} round 0 }} rpm) }} |
|- | |- | ||
{{#if: {{{movespeedoffset|}}} | {{!}} <div>Move speed</div> {{!!}} {{{movespeedoffset}}} tiles/second }} | {{#if: {{{movespeedoffset|}}} | {{!}} <div>Move speed</div> {{!!}} {{{movespeedoffset}}} tiles/second }} |
Latest revision as of 18:52, 4 August 2019
This template defines the table "Weapon". This table has not been created yet.
Usage[edit]
{{Infobox weapon | name = | defname = | image = | description = | description_markup = | type = | subtype = <!-- General --> | marketvalue = | techlevel = | mass = | sellpricefactor = | maxhitpoints = | flammability = | deteriorationrate = | beauty = | weapon_range = | damageamount = <!-- Weapon (statbases) --> | accuracytouch = | accuracyshort = | accuracymedium = | accuracylong = | warmup = | cooldown = | burstshotcount = | burstshotinterval = | movespeedoffset = | forcedmissradius = | targetlocations = <!-- Projectile --> | damagedef = | stoppingpower = | armorpenetration = | speed = | explosionradius = | explosiondelay = <!-- Crafting --> | worktomake = | workspeedstat = | workskill = | crafting_req = | stuffcategories = | disallowedmaterial = | recipeusers = | researchprereq = <!-- Other --> | weapontags = | tradetags = <!-- Technical --> | graphicaltexpath = | soundeffect = }}
The above documentation is transcluded from Template:Infobox weapon/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |