Badge time.png   The Paragon Wiki Archive documents the state of City of Heroes/Villains as it existed on December 1, 2012.

Difference between revisions of "Template:IOEffectTables"

From Paragon Wiki Archive
Jump to: navigation, search
(+IOEffectRow ScheduleA ?effect Levels50-50)
m (removing accidental line breaks)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{#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}} !! 25 {{#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 and ({{{from}}})<50| <!-- 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}}}
}}{{#ifexpr: ({{{to}}})=50 and ({{{from}}})=50| <!-- Table for level 50 -->
+
|{{{1|}}}
{{{!}} class="wikitable" style="float: left;"
+
|{{{2|}}}
! Level !! 50
+
|{{{3|}}}
{{IOEffectDataRows|num={{{num}}}|from=50|to=50|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}}}
+
|{{{4|}}}
{{!}}}
+
}}{{{{#ifeq:1|{{#expr:{{{from}}}<50 and {{{to}}}>40 and {{{from}}}!=50}}|IOEffectTables/table|blank}}
}}
+
|from={{#ifeq:1|{{#expr:{{{from}}} < 40}}|40|{{{from}}}}}
{{clr}}</includeonly><noinclude>
+
|to={{{to}}}
<pre>{{IOEffectTables|num=2|from=10|to=53|Accuracy|Damage}}</pre>
+
|num={{{num}}}
{{IOEffectTables|num=2|from=10|to=53|Accuracy|Damage}}
+
|{{{1|}}}
 
+
|{{{2|}}}
<pre>{{IOEffectTables|num=2|from=15|to=40|Accuracy|Damage}}</pre>
+
|{{{3|}}}
{{IOEffectTables|num=2|from=15|to=40|Accuracy|Damage}}
+
|{{{4|}}}
 
+
}}{{{{#ifeq:50|{{{from}}}|IOEffectTables/table|blank}}
<pre>{{IOEffectTables|num=2|from=20|to=35|Accuracy|Damage}}</pre>
+
|from=50
{{IOEffectTables|num=2|from=20|to=35|Accuracy|Damage}}
+
|to=50
 
+
|num={{{num}}}
<pre>{{IOEffectTables|num=2|from=25|to=30|Accuracy|Damage}}</pre>
+
|{{{1|}}}
{{IOEffectTables|num=2|from=25|to=30|Accuracy|Damage}}
+
|{{{2|}}}
 
+
|{{{3|}}}
<pre>{{IOEffectTables|num=2|from=50|to=50|Accuracy|Damage}}</pre>
+
|{{{4|}}}
{{IOEffectTables|num=2|from=50|to=50|Accuracy|Damage}}
+
|special=purple
 
+
}}</includeonly><noinclude>{{Documentation}}</noinclude>
</noinclude>
+

Latest 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=53|Accuracy|Damage|END Red.|Recharge}}

See also