User:Sur: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Sur (talk | contribs)
m parameters passed for weapon
Sur (talk | contribs)
m onlyBody > only_body and example2 via invoke
 
(37 intermediate revisions by the same user not shown)
Line 1: Line 1:
test
<includeonly>
<div style="margin-left: 2em;">
<table class="wikitable infobox" style="color: #FFEFD7; background-color: #2F2F2F; font-weight: bold;">
  <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;">
      <div style="display: flex; justify-content: space-between;">
        <div style="width: 50px;"></div>
        <div class="infobox-hero-name">{{{name|Abrams}}}</div>
        <div style="padding-left: 10px;">[[Image:{{{name|Abrams}}}_MM.png|frameless|center|40px]]</div>
      </div>
    </th>
  </tr>
  <tr>
    <th colspan="2" style="padding:0px; background-color:#a79986;">[[File:{{{Name}}} card.png|200px|alt={{{BASEPAGENAME}}}]]</th>
  </tr>
  <tr>
    <th colspan="2" style="color: #FFEFD7; background-color: #2F2F2F; font-size: 14px; font-family: 'PT Serif','Palatino','Georgia',serif; font-style: italic; text-shadow: 0px 0px 4px black, 0px 0px 0px black, 0px 0px 0px black;"><b>Summarized Base Stats</b></th>
  </tr>
  <tr>
    <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;">Weapon</th>
  </tr>
  <tr>
    <th colspan="2" style="background-color: #d5903f; font-weight: bold; font-size: 12px; font-family: 'PT Serif','Palatino','Georgia',serif; font-weight: bold; text-shadow: 0px 0px 3px black, 0px 0px 0px black, 0px 0px 0px black; color:#FFEFD7; border-top: none;">{{#if:{{{weapon_name}}}|''"{{{weapon_name|}}}"''}}</th>
  </tr>
  {{#invoke: TableGenerator | generateHtmlTable | cols=2 | only_body=true | cell_values={{{weapon_values}}} }}
  <tr>
    <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;">Vitality</th>
  </tr>
  <tr>
    <th style="color: #999999; background-color: #2F2F2F;">Health</th>
    <td>{{Icon/Grey|[[File:Extra Health.png|20px|link=Health]]|{{{MaxHealth}}}}}</td>
  </tr>
  <tr>
    <th style="color: #999999; background-color: #2F2F2F;">Bullet Resist</th>
    <td>{{Icon/Grey|[[File:Bullet Armor.png|20px|link=Bullet Resist]]|{{{BulletResist}}}%}}</td>
  </tr>
  <tr>
    <th style="color: #999999; background-color: #2F2F2F;">Spirit Resist</th>
    <td>{{Icon/Grey|[[File:Spirit Armor.png|20px|link=Spirit Resist]]|{{{SpiritResist}}}%}}</td>
  </tr>
  <tr>
    <th style="color: #999999; background-color: #2F2F2F;">Move Speed</th>
    <td>{{Icon/Grey|[[File:Move speed.png|20px|link=Move Speed]]|{{{MaxMoveSpeed}}} m/s}}</td>
  </tr>
</table>
</div>
{{Quotation||<b>{{{role}}}</b><br>{{{playstyle}}}}}<noinclude>{{Documentation}}</noinclude>


{{StatBox
</includeonly><noinclude>
|box_name=Weapon
 
|box_color=#d5903f
Example<br>
|stat_name1=WeaponDPS
The invoke will yield<br>
|stat_value1=7.79
|stat_name2=BulletDamage
|stat_value2=4.675
|stat_name3=ClipSize
|stat_value3=9
|stat_name4=RoundsPerSecond
|stat_value4=1.67
|stat_name5=LightMeleeDamage
|stat_value5=63
|stat_name6=HeavyMeleeDamage
|stat_value6=116
|stat_name7=BaseWeaponDamageIncrease
|stat_value7=0
|stat_name8=FireRate
|stat_value8=0
|stat_name9=ClipSizeIncrease
|stat_value9=0
|stat_name10=ReloadTime
|stat_value10=.3525
|stat_name11=ReloadSpeed
|stat_value11=1
|stat_name12=BulletSpeed
|stat_value12=?
|stat_name13=BulletSpeedIncrease
|stat_value13=0
|stat_name14=BulletLifesteal
|stat_value14=0
}}


{{StatBox
{{User:Sur
|box_name=Vitality
| name            = Abrams
|box_color=#74b01c
| role        = Charges into close combat
| playstyle    = 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 back-line teammates can lay out damage with impunity.
| weapon_name = Gun Name
| weapon_values = DPS, Icon 7.79, Ammo, Icon 14, Rounds per Second, Icon 1.167, Reload Time, Icon 0.353s
| vitality_values = Health, Icon 600, Bullet Resist, Icon 0%, Spirit Resist, Icon 0%, Move Speed, Icon 6.5m/s
}}
}}


{{StatBox
|box_name=Spirit
|box_color=#c288f0
}}


<span class="spirit-purple"> text </span>
Example2<br>
<span class="vitality-green"> text </span>
{{#invoke:HeroData|write_infobox|Abrams}}
<span class="weapon-orange"> text </span>
</noinclude>

Latest revision as of 18:36, 21 September 2024


Example
The invoke will yield


Abrams
[[File:{{{Name}}} card.png|200px|alt={{{BASEPAGENAME}}}]]
Summarized Base Stats
Weapon
"Gun Name"
DPS Icon 7.79
Ammo Icon 14
Rounds per Second Icon 1.167
Reload Time Icon 0.353s
Vitality
Health

{{{MaxHealth}}}

Bullet Resist

{{{BulletResist}}}%

Spirit Resist

{{{SpiritResist}}}%

Move Speed

{{{MaxMoveSpeed}}} m/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 back-line teammates can lay out damage with impunity.



Example2

Abrams
[[File:{{{Name}}} card.png|200px|alt={{{BASEPAGENAME}}}]]
Summarized Base Stats
Weapon
""
DPS 7.79
Ammo 9
Bullets per sec 1.67
Reload Time 0.353s
Vitality
Health

{{{MaxHealth}}}

Bullet Resist

{{{BulletResist}}}%

Spirit Resist

{{{SpiritResist}}}%

Move Speed

{{{MaxMoveSpeed}}} m/s

{{{role}}}
{{{playstyle}}}