Template:PosDefVal/doc: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>Aggelakis
m (navbox)
imported>Thirty7
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 21: Line 21:
! Result
! Result
|-
|-
| &nbsp;<nowiki>{{PosVal|1|2|3}}</nowiki>&nbsp;
| &nbsp;<nowiki>{{PosDefVal|1|2|3}}</nowiki>&nbsp;
| &nbsp;{{PosVal|1|2|3}}&nbsp;
| &nbsp;{{PosDefVal|1|2|3}}&nbsp;
|-
|-
| &nbsp;<nowiki>{{PosVal|10|10|m=-}}</nowiki>
| &nbsp;<nowiki>{{PosDefVal|10|10|m=-}}</nowiki>
| &nbsp;{{PosVal|10|10|m=-}}
| &nbsp;{{PosDefVal|10|10|m=-}}
|-
|-
| &nbsp;<nowiki>{{PosVal|10|m=-|10|r=-|20}}</nowiki>
| &nbsp;<nowiki>{{PosDefVal|10|m=-|10|r=-|20}}</nowiki>
| &nbsp;{{PosVal|10|m=-|10|r=-|20}}
| &nbsp;{{PosDefVal|10|m=-|10|r=-|20}}
|-  
|-  
| &nbsp;<nowiki>{{PosVal|2=10|3=25|a=-}}</nowiki>
| &nbsp;<nowiki>{{PosDefVal|2=10|3=25|a=-}}</nowiki>
| &nbsp;{{PosVal|2=10|3=25|a=-}}
| &nbsp;{{PosDefVal|2=10|3=25|a=-}}
|}
|}
*<code>x=-</code> denotes the x defense as a debuff. The first letter of the defense type is used.
*<code>x=-</code> denotes the x defense as a debuff. The first letter of the defense type is used.




{{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: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
 {{PosDefVal|1|2|3}}   Def( M1 R2 A3 ) 
 {{PosDefVal|10|10|m=-}}  Def( M-10 R10 )
 {{PosDefVal|10|m=-|10|r=-|20}}  Def( M-10 R-10 A20 )
 {{PosDefVal|2=10|3=25|a=-}}  Def( R10 A-25 )
  • x=- denotes the x defense as a debuff. The first letter of the defense type is used.