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:Debuff: Difference between revisions

From KHUX Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{#switch:{{lc:{{{1|}}}}}
{{#switch:{{lc:{{{1|}}}}}
|str={{#switch:{{lc:{{{2|}}}}}
|str={{#switch:{{lc:{{{2|}}}}}
|p=[[File:Strength Sap P x{{{3|1}}} KHUX.png|{{{4|50x50}}}px]]
|p=[[File:Strength Sap P x{{{3|1}}} KHUX.png|{{{4|40x40}}}px]]
|s=[[File:Strength Sap S x{{{3|1}}} KHUX.png|{{{4|50x50}}}px]]
|s=[[File:Strength Sap S x{{{3|1}}} KHUX.png|{{{4|40x40}}}px]]
|m=[[File:Strength Sap M x{{{3|1}}} KHUX.png|{{{4|50x50}}}px]]
|m=[[File:Strength Sap M x{{{3|1}}} KHUX.png|{{{4|40x40}}}px]]
|ps|sp=[[File:Strength Sap P x{{{3|1}}} KHUX.png|{{{4|50x50}}}px]][[File:Strength Sap S x{{{3|1}}} KHUX.png|{{{4|50x50}}}px]]
|ps|sp=[[File:Strength Sap P x{{{3|1}}} KHUX.png|{{{4|40x40}}}px]][[File:Strength Sap S x{{{3|1}}} KHUX.png|{{{4|40x40}}}px]]
|pm|mp=[[File:Strength Sap P x{{{3|1}}} KHUX.png|{{{4|50x50}}}px]][[File:Strength Sap M x{{{3|1}}} KHUX.png|{{{4|50x50}}}px]]
|pm|mp=[[File:Strength Sap P x{{{3|1}}} KHUX.png|{{{4|40x40}}}px]][[File:Strength Sap M x{{{3|1}}} KHUX.png|{{{4|40x40}}}px]]
|sm|ms=[[File:Strength Sap S x{{{3|1}}} KHUX.png|{{{4|50x50}}}px]][[File:Strength Sap M x{{{3|1}}} KHUX.png|{{{4|50x50}}}px]]
|sm|ms=[[File:Strength Sap S x{{{3|1}}} KHUX.png|{{{4|40x40}}}px]][[File:Strength Sap M x{{{3|1}}} KHUX.png|{{{4|40x40}}}px]]
|psm|pms|spm|smp|msp|mps=[[File:Strength Sap P x{{{3|1}}} KHUX.png|{{{4|50x50}}}px]][[File:Strength Sap S x{{{3|1}}} KHUX.png|{{{4|50x50}}}px]][[File:Strength Sap M x{{{3|1}}} KHUX.png|{{{4|50x50}}}px]]
|psm|pms|spm|smp|msp|mps=[[File:Strength Sap P x{{{3|1}}} KHUX.png|{{{4|40x40}}}px]][[File:Strength Sap S x{{{3|1}}} KHUX.png|{{{4|40x40}}}px]][[File:Strength Sap M x{{{3|1}}} KHUX.png|{{{4|40x40}}}px]]
|#default=[[File:Strength Sap x{{{3|1}}} KHUX.png|{{{4|50x50}}}px]]
|#default=[[File:Strength Sap x{{{3|1}}} KHUX.png|{{{4|40x40}}}px]]
}}
}}
|def={{#switch:{{lc:{{{2|}}}}}
|def={{#switch:{{lc:{{{2|}}}}}
|p=[[File:Defense Sap P x{{{3|1}}} KHUX.png|{{{4|50x50}}}px]]
|p=[[File:Defense Sap P x{{{3|1}}} KHUX.png|{{{4|40x40}}}px]]
|s=[[File:Defense Sap S x{{{3|1}}} KHUX.png|{{{4|50x50}}}px]]
|s=[[File:Defense Sap S x{{{3|1}}} KHUX.png|{{{4|40x40}}}px]]
|m=[[File:Defense Sap M x{{{3|1}}} KHUX.png|{{{4|50x50}}}px]]
|m=[[File:Defense Sap M x{{{3|1}}} KHUX.png|{{{4|40x40}}}px]]
|ps|sp=[[File:Defense Sap P x{{{3|1}}} KHUX.png|{{{4|50x50}}}px]][[File:Defense Sap S x{{{3|1}}} KHUX.png|{{{4|50x50}}}px]]
|ps|sp=[[File:Defense Sap P x{{{3|1}}} KHUX.png|{{{4|40x40}}}px]][[File:Defense Sap S x{{{3|1}}} KHUX.png|{{{4|40x40}}}px]]
|pm|mp=[[File:Defense Sap P x{{{3|1}}} KHUX.png|{{{4|50x50}}}px]][[File:Defense Sap M x{{{3|1}}} KHUX.png|{{{4|50x50}}}px]]
|pm|mp=[[File:Defense Sap P x{{{3|1}}} KHUX.png|{{{4|40x40}}}px]][[File:Defense Sap M x{{{3|1}}} KHUX.png|{{{4|40x40}}}px]]
|sm|ms=[[File:Defense Sap S x{{{3|1}}} KHUX.png|{{{4|50x50}}}px]][[File:Defense Sap M x{{{3|1}}} KHUX.png|{{{4|50x50}}}px]]
|sm|ms=[[File:Defense Sap S x{{{3|1}}} KHUX.png|{{{4|40x40}}}px]][[File:Defense Sap M x{{{3|1}}} KHUX.png|{{{4|40x40}}}px]]
|psm|pms|spm|smp|msp|mps=[[File:Defense Sap P x{{{3|1}}} KHUX.png|{{{4|50x50}}}px]][[File:Defense Sap S x{{{3|1}}} KHUX.png|{{{4|50x50}}}px]][[File:Defense Sap M x{{{3|1}}} KHUX.png|{{{4|50x50}}}px]]
|psm|pms|spm|smp|msp|mps=[[File:Defense Sap P x{{{3|1}}} KHUX.png|{{{4|40x40}}}px]][[File:Defense Sap S x{{{3|1}}} KHUX.png|{{{4|40x40}}}px]][[File:Defense Sap M x{{{3|1}}} KHUX.png|{{{4|40x40}}}px]]
|#default=[[File:Defense Sap x{{{3|1}}} KHUX.png|{{{4|50x50}}}px]]
|#default=[[File:Defense Sap x{{{3|1}}} KHUX.png|{{{4|40x40}}}px]]
}}
}}
}}<noinclude>
}}<noinclude>
==Usage==
==Usage==
To use this template, use the following code:
To use this template, use the following code:
<pre>{{Debuff|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>{{Debuff|Either "str" or "def"|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.



Revision as of 09:45, 15 October 2017

Usage

To use this template, use the following code:

{{Debuff|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, {{Debuff|str|p|3}} creates:

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

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