(Updated with documentation framework.) |
m (Protected "Template:Counter": To avoid vandalism on an already complete wiki for a now defunct game. ([edit=sysop] (indefinite) [move=sysop] (indefinite)) [cascading]) |
||
(3 intermediate revisions by one other user not shown) | |||
Line 3: | Line 3: | ||
<br />Crit chance accepts any number between 1 and 100 |
<br />Crit chance accepts any number between 1 and 100 |
||
<br />Crit level accepts the following: |
<br />Crit level accepts the following: |
||
− | *Weak - |
+ | *Weak - w, weak |
− | *Normal - |
+ | *Normal - n, normal |
− | *Powerful - |
+ | *Powerful - p, powerful |
− | *Super-Powerful - |
+ | *Super-Powerful - sp, super, super-powerful |
<br />Target accepts the following and defaults to "All Allies": |
<br />Target accepts the following and defaults to "All Allies": |
||
− | *One Ally - |
+ | *One Ally - one, ally |
− | *All Allies - |
+ | *All Allies - all, allies |
− | *Self Only - |
+ | *Self Only - self |
<br />Use count accepts all positive numbers. |
<br />Use count accepts all positive numbers. |
||
Further documentation is on the way, but the template is functional. The source can be found at [[Module:Counter]]. |
Further documentation is on the way, but the template is functional. The source can be found at [[Module:Counter]]. |
||
+ | |||
+ | Examples: |
||
+ | ''<br /><nowiki>{{Counter}}</nowiki>'' |
||
+ | <br />{{Counter}} |
||
+ | |||
+ | ''<nowiki>{{Counter|30}}</nowiki>'' |
||
+ | <br />{{Counter|30}} |
||
+ | |||
+ | ''<nowiki>{{Counter|10|sp|self|5}}</nowiki>'' |
||
+ | <br />{{Counter|10|sp|self|5}} |
||
</noinclude> |
</noinclude> |
Latest revision as of 16:22, 9 August 2019
This template is invoked via {{Counter|crit chance|crit level|target(s)|use count}}
Crit chance accepts any number between 1 and 100
Crit level accepts the following:
- Weak - w, weak
- Normal - n, normal
- Powerful - p, powerful
- Super-Powerful - sp, super, super-powerful
Target accepts the following and defaults to "All Allies":
- One Ally - one, ally
- All Allies - all, allies
- Self Only - self
Use count accepts all positive numbers.
Further documentation is on the way, but the template is functional. The source can be found at Module:Counter.
Examples:
{{Counter}}
Counterattack chance
{{Counter|30}}
30% Counterattack chance (all allies).
{{Counter|10|sp|self|5}}
10% Counterattack chance for 100% damage (self only) up to 5 times.