Template:FamilyBonus: Difference between revisions
From IdleOn MMO Wiki
Kiokurashi (talk | contribs) mNo edit summary |
mNo edit summary |
||
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly><div class='familyBonusDiv bonusDiv | <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=' | <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> | ||
<noinclude><!-- "Tier" values are based on the Tree progression level of the class. I.e. Class, Subclass, Elite, Master, ect.--><pre> | <noinclude><!-- "Tier" values are based on the Tree progression level of the class. I.e. Class, Subclass, Elite, Master, ect. The values they represent are gathered from the ClassAccountBonus function through a bit of deduction. | ||
{{ | the values for form, x1, and x2 are grabbed from the ClassFamilyBonuses function. -->Example (Blood Berserker):<pre> | ||
|textArr= | {{FamilyBonus | ||
|form= | |textArr=+(Table 1)% Total Damage | ||
|x1= | |form=decay | ||
|x2= | |x1=20 | ||
|x2=180 | |||
|tier=3 ← The 3rd unlocked class for that chain. | |||
}} | }} | ||
</pre></noinclude> | </pre></noinclude> |
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. }}