Template:FamilyBonus: Difference between revisions

From IdleOn MMO Wiki
mNo edit summary
No edit summary
Tag: Reverted
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}}' data-min='{{#switch:{{{tier|1}}}|1=9|2=29|3=69|4=129|0}}' data-max='9999'><div class="bonusHead">{{PAGENAME}} Family Bonus</div>
<b>Level:</b> <span class='valInput'></span>
<b>Level:</b> <span class='valInput'></span>
<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>

Revision as of 12:55, 7 April 2023

Example (Blood Berserker):

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