Template:SkillLevelsInfoBox: Difference between revisions
From Ymirheim Wiki
m (Protected "Template:SkillLevelsInfoBox" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><templatestyles src="Template:SkillLevelsInfoBox/styles.css"/><!-- | <includeonly><templatestyles src="Template:SkillLevelsInfoBox/styles.css"/><!-- | ||
--><div class="skill-levels-infobox"><!-- | --><div class="skill-levels-infobox infobox-wrapper"><!-- | ||
--><div class="level-infoboxes"><!-- | --><div class="level-infoboxes"><!-- | ||
--><div class="level-infobox" data-level="1"><!-- | --><div class="level-infobox" data-level="1"><!-- | ||
-->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} > 1| <div class="next-level" title="Next Level">Next Level ▶</div> }}<!-- | -->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} > 1| <div class="next-level" title="<translate nowrap><!--T:1--> Next Level</translate>"><translate nowrap><!--T:2--> Next Level</translate> ▶</div> }}<!-- | ||
-->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} >= 1| {{SkillInfoBox|{{#expr:{{{1}}} - floor({{{1}}} mod 100) + 1 }}}} }}</div><!-- | -->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} >= 1| {{SkillInfoBox|{{#expr:{{{1}}} - floor({{{1}}} mod 100) + 1 }}}} }}</div><!-- | ||
--><div class="level-infobox" data-level="2"><!-- | --><div class="level-infobox" data-level="2"><!-- | ||
--><div class="prev-level" title="Previous Level">◀ Prev. Level</div><!-- | --><div class="prev-level" title="<translate nowrap><!--T:3--> Previous Level</translate>">◀ <translate nowrap><!--T:4--> Prev. Level</translate></div><!-- | ||
-->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} > 2| <div class="next-level" title="Next Level">Next Level ▶</div> }}<!-- | -->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} > 2| <div class="next-level" title="<translate nowrap><!--T:5--> Next Level</translate>"><translate nowrap><!--T:6--> Next Level</translate> ▶</div> }}<!-- | ||
-->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} >= 2| {{SkillInfoBox|{{#expr:{{{1}}} - floor({{{1}}} mod 100) + 2 }}}} }}</div><!-- | -->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} >= 2| {{SkillInfoBox|{{#expr:{{{1}}} - floor({{{1}}} mod 100) + 2 }}}} }}</div><!-- | ||
--><div class="level-infobox" data-level="3"><!-- | --><div class="level-infobox" data-level="3"><!-- | ||
--><div class="prev-level" title="Previous Level">◀ Prev. Level</div><!-- | --><div class="prev-level" title="<translate nowrap><!--T:7--> Previous Level</translate>">◀ <translate nowrap><!--T:8--> Prev. Level</translate></div><!-- | ||
-->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} > 3| <div class="next-level" title="Next Level">Next Level ▶</div> }}<!-- | -->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} > 3| <div class="next-level" title="<translate nowrap><!--T:9--> Next Level</translate>"><translate nowrap><!--T:10--> Next Level</translate> ▶</div> }}<!-- | ||
-->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} >= 3| {{SkillInfoBox|{{#expr:{{{1}}} - floor({{{1}}} mod 100) + 3 }}}} }}</div><!-- | -->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} >= 3| {{SkillInfoBox|{{#expr:{{{1}}} - floor({{{1}}} mod 100) + 3 }}}} }}</div><!-- | ||
--><div class="level-infobox" data-level="4"><!-- | --><div class="level-infobox" data-level="4"><!-- | ||
--><div class="prev-level" title="Previous Level">◀ Prev. Level</div><!-- | --><div class="prev-level" title="<translate nowrap><!--T:11--> Previous Level</translate>">◀ <translate nowrap><!--T:12--> Prev. Level</translate></div><!-- | ||
-->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} > 4| <div class="next-level" title="Next Level">Next Level ▶</div> }}<!-- | -->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} > 4| <div class="next-level" title="<translate nowrap><!--T:13--> Next Level</translate>"><translate nowrap><!--T:14--> Next Level</translate> ▶</div> }}<!-- | ||
-->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} >= 4| {{SkillInfoBox|{{#expr:{{{1}}} - floor({{{1}}} mod 100) + 4 }}}} }}</div><!-- | -->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} >= 4| {{SkillInfoBox|{{#expr:{{{1}}} - floor({{{1}}} mod 100) + 4 }}}} }}</div><!-- | ||
--><div class="level-infobox" data-level="5"><!-- | --><div class="level-infobox" data-level="5"><!-- | ||
--><div class="prev-level" title="Previous Level">◀ Prev. Level</div><!-- | --><div class="prev-level" title="<translate nowrap><!--T:15--> Previous Level</translate>">◀ <translate nowrap><!--T:16--> Prev. Level</translate></div><!-- | ||
-->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} > 5| <div class="next-level" title="Next Level">Next Level ▶</div> }}<!-- | -->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} > 5| <div class="next-level" title="<translate nowrap><!--T:17--> Next Level</translate>"><translate nowrap><!--T:18--> Next Level</translate> ▶</div> }}<!-- | ||
-->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} >= 5| {{SkillInfoBox|{{#expr:{{{1}}} - floor({{{1}}} mod 100) + 5 }}}} }}</div><!-- | -->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} >= 5| {{SkillInfoBox|{{#expr:{{{1}}} - floor({{{1}}} mod 100) + 5 }}}} }}</div><!-- | ||
--><div class="level-infobox" data-level="6"><!-- | --><div class="level-infobox" data-level="6"><!-- | ||
--><div class="prev-level" title="Previous Level">◀ Prev. Level</div><!-- | --><div class="prev-level" title="<translate nowrap><!--T:19--> Previous Level</translate>">◀ <translate nowrap><!--T:20--> Prev. Level</translate></div><!-- | ||
-->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} > 6| <div class="next-level" title="Next Level">Next Level ▶</div> }}<!-- | -->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} > 6| <div class="next-level" title="<translate nowrap><!--T:21--> Next Level</translate>"><translate nowrap><!--T:22--> Next Level</translate> ▶</div> }}<!-- | ||
-->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} >= 6| {{SkillInfoBox|{{#expr:{{{1}}} - floor({{{1}}} mod 100) + 6 }}}} }}</div><!-- | -->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} >= 6| {{SkillInfoBox|{{#expr:{{{1}}} - floor({{{1}}} mod 100) + 6 }}}} }}</div><!-- | ||
--><div class="level-infobox" data-level="7"><!-- | --><div class="level-infobox" data-level="7"><!-- | ||
--><div class="prev-level" title="Previous Level">◀ Prev. Level</div><!-- | --><div class="prev-level" title="<translate nowrap><!--T:23--> Previous Level</translate>">◀ <translate nowrap><!--T:24--> Prev. Level</translate></div><!-- | ||
-->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} > 7| <div class="next-level" title="Next Level">Next Level ▶</div> }}<!-- | -->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} > 7| <div class="next-level" title="<translate nowrap><!--T:25--> Next Level</translate>"><translate nowrap><!--T:26--> Next Level</translate> ▶</div> }}<!-- | ||
-->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} >= 7| {{SkillInfoBox|{{#expr:{{{1}}} - floor({{{1}}} mod 100) + 7 }}}} }}</div><!-- | -->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} >= 7| {{SkillInfoBox|{{#expr:{{{1}}} - floor({{{1}}} mod 100) + 7 }}}} }}</div><!-- | ||
--><div class="level-infobox" data-level="8"><!-- | --><div class="level-infobox" data-level="8"><!-- | ||
--><div class="prev-level" title="Previous Level">◀ Prev. Level</div><!-- | --><div class="prev-level" title="<translate nowrap><!--T:27--> Previous Level</translate>">◀ <translate nowrap><!--T:28--> Prev. Level</translate></div><!-- | ||
-->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} > 8| <div class="next-level" title="Next Level">Next Level ▶</div> }}<!-- | -->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} > 8| <div class="next-level" title="<translate nowrap><!--T:29--> Next Level</translate>"><translate nowrap><!--T:30--> Next Level</translate> ▶</div> }}<!-- | ||
-->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} >= 8| {{SkillInfoBox|{{#expr:{{{1}}} - floor({{{1}}} mod 100) + 8 }}}} }}</div><!-- | -->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} >= 8| {{SkillInfoBox|{{#expr:{{{1}}} - floor({{{1}}} mod 100) + 8 }}}} }}</div><!-- | ||
--><div class="level-infobox" data-level="9"><!-- | --><div class="level-infobox" data-level="9"><!-- | ||
--><div class="prev-level" title="Previous Level">◀ Prev. Level</div><!-- | --><div class="prev-level" title="<translate nowrap><!--T:31--> Previous Level</translate>">◀ <translate nowrap><!--T:32--> Prev. Level</translate></div><!-- | ||
-->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} > 9| <div class="next-level" title="Next Level">Next Level ▶</div> }}<!-- | -->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} > 9| <div class="next-level" title="<translate nowrap><!--T:33--> Next Level</translate>"><translate nowrap><!--T:34--> Next Level</translate> ▶</div> }}<!-- | ||
-->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} >= 9| {{SkillInfoBox|{{#expr:{{{1}}} - floor({{{1}}} mod 100) + 9 }}}} }}</div><!-- | -->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} >= 9| {{SkillInfoBox|{{#expr:{{{1}}} - floor({{{1}}} mod 100) + 9 }}}} }}</div><!-- | ||
--><div class="level-infobox" data-level="10"><!-- | --><div class="level-infobox" data-level="10"><!-- | ||
--><div class="prev-level" title="Previous Level">◀ Prev. Level</div><!-- | --><div class="prev-level" title="<translate nowrap><!--T:35--> Previous Level</translate>">◀ <translate nowrap><!--T:36--> Prev. Level</translate></div><!-- | ||
-->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} > 10| <div class="next-level" title="Next Level">Next Level ▶</div> }}<!-- | -->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} > 10| <div class="next-level" title="<translate nowrap><!--T:37--> Next Level</translate>"><translate nowrap><!--T:38--> Next Level</translate> ▶</div> }}<!-- | ||
-->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} >= 10| {{SkillInfoBox|{{#expr:{{{1}}} - floor({{{1}}} mod 100) + 10 }}}} }}</div><!-- | -->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} >= 10| {{SkillInfoBox|{{#expr:{{{1}}} - floor({{{1}}} mod 100) + 10 }}}} }}</div><!-- | ||
--><div class="level-infobox" data-level="11"><!-- | --><div class="level-infobox" data-level="11"><!-- | ||
--><div class="prev-level" title="Previous Level">◀ Prev. Level</div><!-- | --><div class="prev-level" title="<translate nowrap><!--T:39--> Previous Level</translate>">◀ <translate nowrap><!--T:40--> Prev. Level</translate></div><!-- | ||
-->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} > 11| <div class="next-level" title="Next Level">Next Level ▶</div> }}<!-- | -->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} > 11| <div class="next-level" title="<translate nowrap><!--T:41--> Next Level</translate>"><translate nowrap><!--T:42--> Next Level</translate> ▶</div> }}<!-- | ||
-->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} >= 11| {{SkillInfoBox|{{#expr:{{{1}}} - floor({{{1}}} mod 100) + 11 }}}} }}</div><!-- | -->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} >= 11| {{SkillInfoBox|{{#expr:{{{1}}} - floor({{{1}}} mod 100) + 11 }}}} }}</div><!-- | ||
--><div class="level-infobox" data-level="12"><!-- | --><div class="level-infobox" data-level="12"><!-- | ||
--><div class="prev-level" title="Previous Level">◀ Prev. Level</div><!-- | --><div class="prev-level" title="<translate nowrap><!--T:43--> Previous Level</translate>">◀ <translate nowrap><!--T:44--> Prev. Level</translate></div><!-- | ||
-->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} > 12| <div class="next-level" title="Next Level">Next Level ▶</div> }}<!-- | -->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} > 12| <div class="next-level" title="<translate nowrap><!--T:45--> Next Level</translate>"><translate nowrap><!--T:46--> Next Level</translate> ▶</div> }}<!-- | ||
-->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} >= 12| {{SkillInfoBox|{{#expr:{{{1}}} - floor({{{1}}} mod 100) + 12 }}}} }}</div><!-- | -->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} >= 12| {{SkillInfoBox|{{#expr:{{{1}}} - floor({{{1}}} mod 100) + 12 }}}} }}</div><!-- | ||
--><div class="level-infobox" data-level="13"><!-- | --><div class="level-infobox" data-level="13"><!-- | ||
--><div class="prev-level" title="Previous Level">◀ Prev. Level</div><!-- | --><div class="prev-level" title="<translate nowrap><!--T:47--> Previous Level</translate>">◀ <translate nowrap><!--T:48--> Prev. Level</translate></div><!-- | ||
-->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} > 13| <div class="next-level" title="Next Level">Next Level ▶</div> }}<!-- | -->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} > 13| <div class="next-level" title="<translate nowrap><!--T:49--> Next Level</translate>"><translate nowrap><!--T:50--> Next Level</translate> ▶</div> }}<!-- | ||
-->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} >= 13| {{SkillInfoBox|{{#expr:{{{1}}} - floor({{{1}}} mod 100) + 13 }}}} }}</div><!-- | -->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} >= 13| {{SkillInfoBox|{{#expr:{{{1}}} - floor({{{1}}} mod 100) + 13 }}}} }}</div><!-- | ||
--><div class="level-infobox" data-level="14"><!-- | --><div class="level-infobox" data-level="14"><!-- | ||
--><div class="prev-level" title="Previous Level">◀ Prev. Level</div><!-- | --><div class="prev-level" title="<translate nowrap><!--T:51--> Previous Level</translate>">◀ <translate nowrap><!--T:52--> Prev. Level</translate></div><!-- | ||
-->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} > 14| <div class="next-level" title="Next Level">Next Level ▶</div> }}<!-- | -->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} > 14| <div class="next-level" title="<translate nowrap><!--T:53--> Next Level</translate>"><translate nowrap><!--T:54--> Next Level</translate> ▶</div> }}<!-- | ||
-->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} >= 14| {{SkillInfoBox|{{#expr:{{{1}}} - floor({{{1}}} mod 100) + 14 }}}} }}</div><!-- | -->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} >= 14| {{SkillInfoBox|{{#expr:{{{1}}} - floor({{{1}}} mod 100) + 14 }}}} }}</div><!-- | ||
--><div class="level-infobox" data-level="15"><!-- | --><div class="level-infobox" data-level="15"><!-- | ||
--><div class="prev-level" title="Previous Level">◀ Prev. Level</div><!-- | --><div class="prev-level" title="<translate nowrap><!--T:55--> Previous Level</translate>">◀ <translate nowrap><!--T:56--> Prev. Level</translate></div><!-- | ||
-->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} > 15| <div class="next-level" title="Next Level">Next Level ▶</div> }}<!-- | -->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} > 15| <div class="next-level" title="<translate nowrap><!--T:57--> Next Level</translate>"><translate nowrap><!--T:58--> Next Level</translate> ▶</div> }}<!-- | ||
-->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} >= 15| {{SkillInfoBox|{{#expr:{{{1}}} - floor({{{1}}} mod 100) + 15 }}}} }}</div><!-- | -->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} >= 15| {{SkillInfoBox|{{#expr:{{{1}}} - floor({{{1}}} mod 100) + 15 }}}} }}</div><!-- | ||
--><div class="level-infobox" data-level="16"><!-- | --><div class="level-infobox" data-level="16"><!-- | ||
--><div class="prev-level" title="Previous Level">◀ Prev. Level</div><!-- | --><div class="prev-level" title="<translate nowrap><!--T:59--> Previous Level</translate>">◀ <translate nowrap><!--T:60--> Prev. Level</translate></div><!-- | ||
-->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} > 16| <div class="next-level" title="Next Level">Next Level ▶</div> }}<!-- | -->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} > 16| <div class="next-level" title="<translate nowrap><!--T:61--> Next Level</translate>"><translate nowrap><!--T:62--> Next Level</translate> ▶</div> }}<!-- | ||
-->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} >= 16| {{SkillInfoBox|{{#expr:{{{1}}} - floor({{{1}}} mod 100) + 16 }}}} }}</div><!-- | -->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} >= 16| {{SkillInfoBox|{{#expr:{{{1}}} - floor({{{1}}} mod 100) + 16 }}}} }}</div><!-- | ||
--><div class="level-infobox" data-level="17"><!-- | --><div class="level-infobox" data-level="17"><!-- | ||
--><div class="prev-level" title="Previous Level">◀ Prev. Level</div><!-- | --><div class="prev-level" title="<translate nowrap><!--T:63--> Previous Level</translate>">◀ <translate nowrap><!--T:64--> Prev. Level</translate></div><!-- | ||
-->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} > 17| <div class="next-level" title="Next Level">Next Level ▶</div> }}<!-- | -->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} > 17| <div class="next-level" title="<translate nowrap><!--T:65--> Next Level</translate>"><translate nowrap><!--T:66--> Next Level</translate> ▶</div> }}<!-- | ||
-->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} >= 17| {{SkillInfoBox|{{#expr:{{{1}}} - floor({{{1}}} mod 100) + 17 }}}} }}</div><!-- | -->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} >= 17| {{SkillInfoBox|{{#expr:{{{1}}} - floor({{{1}}} mod 100) + 17 }}}} }}</div><!-- | ||
--><div class="level-infobox" data-level="18"><!-- | --><div class="level-infobox" data-level="18"><!-- | ||
--><div class="prev-level" title="Previous Level">◀ Prev. Level</div><!-- | --><div class="prev-level" title="<translate nowrap><!--T:67--> Previous Level</translate>">◀ <translate nowrap><!--T:68--> Prev. Level</translate></div><!-- | ||
-->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} > 18| <div class="next-level" title="Next Level">Next Level ▶</div> }}<!-- | -->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} > 18| <div class="next-level" title="<translate nowrap><!--T:69--> Next Level</translate>"><translate nowrap><!--T:70--> Next Level</translate> ▶</div> }}<!-- | ||
-->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} >= 18| {{SkillInfoBox|{{#expr:{{{1}}} - floor({{{1}}} mod 100) + 18 }}}} }}</div><!-- | -->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} >= 18| {{SkillInfoBox|{{#expr:{{{1}}} - floor({{{1}}} mod 100) + 18 }}}} }}</div><!-- | ||
--><div class="level-infobox" data-level="19"><!-- | --><div class="level-infobox" data-level="19"><!-- | ||
--><div class="prev-level" title="Previous Level">◀ Prev. Level</div><!-- | --><div class="prev-level" title="<translate nowrap><!--T:71--> Previous Level</translate>">◀ <translate nowrap><!--T:72--> Prev. Level</translate></div><!-- | ||
-->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} > 19| <div class="next-level" title="Next Level">Next Level ▶</div> }}<!-- | -->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} > 19| <div class="next-level" title="<translate nowrap><!--T:73--> Next Level</translate>"><translate nowrap><!--T:74--> Next Level</translate> ▶</div> }}<!-- | ||
-->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} >= 19| {{SkillInfoBox|{{#expr:{{{1}}} - floor({{{1}}} mod 100) + 19 }}}} }}</div><!-- | -->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} >= 19| {{SkillInfoBox|{{#expr:{{{1}}} - floor({{{1}}} mod 100) + 19 }}}} }}</div><!-- | ||
--><div class="level-infobox" data-level="20"><!-- | --><div class="level-infobox" data-level="20"><!-- | ||
--><div class="prev-level" title="Previous Level">◀ Prev. Level</div><!-- | --><div class="prev-level" title="<translate nowrap><!--T:75--> Previous Level</translate>">◀ <translate nowrap><!--T:76--> Prev. Level</translate></div><!-- | ||
-->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} > 20| <div class="next-level" data-for="{{{1}}}-21" title="Next Level">Next Level ▶</div> }}<!-- | -->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} > 20| <div class="next-level" data-for="{{{1}}}-21" title="<translate nowrap><!--T:77--> Next Level</translate>"><translate nowrap><!--T:78--> Next Level</translate> ▶</div> }}<!-- | ||
-->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} >= 20| {{SkillInfoBox|{{#expr:{{{1}}} - floor({{{1}}} mod 100) + 20 }}}} }}</div><!-- | -->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} >= 20| {{SkillInfoBox|{{#expr:{{{1}}} - floor({{{1}}} mod 100) + 20 }}}} }}</div><!-- | ||
--><div class="level-infobox" data-level="21"><!-- | --><div class="level-infobox" data-level="21"><!-- | ||
--><div class="prev-level" title="Previous Level">◀ Prev. Level</div><!-- | --><div class="prev-level" title="<translate nowrap><!--T:79--> Previous Level</translate>">◀ <translate nowrap><!--T:80--> Prev. Level</translate></div><!-- | ||
-->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} > 21| <div class="next-level" data-for="{{{1}}}-22" title="Next Level">Next Level ▶</div> }}<!-- | -->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} > 21| <div class="next-level" data-for="{{{1}}}-22" title="<translate nowrap><!--T:81--> Next Level</translate>"><translate nowrap><!--T:82--> Next Level</translate> ▶</div> }}<!-- | ||
-->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} >= 21| {{SkillInfoBox|{{#expr:{{{1}}} - floor({{{1}}} mod 100) + 21 }}}} }}</div><!-- | -->{{#ifexpr: {{#yh_data:skills|{{{1}}}|MaxLevel}} >= 21| {{SkillInfoBox|{{#expr:{{{1}}} - floor({{{1}}} mod 100) + 21 }}}} }}</div><!-- | ||
--></div><!-- | --></div><!-- | ||
--></div></includeonly><noinclude> | --></div></includeonly><noinclude> | ||
This template can be used to render info box about a skill, allowing the user to loop over every skill level. | |||
== Examples == | == Examples == | ||
Line 116: | Line 118: | ||
<pre><nowiki>{{SkillLevelsInfoBox|1000100110}}</nowiki></pre> | <pre><nowiki>{{SkillLevelsInfoBox|1000100110}}</nowiki></pre> | ||
[[Category:Game Data Templates{{#translation:}}]] | |||
</noinclude> | </noinclude> |
Latest revision as of 08:52, 9 July 2024
This template can be used to render info box about a skill, allowing the user to loop over every skill level.
Examples
◀ Prev. Level
◀ Prev. Level
◀ Prev. Level
◀ Prev. Level
◀ Prev. Level
◀ Prev. Level
◀ Prev. Level
◀ Prev. Level
◀ Prev. Level
◀ Prev. Level
◀ Prev. Level
◀ Prev. Level
◀ Prev. Level
◀ Prev. Level
◀ Prev. Level
◀ Prev. Level
◀ Prev. Level
◀ Prev. Level
◀ Prev. Level
◀ Prev. Level
{{SkillLevelsInfoBox|1000100110}}