Template:Gr
From Guild Wars Wiki 中文站
Jump to navigationJump to search
Usage
To simplify the insertion of green number ranges within skill descriptions. The output of this template will provide green numbers for attribute ranks 0, 12 & 15, each separated by ellipses. For skills which do not follow the 0...12...15 progression, such as Spectral Agony or Turtle Shell, use {{gr2}}.
{{gr|<rank 0 value>|<rank 15 value>}}
- (unnamed parameter 1)
- Skill progression at attribute rank 0
- (unnamed parameter 2)
- Skill progression at attribute rank 15
- (unnamed parameter 3)
- If set to
-or+, inserts the respective sign before the progression. - (unnamed parameter 4)
- If set to
%, inserts a percent sign after the progression.
Example
{{gr|10|100}} will parse to 10...82...100.
{{gr|10|100|-}} will parse to -10...82...100.
{{gr|10|100|+}} will parse to +10...82...100.
{{gr|10|100||%}} will parse to 10...82...100%.
{{gr|10|100|+|%}} will parse to +10...82...100%.
{{gr|10|100|whatever|nope}} will ignore the 3rd and 4th parameter and parse to 10...82...100.