Template:MHNowSkill: Difference between revisions
From MHWiki
No edit summary |
(UGH.) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div style="display: grid; grid-template: | <!-- Template:MHNowSkill --> | ||
<div style="display: grid; grid-template: 25px 1fr / 1fr 70px; align-contents: center;"> | |||
<div style="grid-area: 1 / | <div style="grid-area: 1 / 1; line-height: 1em;">{{{1|Attack Boost}}}</div> | ||
|<div style="grid-area: 1 / | {{#if: {{{4|}}} | ||
|<div style="grid-area: 1 / 2; background-image: linear-gradient(to right, transparent, | |||
{{#switch: {{{4}}} | {{#switch: {{{4}}} | ||
| 2 = #49b955 | | 2 = #49b955 | ||
Line 10: | Line 11: | ||
| 6 = #fc6a6a | | 6 = #fc6a6a | ||
| #fc6a6a}} | | #fc6a6a}} | ||
20%); text-align: right; font-size: 12px; color: white; height: 20px;">Grade {{{4}}} <span style="float: right;">[[File:MHNow-Locked Skill Icon.png|16px|text-bottom]]</span></div> | |||
|<div style="grid-area: 1 / 3; text-align: right;">Lv. {{{2|1}}}</div> | |<div style="grid-area: 1 / 2 / 3 / 3; align-self: center; text-align: right;">Lv. {{{2|1}}}</div> | ||
}} | }} | ||
<div style="grid-area: 2 / | <div style="grid-area: 2 / 1 / 3 / 3;">{{MHNowSkillLevels|{{{2|1}}}|{{#expr: {{{3|5}}} - {{{2|1}}} }} }}</div>{{#if: {{{4|}}} | ||
{{ | |<div style="grid-area: 2 / 2; text-align: right;">Lv. {{{2|1}}}</div> | ||
</div>{{#if: {{{4|}}} | |||
|<div style="grid-area: 2 / | |||
|}}</div><noinclude> | |}}</div><noinclude> | ||
Line 23: | Line 21: | ||
1 = Skill Name | 1 = Skill Name | ||
2 = Active Skill Level | 2 = Active Skill Level | ||
3 = Max Level | 3 = Max Level the Skill Can Reach (not just on this armor piece) | ||
4 = (Optional) Grade at which the Skill is Unlocked</pre> | 4 = (Optional) Grade at which the Skill is Unlocked</pre> | ||
</noinclude> | </noinclude> |
Latest revision as of 12:59, 1 June 2024
Attack Boost
Lv. 1
{{MHNowSkill|1|2|3|(4)}} 1 = Skill Name 2 = Active Skill Level 3 = Max Level the Skill Can Reach (not just on this armor piece) 4 = (Optional) Grade at which the Skill is Unlocked