Template:IOEffectTables: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Sekoia (historical)
(replacing template with newer version that should be more adaptable to and flexible with future changes in level ranges)
imported>Sekoia (historical)
m (removing accidental line breaks)
Line 23: Line 23:
|{{{3|}}}
|{{{3|}}}
|{{{4|}}}
|{{{4|}}}
}}
}}{{{{#ifeq:1|{{#expr:{{{from}}}<50 and {{{to}}}>40 and {{{from}}}!=50}}|IOEffectTables/table|blank}}
{{{{#ifeq:1|{{#expr:{{{from}}}<50 and {{{to}}}>40 and {{{from}}}!=50}}|IOEffectTables/table|blank}}
|from={{#ifeq:1|{{#expr:{{{from}}} < 40}}|40|{{{from}}}}}
|from={{#ifeq:1|{{#expr:{{{from}}} < 40}}|40|{{{from}}}}}
|to={{{to}}}
|to={{{to}}}
Line 32: Line 31:
|{{{3|}}}
|{{{3|}}}
|{{{4|}}}
|{{{4|}}}
}}
}}{{{{#ifeq:50|{{{from}}}|IOEffectTables/table|blank}}
{{{{#ifeq:50|{{{from}}}|IOEffectTables/table|blank}}
|from=50
|from=50
|to=50
|to=50

Revision as of 06:52, 3 March 2008

[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