User:Sur: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Sur (talk | contribs)
Created page with "<includeonly> <includeonly><noinclude>{{Infobox hero | name = Grey Talon | art = Grey Talon full.png | card = Grey Talon card.png | summary = Delivers long range skill-shots | description = A cunning predator, Grey Talon uses a combination of deadly accuracy, traps, and clever positioning to bring down the toughest of opponents. | dps = 55 | bullet_damage = 22 | ammo = 17 | bullets_per_sec = 2.5 {{ss..."
 
Sur (talk | contribs)
m weapon name, description removed from infobox
 
(81 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
 
<div style="margin-left: 2em;">
<includeonly><noinclude>{{Infobox hero
<table class="wikitable infobox" style="color: #FFEFD7; background-color: #2F2F2F; font-weight: bold;">
| name            = Grey Talon
  <tr>
| art            = Grey Talon full.png
    <th colspan="2" style="color: #FFEFD7; background-color: #2F2F2F; font-size: 25px; font-family: 'PT Serif','Palatino','Georgia',serif; font-weight: bold; text-shadow: 0px 0px 4px black, 0px 0px 0px black, 0px 0px 0px black;">
| card            = Grey Talon card.png
      <div style="display: flex; justify-content: space-between;">
| summary         = Delivers long range skill-shots
        <div style="width: 50px;"></div>
| description     = A cunning predator, Grey Talon uses a combination of deadly accuracy, traps, and clever positioning to bring down the toughest of opponents.
         <div class="infobox-hero-name">{{{name_localized}}}</div>
| dps            = 55
        <div style="padding-left: 10px;">[[Image:{{{name_english}}}_MM.png|frameless|center|40px]]</div>
| bullet_damage   = 22
      </div>
| ammo            = 17
    </th>
| bullets_per_sec = 2.5 {{ss|0.00625}}
  </tr>
| light_melee    = 63
  <tr>
| heavy_melee    = 116
     <th colspan="2" style="padding:0px; background-color:#a79986;">[[File:{{{name_english}}} card.png|200px|alt={{{BASEPAGENAME}}}]]</th>
| max_health      = 550
   </tr>
| health_regen    = 2
  <tr>
| bullet_resist   = 0
    <th colspan="2" style="background-color: #d5903f; font-weight: bold; font-size: 16px; font-family: 'PT Serif','Palatino','Georgia',serif; font-weight: bold; text-shadow: 0px 0px 4px black, 0px 0px 0px black, 0px 0px 0px black; color:#FFEFD7; border-bottom: none;">{{#invoke:AttributeData|localize_category|Weapon}}</th>
| spirit_resist  = 0
  </tr>
| move_speed      = 6 {{ss|0.04}}
  {{#invoke: TableGenerator | generateHtmlTable | cols=2 | only_body=true | cell_values={{{weapon_values}}} }}
| sprint_speed    = 0
   <tr>
| stamina        = 3
    <th colspan="2" style="background-color: #74b01c; font-weight: bold; font-size: 16px; font-family: 'PT Serif','Palatino','Georgia',serif; font-weight: bold; text-shadow: 0px 0px 4px black, 0px 0px 0px black, 0px 0px 0px black; color:#FFEFD7; border-top: none;">{{#invoke:AttributeData|localize_category|Vitality}}</th>
| increase1_value = 0.90
  </tr>
| increase1_stat  = Base Bullet Damage
  {{#invoke: TableGenerator | generateHtmlTable | cols=2 | only_body=true | cell_values={{{vitality_values}}} }}
| increase2_value = 1.46
</table>
| increase2_stat  = Base Melee Damage
</div>
| increase3_value = 3.4
{{Quotation||<b>{{{role}}}</b><br>{{{playstyle}}}}}</includeonly><noinclude>
| increase3_stat  = Base Health
{{Documentation}}
| increase4_value = 27
</noinclude>
}}</noinclude>

Latest revision as of 18:02, 22 September 2024

Documentation [view] [edit] [purge]

Overview[edit | edit source]

Creates a summarized infobox for a given hero.

Also displays the hero's role and playstyle below.

Example[edit | edit source]

Recommended to use Module:HeroData's write_infobox function to generate this dynamically, for example

{{#invoke:HeroData|write_infobox|Abrams}}


Outputs


Abrams
{{{BASEPAGENAME}}}
Weapon
DPS 70.1
Ammo 9
Bullets per sec 1.67
Reload Time 0.353s
Vitality
Max Health 600
Bullet Resist 0%
Spirit Resist 0%
Move Speed 6.5m/s
Charges into close combat
Abrams has the bulk and sustain to lead from the front, often running into the middle of his foes and watching them scatter. If his enemies waste their fire on him, his backline teammates can lay out damage with impunity.

Parameters[edit | edit source]

Parameters are passed from Module:HeroData, see there for more documentation