Template:EMChar: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
m (normal spaces -> non-breaking spaces where necessary.)
mNo edit summary
Line 1: Line 1:
{{#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(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>}}
{{#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(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>
==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>

Revision as of 22:05, May 5, 2016

[[File:{{{char}}}Head{{{game}}}.png|16px|link={{{char}}} ({{{game}}})]]

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.