Difference between revisions of "Template:Level Scaling"
From LeikaRO wiki
(template for level scaling) |
m |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
− | <span class="explain" title=" 100 ~ 150 ~ 175 <nowiki>=></nowiki> {{#expr: 10000/{{{2}}} round | + | <span class="explain" title=" 100 ~ 150 ~ 175 <nowiki>=></nowiki> {{#expr: 10000/{{{2}}} round 1}}% ~ {{#expr: 15000/{{{2}}} round 1}}% ~ {{#expr: 17500/{{{2}}} round 1}}%">{{{1}}}</span> |
</includeonly> | </includeonly> | ||
+ | __NOTOC__ | ||
+ | This template is used to create a tooltip over a particular text that displays the level scaling of the skill. | ||
+ | |||
+ | ==Usage== | ||
+ | <pre>{{Level_Scaling|text|level}}</pre> | ||
+ | * '''text''' is the target text to be used. | ||
+ | * '''level''' is the level where the skill has a 100% mod | ||
+ | |||
+ | === Example === | ||
+ | {|class=wikitable | ||
+ | |<code><nowiki>{{Level_Scaling|Level Scaling of Crimson Rock|100}}</nowiki></code>||{{Level_Scaling|Level Scaling of Crimson Rock|100}} | ||
+ | |- | ||
+ | |<code><nowiki>{{Level_Scaling|Damage(ATK)|120}}</nowiki></code>||{{Level_Scaling|Damage(ATK)|120}} | ||
+ | |} | ||
+ | |||
+ | ===Notes=== | ||
+ | *Using some characters like a quotation mark (") or an equal mark (=) in the ''''level'''' parameter (the hidden text) will cause the template to display incorrectly. To display these characters, use the {{plainlink|url=http://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references html entity}} quot (i.e. write ''& quot ;'' without the spaces) or alternatively put the second parameter in <code><nowiki><nowiki></nowiki></code> tags. | ||
+ | |||
+ | [[Category:Templates]] | ||
+ | </noinclude> |
Revision as of 20:09, 19 January 2017
This template is used to create a tooltip over a particular text that displays the level scaling of the skill.
Usage
{{Level_Scaling|text|level}}
- text is the target text to be used.
- level is the level where the skill has a 100% mod
Example
{{Level_Scaling|Level Scaling of Crimson Rock|100}} |
Level Scaling of Crimson Rock
|
{{Level_Scaling|Damage(ATK)|120}} |
Damage(ATK)
|
Notes
- Using some characters like a quotation mark (") or an equal mark (=) in the 'level' parameter (the hidden text) will cause the template to display incorrectly. To display these characters, use the html entity quot (i.e. write & quot ; without the spaces) or alternatively put the second parameter in
<nowiki>
tags.