User:Sur: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m vars snake case to no space pascal |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
< | <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> | |||
<tr> | |||
<th style="color: #999999; background-color: #2F2F2F;">DPS</th> | |||
<td>{{Icon/Brown|[[File:Damage.png|20px|link=Damage per second]]|{{{DPS}}}}}</td> | |||
</tr> | |||
<tr> | |||
<th style="color: #999999; background-color: #2F2F2F;">Ammo</th> | |||
<td>{{Icon/Grey|[[File:Clip size icon.png|20px|link=Ammo]]|{{{ClipBonus}}}}}</td> | |||
</tr> | |||
<tr> | |||
<th style="color: #999999; background-color: #2F2F2F;">Bullets per sec</th> | |||
<td>{{Icon/Grey|[[File:Bullets per sec icon.png|20px|link=Fire Rate]]|{{{RoundsPerSecond}}}}}</td> | |||
</tr> | |||
<tr> | |||
<th style="color: #999999; background-color: #2F2F2F;">Reload Time</th> | |||
<td>{{Icon/Grey|[[File:Reload Time.png|20px|link=Reload Speed]]|{{{ReloadTime}}}}}</td> | |||
</tr> | |||
<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> | |||
Example | </includeonly><noinclude> | ||
<!-- | |||
Example<br> | |||
{{User:Sur | {{User:Sur | ||
| name = Abrams | |||
== | | 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. | |||
| dps = 63 | |||
| bullet_damage = 4.68 | |||
| ammo = 9 | |||
| bullets_per_sec = 1.67 | |||
| max_health = 600 | |||
| bullet_resist = 0 | |||
| spirit_resist = 0 | |||
| move_speed = 6.5 | |||
| weapon_name = Case Closed | |||
}}--> | |||
< | |||
Example2<br> | |||
{{#invoke:HeroData|write_infobox|Abrams}} | |||
</noinclude> | |||
</ |
Latest revision as of 22:18, 20 September 2024
Example2
Attribute in infobox_attributes is not in Data:AttributeData