Template:Scaling

From TheKolWiki
Jump to: navigation, search
{{Scaling}}
<table align="center" style="text-align:center"><tr><td style="line-height:1.5em">You gain ''({{{range}}} of {{#switch:{{{stat|?}}}|#default=<mainstat>|mus=[[Muscle]]|mys=[[Mysticality]]|mox=[[Moxie]]}})'' in {{#switch:{{{sub|?}}}|mus={{muscle}}|mys={{mysticality}}|mox={{moxie}}}}, capped at {{{cap}}}.</td></tr></table>

Usage

{{scaling|range=90%-110%|sub=mys|cap=300}}

You gain (90%-110% of <mainstat>) in Wizardliness, capped at 300.

{{scaling|stat=mox|range=50%-100%|sub=mox|cap=50}}

You gain (50%-100% of Moxie) in Chutzpah, capped at 50.