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:StatusProtVal/doc"

From Paragon Wiki Archive
Jump to: navigation, search
(New page: {{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. --> __NOTOC__ ==Usage== === Defense Template === This template is meant to show the status ...)
 
m
 
(4 intermediate revisions by 3 users not shown)
Line 20: Line 20:
 
*# Teleport protection value
 
*# Teleport protection value
 
*Trailing 0s are unnecessary.
 
*Trailing 0s are unnecessary.
 +
*Remember to give all protections as decimals, IE 2.0 instead of 2
  
 
== Example ==
 
== Example ==
Line 27: Line 28:
 
|-
 
|-
 
| &nbsp;<nowiki>{{StatusProtVal|1|2|3|4|5|6|7|8|9}}</nowiki>&nbsp;
 
| &nbsp;<nowiki>{{StatusProtVal|1|2|3|4|5|6|7|8|9}}</nowiki>&nbsp;
| &nbsp;{{StatusProtVal|1|2|3|4|5|6|7|8}}&nbsp;
+
| &nbsp;{{StatusProtVal|1|2|3|4|5|6|7|8|9}}&nbsp;
 
|-
 
|-
| &nbsp;<nowiki>{{StatusProtVal|10|10|0|0|20}}</nowiki>
+
| &nbsp;<nowiki>{{StatusProtVal|1.0|1.0|0|0|2.0}}</nowiki>
| &nbsp;{{StatusProtVal|10|10|0|0|20}}
+
| &nbsp;{{StatusProtVal|1.0|1.0|0|0|2.0}}
 
|-
 
|-
| &nbsp;<nowiki>{{StatusProtVal|2=10|7=25}}</nowiki>
+
| &nbsp;<nowiki>{{StatusProtVal|2=1.0|7=2.5}}</nowiki>
| &nbsp;{{StatusProtResVal|2=10|7=25}}
+
| &nbsp;{{StatusProtVal|2=1.0|7=2.5}}
 
|}
 
|}
  
{{ValNavBox}}
+
{{Navbox Val Templates}}
 
<includeonly><!--
 
<includeonly><!--
 
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. -->
 
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. -->
[[Category:Standardized Text Templates|{{PAGENAME}}]]
+
[[Category:Powers Templates]]
 
</includeonly>
 
</includeonly>

Latest revision as of 05:16, 8 July 2012

This is a documentation subpage for Template:StatusProtVal (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

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 )