Template:IOEffectTables: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Lin Chiao Feng (historical)
mNo edit summary
m (Changed Special to a parameter)
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{#ifexpr: ({{{from}}})<20| Table for levels 10-19.
<includeonly>{{{{#ifeq:1|{{#expr:{{{from}}}<20 and {{{to}}}>10}}|IOEffectTables/table|blank}}
{| class="wikitable" style="float: left;"
|from={{{from}}}
! Level {{#ifexpr: ({{{from}}})=10|!! 10 !! 11 !! 12 !! 13 !! 14}} !! 15 !! 16 !! 17 !! 18 !! 19
|to={{#ifeq:1|{{#expr:{{{to}}} > 20}}|19|{{{to}}}}}
{{IOEffectDataRows|num={{{num}}}|from={{{from}}}|to=19|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}}}
|num={{{num}}}
|}
|{{{1|}}}
}}{{#ifexpr: ({{{from}}})<30| Table for levels 20-30.
|{{{2|}}}
{| class="wikitable" style="float: left;"
|{{{3|}}}
! Level {{#ifexpr: ({{{from}}})<25|!! 20 !! 21 !! 22 !! 23 !! 24}} !! 15 {{#ifexpr: ({{{to}}})>25|!! 26 !! 27 !! 28 !! 29}} {{#ifexpr: ({{{to}}})=30|!! 30}}
|{{{4|}}}
{{IOEffectDataRows|num={{{num}}}|from={{#ifexpr: ({{{from}}})<20|20|{{{from}}}}}|to={{#ifexpr: ({{{to}}})=30|30|{{#ifexpr: ({{{to}}})>30|29|{{{to}}}}}}}|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}}}
}}{{{{#ifeq:1|{{#expr:{{{from}}}<30 and {{{to}}}>20}}|IOEffectTables/table|blank}}
|}
|from={{#ifeq:1|{{#expr:{{{from}}} < 20}}|20|{{{from}}}}}
}}{{#ifexpr: ({{{from}}})<40 and ({{{to}}})>30| Table for levels 30-40.
|to={{#ifeq:1|{{#expr:{{{to}}} > 30}}|29|{{{to}}}}}
{| class="wikitable" style="float: left;"
|num={{{num}}}
! Level {{#ifexpr: ({{{from}}})<35|!! 30 !! 31 !! 32 !! 33 !! 34}} !! 35 {{#ifexpr: ({{{to}}})>35|!! 36 !! 37 !! 38 !! 39}} {{#ifexpr: ({{{to}}})=40|!! 40}}
|{{{1|}}}
{{IOEffectDataRows|num={{{num}}}|from={{#ifexpr: ({{{from}}})<30|30|{{{from}}}}}|to={{#ifexpr: ({{{to}}})=40|40|{{#ifexpr: ({{{to}}})>40|39|{{{to}}}}}}}|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}}}
|{{{2|}}}
|}
|{{{3|}}}
}}{{#ifexpr: ({{{to}}})>40| Table for levels 40-53.
|{{{4|}}}
{| class="wikitable" style="float: left;"
}}{{{{#ifeq:1|{{#expr:{{{from}}}<40 and {{{to}}}>30}}|IOEffectTables/table|blank}}
! Level !! 40 !! 41 !! 42 !! 43 !! 44 !! 45 !! 46 !! 47 !! 48 !! 49 !! 50-53
|from={{#ifeq:1|{{#expr:{{{from}}} < 30}}|30|{{{from}}}}}
{{IOEffectDataRows|num={{{num}}}|from=40|to=53|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}}}
|to={{#ifeq:1|{{#expr:{{{to}}} > 40}}|39|{{{to}}}}}
|}
|num={{{num}}}
}}
|{{{1|}}}
{{clr}}
|{{{2|}}}
|{{{3|}}}
|{{{4|}}}
}}{{{{#ifeq:1|{{#expr:{{{from}}}<50 and {{{to}}}>40 and {{{from}}}!=50}}|IOEffectTables/table|blank}}
|from={{#ifeq:1|{{#expr:{{{from}}} < 40}}|40|{{{from}}}}}
|to={{{to}}}
|num={{{num}}}
|{{{1|}}}
|{{{2|}}}
|{{{3|}}}
|{{{4|}}}
}}{{{{#ifeq:50|{{{from}}}|IOEffectTables/table|blank}}
|from=50
|to=50
|num={{{num}}}
|{{{1|}}}
|{{{2|}}}
|{{{3|}}}
|{{{4|}}}
|special={{{special|purple}}}
}}</includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 10:08, 12 August 2020

[edit] [purge] Documentation


This template is used to create part of an Invention Origin Enhancement/Recipe article. It provides tables detailing the percentages that the enhancement improves the aspects of a power, by level.

This template should not be used on enhancements that only provide global effects or procs. However, if the enhancement provides a global effect or proc as well as enhances some aspect of the power, then this template can still be used.

If the enhancement is a standard IO, then this template should not be used. {{CommonIOEffectTable}} should be used instead.

Usage

This template takes several named arguments and several position arguments. It needs from and to parameters to specify the level ranges of the enhancement. It needs a num parameter that specifies how many aspects the enhancement has (1, 2, 3, or 4). And it accepts up to four position parameters, which should be the names of the aspects it enhances (Accuracy, Damage, Recharge, etc.).

Some examples:

{{IOEffectTables|num=2|from=20|to=35|Accuracy|Damage}}
{{IOEffectTables|num=4|from=30|to=50|Accuracy|Damage|Endurance Reduction|Recharge}}

Certain aspects of an enhancement must be formatted in the following ways for the correct values to be referenced:

Knockback
Interrupt
Defense
Range
Resistance
To-Hit
To-Hit Debuff


For special case enhancements like Superior Super Pack enhancements, you can add the special parameter to choose a specific value from the Template:IOEffect sub-templates. This currently only works with from=50 enhancements as they are the only current special cases.

For example:

{{IOEffectTables|num=3|from=50|to=50|special=super|Accuracy|Damage|Recharge}}

See also