Template:Buff: Difference between revisions

→‎Template: Linkless images.
No edit summary
 
(6 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|40x40}}}px|link=]]
|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|40x40}}}px|link=]]
|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|40x40}}}px|link=]]
|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|40x40}}}px|link=]][[File:Strength Boost S x{{{3|1}}} KHUX.png|{{{4|40x40}}}px|link=]]
|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|40x40}}}px|link=]][[File:Strength Boost M x{{{3|1}}} KHUX.png|{{{4|40x40}}}px|link=]]
|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|40x40}}}px|link=]][[File:Strength Boost M x{{{3|1}}} KHUX.png|{{{4|40x40}}}px|link=]]
|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|40x40}}}px|link=]][[File:Strength Boost S x{{{3|1}}} KHUX.png|{{{4|40x40}}}px|link=]][[File:Strength Boost M x{{{3|1}}} KHUX.png|{{{4|40x40}}}px|link=]]
|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]]
|u=[[File:Strength Boost U x{{{3|1}}} KHUX.png|{{{4|40x40}}}px|link=]]
|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=]]
|r=[[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=]]
|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|40x40}}}px|link=]]
|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|40x40}}}px|link=]]
|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|40x40}}}px|link=]]
|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|40x40}}}px|link=]][[File:Defense Boost S x{{{3|1}}} KHUX.png|{{{4|40x40}}}px|link=]]
|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|40x40}}}px|link=]][[File:Defense Boost M x{{{3|1}}} KHUX.png|{{{4|40x40}}}px|link=]]
|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|40x40}}}px|link=]][[File:Defense Boost M x{{{3|1}}} KHUX.png|{{{4|40x40}}}px|link=]]
|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|40x40}}}px|link=]][[File:Defense Boost S x{{{3|1}}} KHUX.png|{{{4|40x40}}}px|link=]][[File:Defense Boost M x{{{3|1}}} KHUX.png|{{{4|40x40}}}px|link=]]
|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]]
|u=[[File:Defense Boost U x{{{3|1}}} KHUX.png|{{{4|40x40}}}px|link=]]
|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=]]
|r=[[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=]]
|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 (40x40px 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.