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

From Paragon Wiki Archive
Jump to: navigation, search
(New page: <includeonly>Res'''(''' {{#ifeq:{{{1|0|}}} | 0 ||{{color|#F28500;font-weight: bold|Ho {{{1}}}}}}} {{#ifeq:{{{2|0|}}} | 0 ||{{color|#FFBF00;font-weight: bold|Im {{{2}}}}}}} {{#ifeq:{{{3|0|...)
 
m
 
Line 1: Line 1:
<includeonly>Res'''('''  
+
<includeonly>Res'''(''' {{#ifeq:{{{1|0|}}} | 0 ||{{color|#F28500;font-weight: bold|Ho {{{1}}}}}}} {{#ifeq:{{{2|0|}}} | 0 ||{{color|#FFBF00;font-weight: bold|Im {{{2}}}}}}} {{#ifeq:{{{3|0|}}} | 0 ||{{color|#708090;font-weight: bold|St {{{3}}}}}}} {{#ifeq:{{{4|0|}}} | 0 ||{{color|#C0C0C0;font-weight: bold|Sl {{{4}}}}}}} {{#ifeq:{{{5|0|}}} | 0 ||{{color|#7a16c3;font-weight: bold|Co {{{5}}}}}}} {{#ifeq:{{{6|0|}}} | 0 ||{{color|#374367;font-weight: bold|Fr {{{6}}}}}}} {{#ifeq:{{{7|0|}}} | 0 ||{{color|#633c73;font-weight: bold|Pl {{{7}}}}}}} {{#ifeq:{{{8|0|}}} | 0 ||{{color|#991b8e;font-weight: bold|Tn {{{8}}}}}}} ''')'''</includeonly><noinclude>{{documentation}}</noinclude>
{{#ifeq:{{{1|0|}}} | 0 ||{{color|#F28500;font-weight: bold|Ho {{{1}}}}}}}
+
{{#ifeq:{{{2|0|}}} | 0 ||{{color|#FFBF00;font-weight: bold|Im {{{2}}}}}}}
+
{{#ifeq:{{{3|0|}}} | 0 ||{{color|#708090;font-weight: bold|St {{{3}}}}}}}
+
{{#ifeq:{{{4|0|}}} | 0 ||{{color|#C0C0C0;font-weight: bold|Sl {{{4}}}}}}}
+
{{#ifeq:{{{5|0|}}} | 0 ||{{color|#7a16c3;font-weight: bold|Co {{{5}}}}}}}
+
{{#ifeq:{{{6|0|}}} | 0 ||{{color|#374367;font-weight: bold|Fr {{{6}}}}}}}
+
{{#ifeq:{{{7|0|}}} | 0 ||{{color|#633c73;font-weight: bold|Pl {{{7}}}}}}}
+
{{#ifeq:{{{8|0|}}} | 0 ||{{color|#991b8e;font-weight: bold|Tn {{{8}}}}}}}
+
''')'''</includeonly><noinclude>{{documentation}}</noinclude>
+

Latest revision as of 16:12, 11 January 2009

[edit] [purge] Documentation


Usage

Defense Template

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

Parameters

  • First 8 parameters are numbered accordingly, values of 0 will prevent the parameter from displaying
  • List the defenses in order:
    1. Hold protection value
    2. Immobilize protection value
    3. Stun protection value
    4. Sleep protection value
    5. Confuse protection value
    6. Fear protection value
    7. Placate protection value
    8. Taunt protection value
  • Trailing 0s are unnecessary.

Example

Code Result
 {{StatusResVal|1|2|3|4|5|6|7|8}}   Res( Ho 1 Im 2 St 3 Sl 4 Co 5 Fr 6 Pl 7 Tn 8 ) 
 {{StatusResVal|10|10|0|0|20}}  Res( Ho 10 Im 10 Co 20 )
 {{StatusResVal|2=10|7=25}}  Res( Im 10 Pl 25 )