Template:MHNowSkill: Difference between revisions
From MHWiki
No edit summary |
(finally. it is done, although it did cost me the skill icon) |
||
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 / 1 / 3 / 3; gap: 3px;"> | |||
{{#for:{{{2|1}}} | |||
|<div style="display: inline-block; width: 10px; height: 4px; background-color: #FFB317;"></div> | |||
}} | |||
{{#for:{{#expr: {{{3|5}}} - {{{2|1}}} }} | |||
|<div style="display: inline-block; width: 10px; height: 4px; background-color: #444444;"></div> | |||
}} | }} | ||
</div>{{#if: {{{4|}}} | </div>{{#if: {{{4|}}} | ||
|<div style="grid-area: 2 / | |<div style="grid-area: 2 / 2; text-align: right;">Lv. {{{2|1}}}</div> | ||
|}}</div><noinclude> | |}}</div><noinclude> | ||
Line 23: | Line 28: | ||
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> |
Revision as of 09:56, 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