Template:EMChar: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
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|}}}|&nbsp;}}}}{{#if:{{{level|}}}|level {{{level}}}{{#if:{{{dmg|}}}{{{stocks|}}}{{{kbgive|}}}{{{kbtake|}}}|&nbsp;}}}}{{#if:{{{dmg|}}}|at {{{dmg}}}%{{#if:{{{stocks|}}}{{{kbgive|}}}{{{kbtake|}}}|&nbsp;}}}}{{#if:{{{stocks|}}}|with {{{stocks}}} stocks{{#if:{{{kbgive|}}}{{{kbtake|}}}|&nbsp;}}}}{{#if:{{{kbgive|}}}{{{kbtake|}}}|{{rollover|Altered knockback|Gives {{{kbgive|1.00}}}x knockback, takes {{{kbtake|1.00}}}x knockback.|y}}}})</small>}}
{{#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|}}}|,&#32;}}}}{{#if:{{{level|}}}|{{#if:{{{mode|}}}|{{rollover|level&nbsp;{{{level}}}|CPU mode: {{{mode}}}|y}}|level&nbsp;{{{level}}}}}{{#if:{{{dmg|}}}{{{hp|}}}{{{stocks|}}}{{{kbgive|}}}{{{kbtake|}}}|,&#32;}}}}{{#if:{{{dmg|}}}|{{{dmg}}}%&nbsp;damage{{#if:{{{hp|}}}{{{stocks|}}}{{{kbgive|}}}{{{kbtake|}}}|,&#32;}}}}{{#if:{{{hp|}}}|{{{hp}}}&nbsp;HP{{#if:{{{stocks|}}}{{{kbgive|}}}{{{kbtake|}}}|,&#32;}}}}{{#if:{{{stocks|}}}|{{{stocks}}}&nbsp;stock{{#ifeq:{{{stocks}}}|1||s}}{{#if:{{{kbgive|}}}{{{kbtake|}}}|,&#32;}}}}{{#if:{{{kbgive|}}}{{{kbtake|}}}|{{rollover|altered&nbsp;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}}* || &mdash; || "y"
|-
| choose || Specify that the character is to be chosen by the player. || {{y}}* || &mdash; || "y"
|-
| char || The character to be used. || {{y}}* || &mdash; || Plain text
|-
| game || The game being referenced. || {{y}}** || &mdash; || Plain text
|-
| cl || The color scheme of the character. || {{n}} || &mdash; || Plain text
|-
| add || To specify gender of wireframes. || {{n}} || &mdash; || Text
|-
| status || Status of the character (e.g. metal, giant, ...) || {{n}} || &mdash; || Text
|-
| level || Level of the AI. || {{n}} || &mdash; || Text
|-
| mode || Mode of the AI. || {{n}} || &mdash; || Plain text
|-
| dmg || Starting damage. || {{n}} || &mdash; || Text
|-
| hp || HP for use in stamina matches. || {{n}} || &mdash; || Text
|-
| stocks || Total stocks. || {{n}} || &mdash; || 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. Yes* "y"
choose Specify that the character is to be chosen by the player. Yes* "y"
char The character to be used. Yes* Plain text
game The game being referenced. Yes** Plain text
cl The color scheme of the character. No Plain text
add To specify gender of wireframes. No Text
status Status of the character (e.g. metal, giant, ...) No Text
level Level of the AI. No Text
mode Mode of the AI. No Plain text
dmg Starting damage. No Text
hp HP for use in stamina matches. No Text
stocks Total stocks. No Text
kbgive Knockback given out by the character. No 1.00 Plain text
kbtake Knockback taken by the character. No 1.00 Plain text

*random, choose, or char parameters are required.
**required if the char parameter is used.