Site Notice
Due to recent vandalism, all edits performed by IPs and new users will be reviewed before being published. This means it might take some time for your edit to show up.
New accounts also have to be confirmed before being created.
If you have any questions, contact one of the staff members on their talk page, or on the Discord server.

Template:Buff: Difference between revisions

From KHUX Wiki
Jump to navigation Jump to search
→‎Code: Raised Buff cap to x7
Undo revision 47193 by Xeranis Azourael (talk) That's not the cap, that 3 stands for the 3rd value entered in the template.
Line 1: Line 1:
{{#switch:{{lc:{{{1|}}}}}
{{#switch:{{lc:{{{1|}}}}}
|str={{#switch:{{lc:{{{2|}}}}}
|str={{#switch:{{lc:{{{2|}}}}}
|p=[[File:Strength Boost P x{{{7|1}}} KHUX.png|{{{4|40x40}}}px]]
|p=[[File:Strength Boost P x{{{3|1}}} KHUX.png|{{{4|40x40}}}px]]
|s=[[File:Strength Boost S x{{{7|1}}} KHUX.png|{{{4|40x40}}}px]]
|s=[[File:Strength Boost S x{{{3|1}}} KHUX.png|{{{4|40x40}}}px]]
|m=[[File:Strength Boost M x{{{7|1}}} KHUX.png|{{{4|40x40}}}px]]
|m=[[File:Strength Boost M x{{{3|1}}} KHUX.png|{{{4|40x40}}}px]]
|ps|sp=[[File:Strength Boost P x{{{7|1}}} KHUX.png|{{{4|40x40}}}px]][[File:Strength Boost S x{{{7|1}}} KHUX.png|{{{4|40x40}}}px]]
|ps|sp=[[File:Strength Boost P x{{{3|1}}} KHUX.png|{{{4|40x40}}}px]][[File:Strength Boost S x{{{3|1}}} KHUX.png|{{{4|40x40}}}px]]
|pm|mp=[[File:Strength Boost P x{{{7|1}}} KHUX.png|{{{4|40x40}}}px]][[File:Strength Boost M x{{{7|1}}} KHUX.png|{{{4|40x40}}}px]]
|pm|mp=[[File:Strength Boost P x{{{3|1}}} KHUX.png|{{{4|40x40}}}px]][[File:Strength Boost M x{{{3|1}}} KHUX.png|{{{4|40x40}}}px]]
|sm|ms=[[File:Strength Boost S x{{{7|1}}} KHUX.png|{{{4|40x40}}}px]][[File:Strength Boost M x{{{7|1}}} KHUX.png|{{{4|40x40}}}px]]
|sm|ms=[[File:Strength Boost S x{{{3|1}}} KHUX.png|{{{4|40x40}}}px]][[File:Strength Boost M x{{{3|1}}} KHUX.png|{{{4|40x40}}}px]]
|psm|pms|spm|smp|msp|mps=[[File:Strength Boost P x{{{7|1}}} KHUX.png|{{{4|40x40}}}px]][[File:Strength Boost S x{{{7|1}}} KHUX.png|{{{4|40x40}}}px]][[File:Strength Boost M x{{{7|1}}} KHUX.png|{{{4|40x40}}}px]]
|psm|pms|spm|smp|msp|mps=[[File:Strength Boost P x{{{3|1}}} KHUX.png|{{{4|40x40}}}px]][[File:Strength Boost S x{{{3|1}}} KHUX.png|{{{4|40x40}}}px]][[File:Strength Boost M x{{{3|1}}} KHUX.png|{{{4|40x40}}}px]]
|#default=[[File:Strength Boost x{{{7|1}}} KHUX.png|{{{4|40x40}}}px]]
|#default=[[File:Strength Boost x{{{3|1}}} KHUX.png|{{{4|40x40}}}px]]
}}
}}
|def={{#switch:{{lc:{{{2|}}}}}
|def={{#switch:{{lc:{{{2|}}}}}
|p=[[File:Defense Boost P x{{{7|1}}} KHUX.png|{{{4|40x40}}}px]]
|p=[[File:Defense Boost P x{{{3|1}}} KHUX.png|{{{4|40x40}}}px]]
|s=[[File:Defense Boost S x{{{7|1}}} KHUX.png|{{{4|40x40}}}px]]
|s=[[File:Defense Boost S x{{{3|1}}} KHUX.png|{{{4|40x40}}}px]]
|m=[[File:Defense Boost M x{{{7|1}}} KHUX.png|{{{4|40x40}}}px]]
|m=[[File:Defense Boost M x{{{3|1}}} KHUX.png|{{{4|40x40}}}px]]
|ps|sp=[[File:Defense Boost P x{{{7|1}}} KHUX.png|{{{4|40x40}}}px]][[File:Defense Boost S x{{{7|1}}} KHUX.png|{{{4|40x40}}}px]]
|ps|sp=[[File:Defense Boost P x{{{3|1}}} KHUX.png|{{{4|40x40}}}px]][[File:Defense Boost S x{{{3|1}}} KHUX.png|{{{4|40x40}}}px]]
|pm|mp=[[File:Defense Boost P x{{{7|1}}} KHUX.png|{{{4|40x40}}}px]][[File:Defense Boost M x{{{7|1}}} KHUX.png|{{{4|40x40}}}px]]
|pm|mp=[[File:Defense Boost P x{{{3|1}}} KHUX.png|{{{4|40x40}}}px]][[File:Defense Boost M x{{{3|1}}} KHUX.png|{{{4|40x40}}}px]]
|sm|ms=[[File:Defense Boost S x{{{7|1}}} KHUX.png|{{{4|40x40}}}px]][[File:Defense Boost M x{{{7|1}}} KHUX.png|{{{4|40x40}}}px]]
|sm|ms=[[File:Defense Boost S x{{{3|1}}} KHUX.png|{{{4|40x40}}}px]][[File:Defense Boost M x{{{3|1}}} KHUX.png|{{{4|40x40}}}px]]
|psm|pms|spm|smp|msp|mps=[[File:Defense Boost P x{{{7|1}}} KHUX.png|{{{4|40x40}}}px]][[File:Defense Boost S x{{{7|1}}} KHUX.png|{{{4|40x40}}}px]][[File:Defense Boost M x{{{7|1}}} KHUX.png|{{{4|40x40}}}px]]
|psm|pms|spm|smp|msp|mps=[[File:Defense Boost P x{{{3|1}}} KHUX.png|{{{4|40x40}}}px]][[File:Defense Boost S x{{{3|1}}} KHUX.png|{{{4|40x40}}}px]][[File:Defense Boost M x{{{3|1}}} KHUX.png|{{{4|40x40}}}px]]
|#default=[[File:Defense Boost x{{{7|1}}} KHUX.png|{{{4|40x40}}}px]]
|#default=[[File:Defense Boost x{{{3|1}}} KHUX.png|{{{4|40x40}}}px]]
}}
}}
}}<noinclude>
}}<noinclude>

Revision as of 06:09, 2 August 2017

Usage

To use this template, use the following code:

{{Buff|Either "str" or "def"|Attribute; for example "p", "m", "ps", "psm". Leave blank for generic|Mutliplier (x1 by default)|Size (40x40px by default)}}

Notes: When using a different size, the multiplier is required.

For example, {{Buff|str|p|3}} creates:

And {{Buff|def|pm}} creates:

And {{Buff|str||1|60x60}} creates: