Template:PosDefVal/doc

From Homecoming Wiki
< Template:PosDefVal
Revision as of 01:33, 7 January 2009 by imported>Aggelakis (historical) (navbox)
Jump to navigation Jump to search
This is a documentation subpage for Template:PosDefVal (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 positional defense values of a power in a condensed yet readable format

Parameters

  • First 3 parameters are numbered accordingly, values of 0 will prevent the parameter from displaying
  • List the defenses in order:
    1. Melee absolute value
    2. Ranged absolute value
    3. Area of Effect absolute value
  • Trailing 0s are unnecessary.
  • m, r, a, if defined will add a minus sign before their respective values and turn them red.

Example

Code Result
 {{PosVal|1|2|3}}   Template:PosVal 
 {{PosVal|10|10|m=-}}  Template:PosVal
 {{PosVal|10|m=-|10|r=-|20}}  Template:PosVal
 {{PosVal|2=10|3=25|a=-}}  Template:PosVal
  • x=- denotes the x defense as a debuff. The first letter of the defense type is used.


Template:ValNavBox