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

From Paragon Wiki Archive
Jump to: navigation, search
(v.10)
 
m
Line 1: Line 1:
Def'''(''' {{#ifeq:{{{1|0|}}} | 0 ||{{color|#3b89a0;font-weight: bold|M{{#if: {{{m|}}} |{{color|red;font-weight: normal|-'''{{{1|0}}}'''}}|{{{1|0}}}}}}}}} {{#ifeq:{{{2|0|}}} | 0 ||{{color|#3e3ea0;font-weight: bold|R{{#if: {{{r|}}} |{{color|red;font-weight: normal|-'''{{{2|0}}}'''}}|{{{2|0}}}}}}}}} {{#ifeq:{{{3|0|}}} | 0 ||{{color|#b7326a;font-weight: bold|A{{#if: {{{a|}}} |{{color|red;font-weight: normal|-'''{{{3|0}}}'''}}|{{{3|0}}}}}}}}}''')'''<noinclude>
+
Def'''(''' {{#ifeq:{{{1|0|}}} | 0 ||{{color|#3b89a0;font-weight: bold|M{{#if: {{{m|}}} |{{color|red;font-weight: normal|-'''{{{1|0}}}'''}}|{{{1|0}}}}}}}}} {{#ifeq:{{{2|0|}}} | 0 ||{{color|#3e3ea0;font-weight: bold|R{{#if: {{{r|}}} |{{color|red;font-weight: normal|-'''{{{2|0}}}'''}}|{{{2|0}}}}}}}}} {{#ifeq:{{{3|0|}}} | 0 ||{{color|#c62167;font-weight: bold|A{{#if: {{{a|}}} |{{color|red;font-weight: normal|-'''{{{3|0}}}'''}}|{{{3|0}}}}}}}}}''')'''<noinclude>
  
 
==Defense Template==
 
==Defense Template==

Revision as of 22:36, 6 January 2009

Def( )

Defense Template

This template is meant to show the positional defense values of a power in a easily visible format. The colors are chosen to mimic Super Reflexes.

For typed defense, see Template:DefVal.

Use

{{PosVal|25|25|10|a=-}}
Template:PosVal

  • List the defenses in order: Melee, Ranged, Area of Effect
  • Trailing 0s are unneccessary.
  • a=- denotes the energy defense as a debuff. The first letter of the defense type is used.