Template:PI: Difference between revisions

adjusted icon position
moved icon to the left
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><span style="z-index: +1;position:relative; bottom: 6px;left:16px;Font-family: 'Retail Demo Regular', 'PT Serif', 'Palatino', serif; font-size: {{{2|14px}}}; color: #FFEFD7;">[[Level#Boons from Patron|<span style="color: #FFEFD7;text-shadow: 1.5px 1.5px rgba(0, 0, 0, 0.6);font-weight:bold;background-color:rgba(33, 33, 29, 0.6); border-radius: 5px; padding: 2px 2px 0px 2px; margin-left: -17px;">+{{{1|}}}]]<span style="z-index: -1;opacity:0.7;position:relative; bottom:5px;left:-6px;">[[File:Boon icon.png|link=Level#Boons from Patron|20px]]</span></span></span></includeonly><noinclude>
<templatestyles src="PI/styles.css" /><includeonly>{{#if: {{{compact|}}}
{{Infobox hero
  | <span class="pi-compact" title="Boon scaling: +{{{1|}}} per Boon">[[File:Boon scaling.png|14px|link=]]{{#if: {{{show_value|}}}|<span class="pi-value">+{{{1|}}}</span>}}</span>
| key = hero_bebop
  | <span class="pi-wrapper" style="font-size: {{{2|14px}}};"><span class="pi-icon">[[File:Boon scaling.png|link=Boon|16px]]</span>[[Boon|<span class="pi-text">+{{{1|}}}</span>]]</span>
| weapon_name = Humble Pie
}}</includeonly><noinclude>{{Documentation}}</noinclude>
| art = Bebop full.png
| card = Bebop card.png
|has_max_range=true
|max_range= 32{{PI|2}}
| no_spirit_resist=true
|max_health = {{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|MaxHealth|3}}{{PI|41}}
|bullet_damage= {{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|BulletDamage|3}}{{PI|0.29}}
|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}}
|bullet_resist= {{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|BulletResist|3}}{{PI|1.25}}
|no_summary=true
}}
==Example==
<pre>123{{PI|12345}}m</pre>
Outputs: 123{{PI|12345}}m
<pre>123{{PI|12345|12px}}m</pre>
Outputs: 123{{PI|12345|12px}}m
 
</noinclude>