Template:FamilyBonus: Difference between revisions

From IdleOn MMO Wiki
No edit summary
Tag: Reverted
mNo edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><div class='familyBonusDiv bonusDiv' data-x1='{{{x1}}}' data-x2='{{{x2}}}' data-func='{{{form}}}' data-tier='{{#switch:{{{tier|1}}}|1=9|2=29|3=69|4=129|0}}'><div class="bonusHead">{{PAGENAME}} Family Bonus</div>
<includeonly><div class='familyBonusDiv bonusDiv' data-x1='{{{x1}}}' data-x2='{{{x2}}}' data-func='{{{form}}}' data-tier='{{#switch:{{{tier|1}}}|1=9|2=29|3=69|4=129|0}}'><div class="bonusHead">{{PAGENAME}} Family Bonus</div>
<b>Level:</b> <span class='valInput' data-min='{{#switch:{{{tier|1}}}|1=9|2=29|3=69|4=129|0}}'></span>
<p {{#if:{{{NoFamilyMan|}}}||style="float:left; width: 50%;"}}><b>{{Tooltip|Level of the highest leveled {{PAGENAME}} Character.|Class Level}}</b><br/><span class='valInput1'></span></p>
{{#if:{{{NoFamilyMan|}}}||<p style="float:right; width: 50%;"><b>{{Tooltip|Does not show in the UI. Only applies to the character if they are the one supplying the bonus.|Family Guy Talent}}</b><br/><span class='valInput2'></span></p>}}
<br clear='both'/>
<p>{{#replace:{{{textArr}}}|(Table 1)|<span class='result' style = 'color:#358510;font-weight:bold;'></span>}}</p>
<p>{{#replace:{{{textArr}}}|(Table 1)|<span class='result' style = 'color:#358510;font-weight:bold;'></span>}}</p>
</div></includeonly>
</div></includeonly>

Latest revision as of 18:19, 20 August 2024

Example (Blood Berserker):

{{FamilyBonus
|textArr=+(Table 1)% Total Damage
|form=decay
|x1=20
|x2=180
|tier=3      ← The 3rd unlocked class for that chain.
}}