Template:Ss: Difference between revisions

mNo edit summary
LVL (talk | contribs)
Changed compact visuals
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly><span style=" z-index: +1;position:relative;left:1px; bottom: 7px;margin-left: -5px;Font-family: 'PT Serif', 'Palatino', 'Georgia', Serif; font-size: 14px; color: #E3BDFA;"><span style="position:relative;z-index: -1;opacity:0.7">[[File:Spirit scaling.png|link=Spirit Power#Spirit Power Scaling|{{{icon_size|25px}}}]]</span>[[Spirit Power#Spirit Power Scaling|<span style="color: #E3BDFA;text-shadow: 1.5px 1.5px rgba(0, 0, 0, 0.7);font-weight:bold;background-color: rgba(83, 54, 105, 0.8);border-radius: 5px; padding: 2px 2px 0px 2px; margin-left: -8px;">''x''{{{1|}}}]]</span></span></includeonly><noinclude>
<templatestyles src="Ss/styles.css" /><includeonly>{{#if: {{{compact|}}}
{{Infobox hero
  | <span class="ss-compact" title="Spirit scaling: x{{{1|}}}">[[File:Spirit scaling.png|link=|{{{icon_size|25px}}}]]{{#if: {{{show_value|}}}|<span class="ss-value">x{{{1|}}}</span>}}</span>
| key = hero_wraith
  | <span class="ss-wrapper" style="font-size: {{{2|14px}}};"><!--
| weapon_name = The Rake
--><span class="ss-icon">[[File:Spirit scaling.png|link=Spirit Power#Spirit Power Scaling|{{{icon_size|25px}}}]]</span><!--
| art = Wraith full.png
-->[[Spirit Power#Spirit Power Scaling|<span class="ss-text">''x''{{{1|}}}</span>]]</span>
| card = Wraith card.png
}}</includeonly><noinclude>{{Documentation}}</noinclude>
| no_bullet_resist=true
| no_spirit_resist=true
| sprint_speed = {{#invoke:HeroData|get_hero_var|hero_wraith|SprintSpeed|2}}{{ss|0.06}}<br>
|max_health = {{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|MaxHealth|3}}{{PI|31}}
|bullet_damage= {{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|BulletDamage|3}}{{PI|0.37}}
|light_melee= {{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|LightMeleeDamage|3}}{{PI|2.67}}
|heavy_melee= {{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|HeavyMeleeDamage|3}}{{PI|4.91}}
|no_summary=true
}}
==Example==
<pre>30{{ss|0.1234}}m</pre>
 
Outputs: 30{{ss|0.1234}}m
 
</noinclude>