Difference between revisions of "Template:IOEffectTables"
(Template for cranking out all the enhancement effect tables on a page in one fell swoop. Wish me luck.) |
m (removing accidental line breaks) |
||
(8 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | {{# | + | <includeonly>{{{{#ifeq:1|{{#expr:{{{from}}}<20 and {{{to}}}>10}}|IOEffectTables/table|blank}} |
− | {| | + | |from={{{from}}} |
− | + | |to={{#ifeq:1|{{#expr:{{{to}}} > 20}}|19|{{{to}}}}} | |
− | + | |num={{{num}}} | |
− | + | |{{{1|}}} | |
− | }}{{# | + | |{{{2|}}} |
− | + | |{{{3|}}} | |
− | + | |{{{4|}}} | |
− | + | }}{{{{#ifeq:1|{{#expr:{{{from}}}<30 and {{{to}}}>20}}|IOEffectTables/table|blank}} | |
− | + | |from={{#ifeq:1|{{#expr:{{{from}}} < 20}}|20|{{{from}}}}} | |
− | }}{{# | + | |to={{#ifeq:1|{{#expr:{{{to}}} > 30}}|29|{{{to}}}}} |
− | + | |num={{{num}}} | |
− | + | |{{{1|}}} | |
− | {{ | + | |{{{2|}}} |
− | + | |{{{3|}}} | |
− | }}{{# | + | |{{{4|}}} |
− | + | }}{{{{#ifeq:1|{{#expr:{{{from}}}<40 and {{{to}}}>30}}|IOEffectTables/table|blank}} | |
− | + | |from={{#ifeq:1|{{#expr:{{{from}}} < 30}}|30|{{{from}}}}} | |
− | + | |to={{#ifeq:1|{{#expr:{{{to}}} > 40}}|39|{{{to}}}}} | |
− | | | + | |num={{{num}}} |
− | }} | + | |{{{1|}}} |
− | {{ | + | |{{{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=purple | ||
+ | }}</includeonly><noinclude>{{Documentation}}</noinclude> |
Latest revision as of 06:52, 3 March 2008
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=53|Accuracy|Damage|END Red.|Recharge}}
See also
- Project:Invention Origin Enhancements - A guide to creating IO Enhancement articles.