Template:WeaponCard: Difference between revisions
Jump to navigation
Jump to search
m Hid description by default |
m Added more dynamic vars |
||
Line 7: | Line 7: | ||
|colspan="2" style="font-family:'Retail Demo'; |FALLOFF RANGE | |colspan="2" style="font-family:'Retail Demo'; |FALLOFF RANGE | ||
|- | |- | ||
|style="font-family:'Retail Demo Bold'; font-size:14px"|{{{ | |style="font-family:'Retail Demo Bold'; font-size:14px"|{{#invoke:HeroData|get_hero_var|{{{Hero|Abrams}}}|FalloffStartRange|2}}m - {{#invoke:HeroData|get_hero_var|{{{Hero|Abrams}}}|FalloffEndRange|2}}m | ||
|} | |} | ||
</div> | </div> | ||
</div> | </div> | ||
<div style="position:absolute; top:0px; right:5px; ><div style="position:relative; color:#FFEFD7; font-family:'Retail Demo Bold'; font-size:14px;">{{Icon/Brown|[[File:Damage.png|20px|link=Damage per second]]|{{{DPS| | <div style="position:absolute; top:0px; right:5px; ><div style="position:relative; color:#FFEFD7; font-family:'Retail Demo Bold'; font-size:14px;">{{Icon/Brown|[[File:Damage.png|20px|link=Damage per second]]|{{#invoke:HeroData|get_hero_var|{{{Hero|Abrams}}}|DPS|2}} DPS}}</div> </div> | ||
</div> | </div> | ||
|- | |- | ||
Line 26: | Line 26: | ||
|}} | |}} | ||
|} | |} | ||
{{#if:{{{ | {{#if:{{#invoke:HeroData|get_localized_var|{{{Hero|Abrams}}}|WeaponDescription}} | ||
|<tr></tr> | |<tr></tr> | ||
<td colspan="2" style="background-color:#4A3617; color:#FFEFD7; height:40px; font-family:'Retail Demo'; font-size:14px; text-align:left;"><span style="margin-left:10px;">{{{ | <td colspan="2" style="background-color:#4A3617; color:#FFEFD7; height:40px; font-family:'Retail Demo'; font-size:14px; text-align:left;"><span style="margin-left:10px;">{{#invoke:HeroData|get_localized_var|{{{Hero|Abrams}}}|WeaponDescription}}</span></td> | ||
|}} | |}} | ||
|} | |} | ||
</div></onlyinclude> | </div></onlyinclude> |