Template:MHNowSkill: Difference between revisions

From MHWiki
No edit summary
(UGH.)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="display: grid; grid-template: 1fr 1fr / 40px 1fr 100px;">
<!-- Template:MHNowSkill -->
<div style="grid-area: 1 / 1 / 3 / 2; align-self: center;">[[File:MHNow-Skill Icon.png|30px]]</div>
<div style="display: grid; grid-template: 25px 1fr / 1fr 70px; align-contents: center;">
<div style="grid-area: 1 / 2;">{{{1|Attack Boost}}}</div>{{#if: {{{4|}}}
<div style="grid-area: 1 / 1; line-height: 1em;">{{{1|Attack Boost}}}</div>
|<div style="grid-area: 1 / 3; background-image: linear-gradient(to right, transparent,
{{#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}}  
40%); text-align: right;">Grade 2 <span style="float: right;">[[File:MHNow-Locked Skill Icon.png|20px|text-bottom]]</span></div>
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 / 2; align-self: center; gap: 3px;">
<div style="grid-area: 2 / 1 / 3 / 3;">{{MHNowSkillLevels|{{{2|1}}}|{{#expr: {{{3|5}}} - {{{2|1}}} }} }}</div>{{#if: {{{4|}}}
{{#for:{{{2|1}}}|<div style="display: inline-block; width: 15px; height: 4px; margin-right:4px; background-color: #FFB317;"></div>}}{{#for:{{#expr: {{{3|5}}} - {{{2|1}}} }}|<div style="display: inline-block; width: 15px; height: 4px; margin-right:4px;  background-color: #444444;"></div>}}
|<div style="grid-area: 2 / 2; text-align: right;">Lv. {{{2|1}}}</div>
 
</div>{{#if: {{{4|}}}
|<div style="grid-area: 2 / 3; text-align: right;">Lv. {{{2|1}}}</div>
|}}</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 of the Skill (not just on this armor piece)
  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