Template:Buff: Difference between revisions

No edit summary
No edit summary
 
(12 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{#switch:{{lc:{{{1|}}}}}
{{#switch:{{lc:{{{1|}}}}}
|str={{#switch:{{lc:{{{2|}}}}}
|str={{#switch:{{lc:{{{2|}}}}}
|p=[[File:Strength Boost P x{{{3|1}}} KHUX.png|{{{4|50x50}}}px]]
|p=[[File:Strength Boost P x{{{3|1}}} KHUX.png|{{{4|40x40}}}px|link=Status effect#Strength Boost]]
|s=[[File:Strength Boost S x{{{3|1}}} KHUX.png|{{{4|50x50}}}px]]
|s=[[File:Strength Boost S x{{{3|1}}} KHUX.png|{{{4|40x40}}}px|link=Status effect#Strength Boost]]
|m=[[File:Strength Boost M x{{{3|1}}} KHUX.png|{{{4|50x50}}}px]]
|m=[[File:Strength Boost M x{{{3|1}}} KHUX.png|{{{4|40x40}}}px|link=Status effect#Strength Boost]]
|ps|sp=[[File:Strength Boost P x{{{3|1}}} KHUX.png|{{{4|50x50}}}px]][[File:Strength Boost S x{{{3|1}}} KHUX.png|{{{4|50x50}}}px]]
|ps|sp=[[File:Strength Boost P x{{{3|1}}} KHUX.png|{{{4|40x40}}}px|link=Status effect#Strength Boost]][[File:Strength Boost S x{{{3|1}}} KHUX.png|{{{4|40x40}}}px|link=Status effect#Strength Boost]]
|pm|mp=[[File:Strength Boost P x{{{3|1}}} KHUX.png|{{{4|50x50}}}px]][[File:Strength Boost M x{{{3|1}}} KHUX.png|{{{4|50x50}}}px]]
|pm|mp=[[File:Strength Boost P x{{{3|1}}} KHUX.png|{{{4|40x40}}}px|link=Status effect#Strength Boost]][[File:Strength Boost M x{{{3|1}}} KHUX.png|{{{4|40x40}}}px|link=Status effect#Strength Boost]]
|sm|ms=[[File:Strength Boost S x{{{3|1}}} KHUX.png|{{{4|50x50}}}px]][[File:Strength Boost M x{{{3|1}}} KHUX.png|{{{4|50x50}}}px]]
|sm|ms=[[File:Strength Boost S x{{{3|1}}} KHUX.png|{{{4|40x40}}}px|link=Status effect#Strength Boost]][[File:Strength Boost M x{{{3|1}}} KHUX.png|{{{4|40x40}}}px|link=Status effect#Strength Boost]]
|psm|pms|spm|smp|msp|mps=[[File:Strength Boost P x{{{3|1}}} KHUX.png|{{{4|50x50}}}px]][[File:Strength Boost S x{{{3|1}}} KHUX.png|{{{4|50x50}}}px]][[File:Strength Boost M x{{{3|1}}} KHUX.png|{{{4|50x50}}}px]]
|psm|pms|spm|smp|msp|mps=[[File:Strength Boost P x{{{3|1}}} KHUX.png|{{{4|40x40}}}px|link=Status effect#Strength Boost]][[File:Strength Boost S x{{{3|1}}} KHUX.png|{{{4|40x40}}}px|link=Status effect#Strength Boost]][[File:Strength Boost M x{{{3|1}}} KHUX.png|{{{4|40x40}}}px|link=Status effect#Strength Boost]]
|#default=[[File:Strength Boost x{{{3|1}}} KHUX.png|{{{4|50x50}}}px]]
|u=[[File:Strength Boost U x{{{3|1}}} KHUX.png|{{{4|40x40}}}px|link=Status effect#Strength Boost]]
|r=[[File:Strength Boost R x{{{3|1}}} KHUX.png|{{{4|40x40}}}px|link=Status effect#Strength Boost]]
|ur=[[File:Strength Boost U x{{{3|1}}} KHUX.png|{{{4|40x40}}}px|link=Status effect#Strength Boost]][[File:Strength Boost R x{{{3|1}}} KHUX.png|{{{4|40x40}}}px|link=Status effect#Strength Boost]]
|#default=[[File:Strength Boost x{{{3|1}}} KHUX.png|{{{4|40x40}}}px|link=Status effect#Strength Boost]]
}}
}}
|def={{#switch:{{lc:{{{2|}}}}}
|def={{#switch:{{lc:{{{2|}}}}}
|p=[[File:Defense Boost P x{{{3|1}}} KHUX.png|{{{4|50x50}}}px]]
|p=[[File:Defense Boost P x{{{3|1}}} KHUX.png|{{{4|40x40}}}px|link=Status effect#Defense Boost]]
|s=[[File:Defense Boost S x{{{3|1}}} KHUX.png|{{{4|50x50}}}px]]
|s=[[File:Defense Boost S x{{{3|1}}} KHUX.png|{{{4|40x40}}}px|link=Status effect#Defense Boost]]
|m=[[File:Defense Boost M x{{{3|1}}} KHUX.png|{{{4|50x50}}}px]]
|m=[[File:Defense Boost M x{{{3|1}}} KHUX.png|{{{4|40x40}}}px|link=Status effect#Defense Boost]]
|ps|sp=[[File:Defense Boost P x{{{3|1}}} KHUX.png|{{{4|50x50}}}px]][[File:Defense Boost S x{{{3|1}}} KHUX.png|{{{4|50x50}}}px]]
|ps|sp=[[File:Defense Boost P x{{{3|1}}} KHUX.png|{{{4|40x40}}}px|link=Status effect#Defense Boost]][[File:Defense Boost S x{{{3|1}}} KHUX.png|{{{4|40x40}}}px|link=Status effect#Defense Boost]]
|pm|mp=[[File:Defense Boost P x{{{3|1}}} KHUX.png|{{{4|50x50}}}px]][[File:Defense Boost M x{{{3|1}}} KHUX.png|{{{4|50x50}}}px]]
|pm|mp=[[File:Defense Boost P x{{{3|1}}} KHUX.png|{{{4|40x40}}}px|link=Status effect#Defense Boost]][[File:Defense Boost M x{{{3|1}}} KHUX.png|{{{4|40x40}}}px|link=Status effect#Defense Boost]]
|sm|ms=[[File:Defense Boost S x{{{3|1}}} KHUX.png|{{{4|50x50}}}px]][[File:Defense Boost M x{{{3|1}}} KHUX.png|{{{4|50x50}}}px]]
|sm|ms=[[File:Defense Boost S x{{{3|1}}} KHUX.png|{{{4|40x40}}}px|link=Status effect#Defense Boost]][[File:Defense Boost M x{{{3|1}}} KHUX.png|{{{4|40x40}}}px|link=Status effect#Defense Boost]]
|psm|pms|spm|smp|msp|mps=[[File:Defense Boost P x{{{3|1}}} KHUX.png|{{{4|50x50}}}px]][[File:Defense Boost S x{{{3|1}}} KHUX.png|{{{4|50x50}}}px]][[File:Defense Boost M x{{{3|1}}} KHUX.png|{{{4|50x50}}}px]]
|psm|pms|spm|smp|msp|mps=[[File:Defense Boost P x{{{3|1}}} KHUX.png|{{{4|40x40}}}px|link=Status effect#Defense Boost]][[File:Defense Boost S x{{{3|1}}} KHUX.png|{{{4|40x40}}}px|link=Status effect#Defense Boost]][[File:Defense Boost M x{{{3|1}}} KHUX.png|{{{4|40x40}}}px|link=Status effect#Defense Boost]]
|#default=[[File:Defense Boost x{{{3|1}}} KHUX.png|{{{4|50x50}}}px]]
|u=[[File:Defense Boost U x{{{3|1}}} KHUX.png|{{{4|40x40}}}px|link=Status effect#Defense Boost]]
|r=[[File:Defense Boost R x{{{3|1}}} KHUX.png|{{{4|40x40}}}px|link=Status effect#Defense Boost]]
|ur=[[File:Defense Boost U x{{{3|1}}} KHUX.png|{{{4|40x40}}}px|link=Status effect#Defense Boost]][[File:Defense Boost R x{{{3|1}}} KHUX.png|{{{4|40x40}}}px|link=Status effect#Defense Boost]]
|#default=[[File:Defense Boost x{{{3|1}}} KHUX.png|{{{4|40x40}}}px|link=Status effect#Defense Boost]]
}}
|abs={{#switch:{{lc:{{{2|}}}}}
|p=[[File:Absorb P KHUX.png|{{{3|30x30}}}px|link=Status effect#Absorb]] Absorbs Power attacks
|s=[[File:Absorb S KHUX.png|{{{3|30x30}}}px|link=Status effect#Absorb]] Absorbs Speed attacks
|m=[[File:Absorb M KHUX.png|{{{3|30x30}}}px|link=Status effect#Absorb]] Absorbs Magic attacks
|u=[[File:Absorb U KHUX.png|{{{3|30x30}}}px|link=Status effect#Absorb]] Absorbs Upright attacks
|r=[[File:Absorb R KHUX.png|{{{3|30x30}}}px|link=Status effect#Absorb]] Absorbs Reversed attacks
}}
|ref={{#switch:{{lc:{{{2|}}}}}
|p=[[File:Reflect P KHUX.png|{{{3|30x30}}}px|link=Status effect#Reflect]] Reflects Power attacks
|s=[[File:Reflect S KHUX.png|{{{3|30x30}}}px|link=Status effect#Reflect]] Reflects Speed attacks
|m=[[File:Reflect M KHUX.png|{{{3|30x30}}}px|link=Status effect#Reflect]] Reflects Magic attacks
|u=[[File:Reflect U KHUX.png|{{{3|30x30}}}px|link=Status effect#Reflect]] Reflects Upright attacks
|r=[[File:Reflect R KHUX.png|{{{3|30x30}}}px|link=Status effect#Reflect]] Reflects Reversed attacks
}}
}}
}}<noinclude>
}}<noinclude>
=Usage==
==Usage==
To use this template, use the following code:
To use this template, use the following code:
<pre>{{Buff|Either "str" or "def"|Attribute; for example "p", "m", "ps", "psm". Leave blank for generic|Mutliplier (x1 by default)|Size (50x50px by default)}}</pre>
<pre>{{Buff|Either "str", "def", "abs" or "ref"|Attribute; for example "p", "m", "ps", "psm". Leave blank for generic|Mutliplier (x1 by default)|Size (40x40px by default)}}</pre>
Notes: When using a different size, the multiplier is required.
Notes: When using a different size, the multiplier is required.


Line 30: Line 50:
And <nowiki>{{Buff|def|pm}}</nowiki> creates: {{Buff|def|pm}}
And <nowiki>{{Buff|def|pm}}</nowiki> creates: {{Buff|def|pm}}


And <nowiki>{{Buff|str||1|60x60}}</nowiki> creates: {{Buff|str||1|60x60}}
And <nowiki>{{Buff|str|u|1|60x60}}</nowiki> creates: {{Buff|str|u|1|60x60}}
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>