Template:MHNowArmorPiece: Difference between revisions
From MHWiki
(WIP! Todo: Make the skill templates receive arguments, find a way to display driftsmelt slots) |
(I hope this is all correct) |
||
Line 13: | Line 13: | ||
! colspan=2 | Skills | ! colspan=2 | Skills | ||
|- | |- | ||
| colspan=2 | {{MHNowSkill| | | colspan=2 | {{MHNowSkill|{{{skill1}}}|{{{lvl1}}}|{{{max1}}}|{{{unlock1}}}}} | ||
<hr>{{MHNowSkill| | {{#if: {{{skill2|}}} | ||
<hr>{{MHNowSkill| | |<hr>{{MHNowSkill|{{{skill2}}}|{{{lvl2}}}|{{{max2}}}|{{{unlock2}}}}} | ||
|}} | |||
{{#if: {{{skill3|}}} | |||
|<hr>{{MHNowSkill|{{{skill3}}}|{{{lvl3}}}|{{{max3}}}|{{{unlock3}}}}} | |||
|}} | |||
|- | |- | ||
! colspan=2 | Driftsmelt Slots | ! colspan=2 | Driftsmelt Slots | ||
|- | |- | ||
| colspan=2 | < | | colspan=2 | <div style="display: grid; grid-template: 1fr 1fr / 100px {{#if:{{{drift2|}}}|100px|}}; justify-content: space-evenly;"> | ||
<div style="grid-area: 1 / 1; background-image: linear-gradient(to right, transparent, | |||
{{#switch: {{{drift1|5}}} | |||
| 2 = #49b955 | |||
| 3 = #4a8aca | |||
| 4 = #c36ae2 | |||
| 5 = #efb83a | |||
| 6 = #fc6a6a | |||
| #fc6a6a}} | |||
40%); text-align: right; z-index: 2; color: white;">Grade {{{drift1|5}}} <span style="float: right;">[[File:MHNow-Locked Skill Icon.png|20px|text-bottom]]</span></div> | |||
<div style="grid-area: 1 / 1 / 3 / 2;">[[File:MHNow-Empty Skill Slot.png|50px]]</div> | |||
{{#if: {{{drift2|}}} | |||
|<div style="grid-area: 1 / 2; background-image: linear-gradient(to right, transparent, | |||
{{#switch: {{{drift2}}} | |||
| 2 = #49b955 | |||
| 3 = #4a8aca | |||
| 4 = #c36ae2 | |||
| 5 = #efb83a | |||
| 6 = #fc6a6a | |||
| #fc6a6a}} | |||
40%); text-align: right; z-index: 2; color: white;">Grade {{{drift2}}} <span style="float: right;">[[File:MHNow-Locked Skill Icon.png|20px|text-bottom]]</span></div> | |||
<div style="grid-area: 1 / 2 / 3 / 3;">[[File:MHNow-Empty Skill Slot.png|50px]]</div> | |||
|}} | |||
</div> | |||
|}<noinclude> | |}<noinclude> | ||
<pre><nowiki>{{MHNowArmorPiece|1|2</nowiki> | <pre><nowiki>{{MHNowArmorPiece|1|2|3|4|skill1=___|lvl1=___</nowiki> | ||
1 = Name of the armor piece | 1 = Name of the armor piece | ||
2 = Initial grade the piece is forged at | 2 = Initial grade the piece is forged at | ||
Line 27: | Line 54: | ||
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 | |||
lvl1 = Skill 1 Active Level | |||
max1 = Skill 1 Max Level | |||
unlock1 = 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 = Driftsmelting Slot 1 Unlock Grade | |||
drift2 = (Optional) Driftsmelting Slot 2 Unlock Grade | |||
</pre></noinclude> | </pre></noinclude> |
Revision as of 00:20, 30 May 2024
{{{1}}} | |
---|---|
Forged at | Grade 1 |
Base File:MHNow-Defense Icon.png | 20 |
Max File:MHNow-Defense Icon.png | 197 |
Skills | |
| |
Driftsmelt Slots | |
{{MHNowArmorPiece|1|2|3|4|skill1=___|lvl1=___ 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 = Skill 1 Name lvl1 = Skill 1 Active Level max1 = Skill 1 Max Level unlock1 = 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 = Driftsmelting Slot 1 Unlock Grade drift2 = (Optional) Driftsmelting Slot 2 Unlock Grade