User:Sur: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Sur (talk | contribs)
m onlyBody > only_body and example2 via invoke
Sur (talk | contribs)
m wep desc added
Line 21: Line 21:
   </tr>
   </tr>
   <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>
     <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}}}|<b><i>{{{weapon_name|}}}</i></b>}}</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_description}}}|<i>{{{weapon_description|}}}</i>}}</th>
   </tr>
   </tr>
   {{#invoke: TableGenerator | generateHtmlTable | cols=2 | only_body=true | cell_values={{{weapon_values}}} }}
   {{#invoke: TableGenerator | generateHtmlTable | cols=2 | only_body=true | cell_values={{{weapon_values}}} }}
Line 27: Line 30:
     <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>
     <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>
   <tr>
   {{#invoke: TableGenerator | generateHtmlTable | cols=2 | only_body=true | cell_values={{{vitality_values}}} }}
    <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>
</table>
</div>
</div>
Line 57: Line 45:
| 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.
| 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_name = Gun Name
| weapon_description = Gun Description
| weapon_values = DPS, Icon 7.79, Ammo, Icon 14, Rounds per Second, Icon 1.167, Reload Time, Icon 0.353s
| 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
| vitality_values = Health, Icon 600, Bullet Resist, Icon 0%, Spirit Resist, Icon 0%, Move Speed, Icon 6.5m/s
}}
}}


 
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
Example2<br>
Example2<br>
{{#invoke:HeroData|write_infobox|Abrams}}
{{#invoke:HeroData|write_infobox|Abrams}}
</noinclude>
</noinclude>

Revision as of 20:41, 21 September 2024


Example
The invoke will yield


Abrams
[[File:{{{Name}}} card.png|200px|alt={{{BASEPAGENAME}}}]]
Summarized Base Stats
Weapon
Gun Name
Gun Description
DPS Icon 7.79
Ammo Icon 14
Rounds per Second Icon 1.167
Reload Time Icon 0.353s
Vitality
Health Icon 600
Bullet Resist Icon 0%
Spirit Resist Icon 0%
Move Speed Icon 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 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
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.