Template:StatusProtVal: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Baalus Seth (historical)
(Version 2.0 - powersets NOT FOR USE)
imported>Baalus Seth (historical)
(Version final.)
Line 1: Line 1:
Prot'''('''  
<includeonly>Prot'''('''  
{{#ifeq:{{{1|x|}}} | 0 ||{{color|#21dfe4;font-weight: bold|Ho {{{1|2.0}}}}}}}
{{#ifeq:{{{1|0|}}} | 0 ||{{color|#F28500;font-weight: bold|Ho {{{1}}}}}}}
{{#ifeq:{{{2|x|}}} | 0 ||{{color|#009505;font-weight: bold|Im {{{2|2.0}}}}}}}
{{#ifeq:{{{2|0|}}} | 0 ||{{color|#FFBF00;font-weight: bold|Im {{{2}}}}}}}
{{#ifeq:{{{3|x|}}} | 0 ||{{color|#e31a20;font-weight: bold|St {{{3|2.0}}}}}}}
{{#ifeq:{{{3|0|}}} | 0 ||{{color|#708090;font-weight: bold|St {{{3}}}}}}}
{{#ifeq:{{{4|x|}}} | 0 ||{{color|#d318c3;font-weight: bold|Sl {{{4|2.0}}}}}}}
{{#ifeq:{{{4|0|}}} | 0 ||{{color|#C0C0C0;font-weight: bold|Sl {{{4}}}}}}}
{{#ifeq:{{{5|x|}}} | 0 ||{{color|#6e71dd;font-weight: bold|Kb {{{5|2.0}}}}}}}
{{#ifeq:{{{5|0|}}} | 0 ||{{color|#6e71dd;font-weight: bold|Kb {{{5}}}}}}}
{{#ifeq:{{{6|x|}}} | 0 ||{{color|#7a16c3;font-weight: bold|Co {{{6|2.0}}}}}}}
{{#ifeq:{{{6|0|}}} | 0 ||{{color|#7a16c3;font-weight: bold|Co {{{6}}}}}}}
{{#ifeq:{{{7|x|}}} | 0 ||{{color|#374367;font-weight: bold|Fr {{{7|2.0}}}}}}}
{{#ifeq:{{{7|0|}}} | 0 ||{{color|#374367;font-weight: bold|Fr {{{7}}}}}}}
{{#ifeq:{{{8|x|}}} | 0 ||{{color|#76cfa7;font-weight: bold|Rp {{{8|2.0}}}}}}}
{{#ifeq:{{{8|0|}}} | 0 ||{{color|#76cfa7;font-weight: bold|Rp {{{8}}}}}}}
{{#ifeq:{{{9|x|}}} | 0 ||{{color|#12a68f;font-weight: bold|Tp {{{9|2.0}}}}}}}
{{#ifeq:{{{9|0|}}} | 0 ||{{color|#12a68f;font-weight: bold|Tp {{{9}}}}}}}
''')'''<!--<includeonly></includeonly><noinclude>{{documentation}}</noinclude>-->
''')'''</includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 15:58, 11 January 2009

[edit] [purge] Documentation


Usage

Defense Template

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

Parameters

  • First 9 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. Knockback protection value
    6. Confuse protection value
    7. Fear protection value
    8. Repel protection value
    9. Teleport protection value
  • Trailing 0s are unnecessary.
  • Remember to give all protections as decimals, IE 2.0 instead of 2

Example

Code Result
 {{StatusProtVal|1|2|3|4|5|6|7|8|9}}   Prot(

Ho 1 Im 2 St 3 Sl 4 Kb 5 Co 6 Fr 7 Rp 8 Tp 9 ) 

 {{StatusProtVal|1.0|1.0|0|0|2.0}}  Prot(

Ho 1.0 Im 1.0


Kb 2.0



)

 {{StatusProtVal|2=1.0|7=2.5}}  Prot(

Im 1.0



Fr 2.5


)