User:Sur: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Sur (talk | contribs)
m Undo revision 2917 by Sur (talk)
Tag: Undo
Sur (talk | contribs)
m placeholder voice actor, update history, last updated
 
(81 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
{{Quotation||'''{{{summary}}}'''<br>{{{description}}}}}
<div style="margin-left: 2em;">
<div style="margin-left: 2em;">
{| class="wikitable infobox" style="color: #FFEFD7; background-color: #2F2F2F; font-weight: bold"
<table class="wikitable infobox" style="color: #FFEFD7; background-color: #2F2F2F; font-weight: bold;">
! colspan="2" style="color: #FFEFD7; background-color: #2F2F2F" | {{{name}}}
  <tr>
|-
    <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;">
! colspan="2" style="padding:0px; background-color:#a79986" | [[File:{{{card}}}|200px]]
      <div style="display: flex; justify-content: space-between;">
|-
        <div style="width: 50px;"></div>
! colspan="2" style="background-color: #BE7B24; font-weight: bold; font-size: 16px" | Weapon
        <div class="infobox-hero-name">{{{name_localized}}}</div>
|-
        <div style="padding-left: 10px;">[[Image:{{{name_english}}}_MM.png|frameless|center|40px]]</div>
! style="color: #999999; background-color: #2F2F2F" | DPS
      </div>
| {{Icon/Brown|[[File:Damage.png|20px|link=Damage per second]]|{{{dps}}}}}
    </th>
|-
  </tr>
! style="color: #999999; background-color: #2F2F2F" | Bullet Damage
  <tr>
| {{Icon/Brown|[[File:Bullet damage.png|20px|link=Bullet Damage]]|{{{bullet_damage}}}}}
    <th colspan="2" style="padding:0px; background-color:#a79986;">[[File:{{{name_english}}} card.png|200px|alt={{{BASEPAGENAME}}}]]</th>
|-
  </tr>
! style="color: #999999; background-color: #2F2F2F" | Ammo
  <tr><td>Voice Actor</td><td>IDK</td></tr>
| {{Icon/Grey|[[File:Clip size icon.png|20px|link=Ammo]]|{{{ammo}}}}}
  <tr><td>Release Date</td><td>IDK</td></tr>
|-
  <tr><td>Last Updated</td><td>IDK</td></tr>
! style="color: #999999; background-color: #2F2F2F" | Bullets per sec
  <tr>
| {{Icon/Grey|[[File:Bullets per sec icon.png|20px|link=Fire Rate]]|{{{bullets_per_sec}}}}}
    <th colspan="2" style="background-color: #d5903f; font-weight: bold; font-size: 17px; font-family: 'Retail Demo', 'PT Serif','Palatino','Georgia',serif; font-weight: bold; text-shadow: 0px 2px 4px black, 1px 1px 2px black, 0px 0px 1px black; color:#FFEFD7; border-bottom: none">{{#invoke:AttributeData|localize_category|Weapon}}</th>
|-
  </tr>
! style="color: #999999; background-color: #2F2F2F" | Fire Rate
  {{#invoke: TableGenerator | generateHtmlTable | cols=2 | only_body=true | cell_values={{{weapon_values}}} }}
| {{Icon/Grey|[[File:Fire Rate.png|20px|link=Fire Rate]]|{{{fire_rate}}}}}
  <tr>
|-
    <th colspan="2" style="background-color: #74b01c; font-weight: bold; font-size: 17px; font-family: 'Retail Demo', 'PT Serif','Palatino','Georgia',serif; font-weight: bold; text-shadow: 0px 2px 4px black, 1px 1px 2px black, 0px 0px 1px black; color:#FFEFD7; border-bottom: none">{{#invoke:AttributeData|localize_category|Vitality}}</th>
! style="color: #999999; background-color: #2F2F2F" | Light Melee
  </tr>
| {{Icon/Brown|[[File:Melee damage.png|20px|link=Melee attack#Light]]|{{{light_melee}}}}}
  {{#invoke: TableGenerator | generateHtmlTable | cols=2 | only_body=true | cell_values={{{vitality_values}}} }}
|-
</table>
! style="color: #999999; background-color: #2F2F2F" | Heavy Melee
</div></includeonly><noinclude>
| {{Icon/Brown|[[File:Melee damage.png|20px|link=Melee attack#Heavy]]|{{{heavy_melee}}}}}
{{Documentation}}
|-
</noinclude>
! colspan="2" style="background-color: #7CBB1E; font-weight: bold; font-size: 16px" | Vitality
|-
! style="color: #999999; background-color: #2F2F2F" | Max Health
| {{Icon/Grey|[[File:Extra Health.png|20px|link=Health]]|{{{max_health}}}}}
|-
! style="color: #999999; background-color: #2F2F2F" | Health Regen
| {{Icon/Grey|[[File:Health regen.png|20px|link=Health Regen]]|{{{health_regen}}}}}
|-
! style="color: #999999; background-color: #2F2F2F" | Bullet Resist
| {{Icon/Grey|[[File:Bullet Armor.png|20px|link=Bullet Resist]]|{{{bullet_resist}}}%}}
|-
! style="color: #999999; background-color: #2F2F2F" | Spirit Resist
| {{Icon/Grey|[[File:Spirit Armor.png|20px|link=Spirit Resist]]|{{{spirit_resist}}}%}}
|-
! style="color: #999999; background-color: #2F2F2F" | Move Speed
| {{Icon/Grey|[[File:Move speed.png|20px|link=Move Speed]]|{{{move_speed}}} m/s}}
|-
! style="color: #999999; background-color: #2F2F2F" | Sprint Speed
| {{Icon/Grey|[[File:Move speed.png|20px|link=Move Speed]]|{{{sprint_speed}}} m/s}}
|-
! style="color: #999999; background-color: #2F2F2F" | Stamina
| {{Icon/Grey|[[File:Springy_boots_icon.png|20px|link=Stamina]]|{{{stamina}}}}}
|-
! colspan="2" style="text-align: center; font-size: 16px; font-weight: bold; background-color: #ED5D31" | Power Increases
|-
| colspan="2" style="text-align: center; font-weight: normal" | '''{{{increase1_value}}}''' {{{increase1_stat}}}
|-
| colspan="2" style="text-align: center; font-weight: normal" | '''{{{increase2_value}}}''' {{{increase2_stat}}}
|-
| colspan="2" style="text-align: center; font-weight: normal" | '''{{{increase3_value}}}''' {{{increase3_stat}}}
{{#if: {{{increase4_value}}} |
|-
| colspan="2" style="text-align: center; font-weight: normal" | '''{{{increase4_value}}}''' {{{increase4_stat}}}
}}{{#if: {{{increase5_value}}} |
|-
| colspan="2" style="text-align: center; font-weight: normal" | '''{{{increase5_value}}}''' {{{increase5_stat}}}
}}
|}
</div>
 
 
 
 
</includeonly><noinclude>{{User:Sur
| 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
| fire_rate      = 0% {{ss|0.25}}
| light_melee    = 63
| heavy_melee    = 116
| max_health      = 550
| health_regen    = 2
| bullet_resist  = 0
| spirit_resist  = 0
| move_speed      = 6 {{ss|0.04}}
| sprint_speed    = 0
| stamina        = 3
| increase1_value = 0.90
| increase1_stat  = Base Bullet Damage
| increase2_value = 1.46
| increase2_stat  = Base Melee Damage
| increase3_value = 3.4
| increase3_stat  = Base Health
| increase4_value = 27
}}</noinclude>

Latest revision as of 23:06, 23 October 2024

Documentation [view] [edit] [history] [purge]

Overview[edit | edit source]

Creates a summarized infobox for a given hero.

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}}}
Voice ActorIDK
Release DateIDK
Last UpdatedIDK
Weapon
DPS 70.1
Ammo 9
Bullets per sec 1.67
Reload Time 0.353s
Vitality
Max Health 570
Bullet Resist 0%
Spirit Resist 0%
Move Speed 6.8m/s

Parameters[edit | edit source]

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