Template:FamilyBonus: Difference between revisions

From IdleOn MMO Wiki
mNo edit summary
mNo edit summary
 
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>
<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>
<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 Man Talent}}</b><br/><span class='valInput2'></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'/>
<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>

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.
}}