Jump to content
Toggle menu
  • 3.1K articles
  • 4.4K files
  • 18 users
  • 91.5K edits
Ashenzari's Archive
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Missile: Difference between revisions

Template page
imported>Cacophonie
The item inspection screen does in fact display a missile's damage now (at least, if it's a throwing missile)
imported>Cacophonie
Add a column for base and min delay, now that some missiles come with them.
Line 10: Line 10:
! align="left" | Base damage
! align="left" | Base damage
| {{{damage}}}
| {{{damage}}}
|-
! align="left" | [[Weapon_speed|Base delay]] (%)
| {{{basedelay}}} {{#set:Weapon base delay={{#invoke:String|first_word|{{{basedelay}}}}}}}
|-
! align="left" | [[Minimum_delay|Min delay]]
| {{{mindelay}}} {{#set:Weapon minimum delay={{#invoke:String|first_word|{{{mindelay}}}}}}}
|}</div><includeonly>[[Category:Missiles]]</includeonly><noinclude><br clear="both" />
|}</div><includeonly>[[Category:Missiles]]</includeonly><noinclude><br clear="both" />
Put this template at the top of every missile page. Call it like this:  
Put this template at the top of every missile page. Call it like this:  
Line 19: Line 25:
   |launcher3  = optional; see below
   |launcher3  = optional; see below
   |damage      =  
   |damage      =  
  |basedelay  =
  |mindelay    =
  <nowiki>}}</nowiki>
  <nowiki>}}</nowiki>



Revision as of 03:51, 1 July 2018

Name {{{name}}}
Launcher [[{{{launcher}}}]]
Base damage {{{damage}}}
Base delay (%) {{{basedelay}}} {{#set:Weapon base delay={{{basedelay}}}}}
Min delay {{{mindelay}}} {{#set:Weapon minimum delay={{{mindelay}}}}}


Put this template at the top of every missile page. Call it like this:

{{missile
 |name        = 
 |launcher    = 
 |launcher2   = optional; see below
 |launcher3   = optional; see below
 |damage      = 
 |basedelay   =
 |mindelay    =
}}

Use the name of the weapon, not the name of the skill, as the launcher (e.g. Bow, not Bows). The exception is for thrown missiles, which should have "throwing" (so the link works). For missiles with multiple launchers (stones with throwing and sling; and arrows with bow and longbow), specify the second or third launcher with launcher2 and launcher3. Note that launcher2 and launcher3 are included immediately after launcher (separated by a space), and that they are not linked automatically the way launcher is. Therefore you probably want something like:

|launcher  = throwing 
|launcher2 = / [[sling]] 
|launcher3 = / [[greatsling]]