Template:MHNowArmorPiece: Difference between revisions
From MHWiki
No edit summary |
(Should work now with bonus features like skills and slots being optional) |
||
Line 13: | Line 13: | ||
! colspan=2 | Skills | ! colspan=2 | Skills | ||
|- | |- | ||
| colspan=2 | {{MHNowSkill|{{{skill1}}}|{{{lvl1}}}|{{{max1}}}|{{{unlock1}}}}} | | colspan=2 | {{#if: {{{skill1|}}} | ||
{{#if: {{{skill2|}}} | |{{MHNowSkill|{{{skill1}}}|{{{lvl1}}}|{{{max1}}}|{{{unlock1|}}}}} | ||
|<p style="width: 100%; text-align: center;">No Skills</p>}}{{#if: {{{skill2|}}} | |||
|<hr>{{MHNowSkill|{{{skill2}}}|{{{lvl2}}}|{{{max2}}}|{{{unlock2}}}}} | |<hr>{{MHNowSkill|{{{skill2}}}|{{{lvl2}}}|{{{max2}}}|{{{unlock2}}}}} | ||
|}} | |}}{{#if: {{{skill3|}}} | ||
{{#if: {{{skill3|}}} | |||
|<hr>{{MHNowSkill|{{{skill3}}}|{{{lvl3}}}|{{{max3}}}|{{{unlock3}}}}} | |<hr>{{MHNowSkill|{{{skill3}}}|{{{lvl3}}}|{{{max3}}}|{{{unlock3}}}}} | ||
|}} | |}} | ||
Line 23: | Line 23: | ||
! colspan=2 | Driftsmelt Slots | ! colspan=2 | Driftsmelt Slots | ||
|- | |- | ||
| colspan=2 | <div style="display: grid; grid-template: 1fr | | colspan=2 | {{#if: {{{drift1|}}} | ||
|<div style="display: grid; grid-template: 1fr 2fr / 65px {{#if:{{{drift2|}}}|65px|}}; justify-content: center; column-gap: 10px"> | |||
<div style="grid-area: 1 / 1; background-image: linear-gradient(to right, transparent, | <div style="grid-area: 1 / 1; background-image: linear-gradient(to right, transparent, | ||
{{#switch: {{{drift1|5}}} | {{#switch: {{{drift1|5}}} | ||
Line 32: | Line 33: | ||
| 6 = #fc6a6a | | 6 = #fc6a6a | ||
| #fc6a6a}} | | #fc6a6a}} | ||
20%); text-align: right; z-index: 2; font-size: 12px; color: white; height: 20px;">Grade {{{drift1|5}}} <span style="float: right;">[[File:MHNow-Locked Skill Icon.png|16px|text-bottom]]</span></div> | |||
<div style="grid-area: | <div style="grid-area: 2 / 1 / 3 / 2;">[[File:MHNow-Empty Skill Slot.png|40px|center]]</div> | ||
{{#if: {{{drift2|}}} | {{#if: {{{drift2|}}} | ||
|<div style="grid-area: 1 / 2; background-image: linear-gradient(to right, transparent, | |<div style="grid-area: 1 / 2; background-image: linear-gradient(to right, transparent, | ||
Line 43: | Line 44: | ||
| 6 = #fc6a6a | | 6 = #fc6a6a | ||
| #fc6a6a}} | | #fc6a6a}} | ||
20%); text-align: right; z-index: 2; font-size: 12px; color: white; height: 20px;">Grade {{{drift2}}} <span style="float: right;">[[File:MHNow-Locked Skill Icon.png|16px|text-bottom]]</span></div> | |||
<div style="grid-area: | <div style="grid-area: 2 / 2 / 3 / 3;">[[File:MHNow-Empty Skill Slot.png|40px|center]]</div> | ||
|}} | |}} | ||
</div> | </div> | ||
|<p style="width: 100%; text-align: center;">No Slots</p>}} | |||
|}<noinclude> | |}<noinclude> | ||
<pre><nowiki>{{MHNowArmorPiece|1|2|3|4|skill1=___|lvl1=___|max1=___|unlock1=___|(...)|drift1=___|drift2=___}}</nowiki> | <pre><nowiki>{{MHNowArmorPiece|1|2|3|4|skill1=___|lvl1=___|max1=___|unlock1=___|(...)|drift1=___|drift2=___}}</nowiki> | ||
Line 54: | Line 56: | ||
4 = Maximum defense of the piece when fully upgraded (not just Grade 10.1) | 4 = Maximum defense of the piece when fully upgraded (not just Grade 10.1) | ||
skill1 = Skill 1 Name | skill1 = (Optional) Skill 1 Name | ||
lvl1 = Skill 1 Active Level | lvl1 = (Optional) Skill 1 Active Level | ||
max1 = Skill 1 Max Level | max1 = (Optional) Skill 1 Max Level | ||
unlock1 = Skill 1 Unlock Grade | unlock1 = (Optional) Skill 1 Unlock Grade | ||
skill2 = (Optional) Skill 2 Name | skill2 = (Optional) Skill 2 Name | ||
Line 69: | Line 71: | ||
unlock3 = (Optional) Skill 3 Unlock Grade | unlock3 = (Optional) Skill 3 Unlock Grade | ||
drift1 = Driftsmelting Slot 1 Unlock Grade | drift1 = (Optional) Driftsmelting Slot 1 Unlock Grade | ||
drift2 = (Optional) Driftsmelting Slot 2 Unlock Grade | drift2 = (Optional) Driftsmelting Slot 2 Unlock Grade | ||
</pre></noinclude> | </pre></noinclude> |
Revision as of 10:28, 1 June 2024
{{{1}}} | |
---|---|
Forged at | Grade 1 |
Base File:MHNow-Defense Icon.png | 20 |
Max File:MHNow-Defense Icon.png | 197 |
Skills | |
No Skills | |
Driftsmelt Slots | |
No Slots |
{{MHNowArmorPiece|1|2|3|4|skill1=___|lvl1=___|max1=___|unlock1=___|(...)|drift1=___|drift2=___}} 1 = Name of the armor piece 2 = Initial grade the piece is forged at 3 = Initial defense of the piece when forged 4 = Maximum defense of the piece when fully upgraded (not just Grade 10.1) skill1 = (Optional) Skill 1 Name lvl1 = (Optional) Skill 1 Active Level max1 = (Optional) Skill 1 Max Level unlock1 = (Optional) Skill 1 Unlock Grade skill2 = (Optional) Skill 2 Name lvl2 = (Optional) Skill 2 Active Level max2 = (Optional) Skill 2 Max Level unlock2 = (Optional) Skill 2 Unlock Grade skill3 = (Optional) Skill 3 Name lvl3 = (Optional) Skill 3 Active Level max3 = (Optional) Skill 3 Max Level unlock3 = (Optional) Skill 3 Unlock Grade drift1 = (Optional) Driftsmelting Slot 1 Unlock Grade drift2 = (Optional) Driftsmelting Slot 2 Unlock Grade