Template:EMChar: Difference between revisions
From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
Serpent King (talk | contribs) m (Needs tested.) |
(As requested here.) |
||
(19 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{head|{{{char}}}|g={{{game}}}|cl={{{cl|}}}|s=16px}}{{#if:{{{status|}}}{{{level|}}}{{{dmg|}}}{{{stocks|}}}{{{kbgive|}}}{{{kbtake|}}}|<small> ({{#if:{{{status|}}}|{{{status}}}{{#if:{{{level|}}}{{{dmg|}}}{{{stocks|}}}{{{kbgive|}}}{{{kbtake|}}}|& | {{#if:{{{random|}}}|Random|{{#if:{{{choose|}}}|Choose|{{head|{{{char}}}|g={{{game}}}|cl={{{cl|}}}|s=16px}}}}}}{{{add|}}}{{#if:{{{status|}}}{{{level|}}}{{{dmg|}}}{{{hp|}}}{{{stocks|}}}{{{kbgive|}}}{{{kbtake|}}}|<small> ({{#if:{{{status|}}}|{{{status}}}{{#if:{{{level|}}}{{{dmg|}}}{{{hp|}}}{{{stocks|}}}{{{kbgive|}}}{{{kbtake|}}}|, }}}}{{#if:{{{level|}}}|{{#if:{{{mode|}}}|{{rollover|level {{{level}}}|CPU mode: {{{mode}}}|y}}|level {{{level}}}}}{{#if:{{{dmg|}}}{{{hp|}}}{{{stocks|}}}{{{kbgive|}}}{{{kbtake|}}}|, }}}}{{#if:{{{dmg|}}}|{{{dmg}}}% damage{{#if:{{{hp|}}}{{{stocks|}}}{{{kbgive|}}}{{{kbtake|}}}|, }}}}{{#if:{{{hp|}}}|{{{hp}}} HP{{#if:{{{stocks|}}}{{{kbgive|}}}{{{kbtake|}}}|, }}}}{{#if:{{{stocks|}}}|{{{stocks}}} stock{{#ifeq:{{{stocks}}}|1||s}}{{#if:{{{kbgive|}}}{{{kbtake|}}}|, }}}}{{#if:{{{kbgive|}}}{{{kbtake|}}}|{{rollover|altered knockback|Gives {{{kbgive|1.00}}}x knockback, takes {{{kbtake|1.00}}}x knockback.|y}}}})</small>}}<noinclude> | ||
==Usage== | |||
Use this template to describe a player's options and statistics. Primarily for use on [[List of event matches]]. | |||
==Parameters== | |||
{| class="wikitable" | |||
|- | |||
! Parameter !! Description !! Required? !! Default !! Usage | |||
|- | |||
| random || Specify that the character is chosen at random. || {{y}}* || — || "y" | |||
|- | |||
| choose || Specify that the character is to be chosen by the player. || {{y}}* || — || "y" | |||
|- | |||
| char || The character to be used. || {{y}}* || — || Plain text | |||
|- | |||
| game || The game being referenced. || {{y}}** || — || Plain text | |||
|- | |||
| cl || The color scheme of the character. || {{n}} || — || Plain text | |||
|- | |||
| add || To specify gender of wireframes. || {{n}} || — || Text | |||
|- | |||
| status || Status of the character (e.g. metal, giant, ...) || {{n}} || — || Text | |||
|- | |||
| level || Level of the AI. || {{n}} || — || Text | |||
|- | |||
| mode || Mode of the AI. || {{n}} || — || Plain text | |||
|- | |||
| dmg || Starting damage. || {{n}} || — || Text | |||
|- | |||
| hp || HP for use in stamina matches. || {{n}} || — || Text | |||
|- | |||
| stocks || Total stocks. || {{n}} || — || Text | |||
|- | |||
| kbgive || Knockback given out by the character. || {{n}} || 1.00 || Plain text | |||
|- | |||
| kbtake || Knockback taken by the character. || {{n}} || 1.00 || Plain text | |||
|} | |||
<small>*'''random''', '''choose''', or '''char''' parameters are required.<br> | |||
<nowiki>**</nowiki>required if the '''char''' parameter is used. | |||
</small> | |||
</noinclude> |
Latest revision as of 01:33, June 7, 2021
[[File:{{{char}}}Head{{{game}}}.png|16px|link={{{char}}} ({{{game}}})]]
Usage
Use this template to describe a player's options and statistics. Primarily for use on List of event matches.
Parameters
Parameter | Description | Required? | Default | Usage |
---|---|---|---|---|
random | Specify that the character is chosen at random. | * | — | "y" |
choose | Specify that the character is to be chosen by the player. | * | — | "y" |
char | The character to be used. | * | — | Plain text |
game | The game being referenced. | ** | — | Plain text |
cl | The color scheme of the character. | — | Plain text | |
add | To specify gender of wireframes. | — | Text | |
status | Status of the character (e.g. metal, giant, ...) | — | Text | |
level | Level of the AI. | — | Text | |
mode | Mode of the AI. | — | Plain text | |
dmg | Starting damage. | — | Text | |
hp | HP for use in stamina matches. | — | Text | |
stocks | Total stocks. | — | Text | |
kbgive | Knockback given out by the character. | 1.00 | Plain text | |
kbtake | Knockback taken by the character. | 1.00 | Plain text |
*random, choose, or char parameters are required.
**required if the char parameter is used.