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:DebuffResVal"

From Paragon Wiki Archive
Jump to: navigation, search
(Created page with '<includeonly>Res'''(''' {{#ifeq:{{{1|0|}}} | 0 ||{{color|#b1ca7c;font-weight: bold|Rgn {{{1}}}}}}} {{#ifeq:{{{2|0|}}} | 0 ||{{color|#1d54e4;font-weight: bold|Rcv {{{2}}}}}}} {{#i...')
 
 
Line 1: Line 1:
<includeonly>Res'''(''' {{#ifeq:{{{1|0|}}} | 0 ||{{color|#b1ca7c;font-weight: bold|Rgn {{{1}}}}}}} {{#ifeq:{{{2|0|}}} | 0 ||{{color|#1d54e4;font-weight: bold|Rcv {{{2}}}}}}} {{#ifeq:{{{3|0|}}} | 0 ||{{color|#2d5c8e;font-weight: bold|THt {{{3}}}}}}} {{#ifeq:{{{4|0|}}} | 0 ||{{color|#d170af;font-weight: bold|Rech {{{4}}}}}}} {{#ifeq:{{{5|0|}}} | 0 ||{{color|#b49365;font-weight: bold|Def {{{5}}}}}}} ''')'''</includeonly><noinclude>{{documentation}}</noinclude>
+
<includeonly>Res'''(''' {{#ifeq:{{{1|0|}}} | 0 ||{{color|#b1ca7c;font-weight: bold|Rgn {{{1}}}}}}} {{#ifeq:{{{2|0|}}} | 0 ||{{color|#1d54e4;font-weight: bold|Rcv {{{2}}}}}}} {{#ifeq:{{{3|0|}}} | 0 ||{{color|#0c3968;font-weight: bold|THt {{{3}}}}}}} {{#ifeq:{{{4|0|}}} | 0 ||{{color|#d170af;font-weight: bold|Rech {{{4}}}}}}} {{#ifeq:{{{5|0|}}} | 0 ||{{color|#b49365;font-weight: bold|Def {{{5}}}}}}} ''')'''</includeonly><noinclude>{{documentation}}</noinclude>

Latest revision as of 16:51, 7 March 2009

[edit] [purge] Documentation


Usage

Defense Template

This template is meant to show the debuff resistance values of a power in a condensed yet readable format

Parameters

  • First 5 parameters are numbered accordingly, values of 0 will prevent the parameter from displaying
  • List the defenses in order:
    1. Regeneration resistance value
    2. Recovery resistance value
    3. ToHit resistance value
    4. Recharge Time resistance value
    5. Defense resistance value
  • Trailing 0s are unnecessary.

Example

Code Result
 {{DebuffResVal|1|2|3|4|5}}   Res( Rgn 1 Rcv 2 THt 3 Rech 4 Def 5 ) 
 {{DebuffResVal|10|10|0|0|20}}  Res( Rgn 10 Rcv 10 Def 20 )
 {{DebuffResVal|2=10|7=25}}  Res( Rcv 10 )