Template:InvSetOverview: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>This generates a standard header for invention set pages. it takes the following parameters:
<includeonly>__NOTOC__
* '''Name''': The name of the invention set.
[[Image:IO {{{Name}}}.png|right]]
* '''Type''': The class of invention set, for example, Ranged Damage.
'''{{{Name}}}''' is a '''[[:Category:Sets for improving {{{Type}}}|{{{Type}}}]]''' [[Invention Origin Enhancement Sets|enhancement set]] in the [[Invention System]]. It is available {{#ifeq: {{{1}}}|{{{2}}}|only at level '''{{{1}}}'''|in the '''{{{1}}}-{{{2}}}''' level range}}.
* Two unnamed parameters: the start and end of the set's level range.
[[Category:Invention Sets]][[Category:Sets for improving {{{Type}}}]]<!--
* Two to six more unnamed parameters: the enhancements in the set (without the set name).
-->{{#ifexpr: ({{{1}}})<=10 and ({{{2}}})>=15|[[Category:Sets for levels 10-15]]}}<!--
* '''opt1''' through '''opt6''': Optional text to put after an enhancement's link, for example, a proc icon.
-->{{#ifexpr: ({{{1}}})<=15 and ({{{2}}})>=20|[[Category:Sets for levels 15-20]]}}<!--
-->{{#ifexpr: ({{{1}}})<=20 and ({{{2}}})>=25|[[Category:Sets for levels 20-25]]}}<!--
-->{{#ifexpr: ({{{1}}})=21 and ({{{2}}})>=25|[[Category:Sets for levels 21-25]]}}<!--
-->{{#ifexpr: ({{{1}}})<=25 and ({{{2}}})>=30|[[Category:Sets for levels 25-30]]}}<!--
-->{{#ifexpr: ({{{1}}})<=30 and ({{{2}}})>=35|[[Category:Sets for levels 30-35]]}}<!--
-->{{#ifexpr: ({{{1}}})<=35 and ({{{2}}})>=40|[[Category:Sets for levels 35-40]]}}<!--
-->{{#ifexpr: ({{{1}}})<=40 and ({{{2}}})>=50|[[Category:Sets for levels 40-50]]}}<!--
-->{{#ifexpr: ({{{1}}})=50 and ({{{2}}})=50|[[Category:Sets for level 50]]}}<!--
-->


[[Category:Invention System Templates]]</noinclude>
There are {{#if:{{{8|}}}|six|{{#if:{{{7|}}}|five|{{#if:{{{6|}}}|four|{{#if:{{{5|}}}|three|two}}}}}}}} enhancements in this set:
* [[{{{Name}}}: {{{3}}}]]{{#if: {{{opt1|}}}|&nbsp;{{{opt1}}}}},{{#if:{{{5|}}}||&nbsp;and}}
* [[{{{Name}}}: {{{4}}}]]{{#if: {{{opt2|}}}|&nbsp;{{{opt2}}}}}{{#if:{{{5|}}}|,{{#if:{{{6|}}}||&nbsp;and}}|.}}
{{#if: {{{5|}}}|* [[{{{Name}}}: {{{5}}}]]{{#if: {{{opt3|}}}|&nbsp;{{{opt3}}}}}{{#if:{{{6|}}}|,{{#if:{{{7|}}}||&nbsp;and}}|.}}
}}{{#if: {{{6|}}}|* [[{{{Name}}}: {{{6}}}]]{{#if: {{{opt4|}}}|&nbsp;{{{opt4}}}}}{{#if:{{{7|}}}|,{{#if:{{{8|}}}||&nbsp;and}}|.}}
}}{{#if: {{{7|}}}|* [[{{{Name}}}: {{{7}}}]]{{#if: {{{opt5|}}}|&nbsp;{{{opt5}}}}}{{#if:{{{8|}}}|,&nbsp;and|.}}
}}{{#if: {{{8|}}}|* [[{{{Name}}}: {{{8}}}]]{{#if: {{{opt6|}}}|&nbsp;{{{opt6}}}}}.
}}
Only one of each of these types of enhancements may be slotted per power.
</includeonly>

Revision as of 21:35, 28 May 2020