Template:Attributes-SSBC: Difference between revisions

From Mizuumi Wiki
Jump to navigation Jump to search
(Implemented cargo and updated parameter names to be camel case.)
mNo edit summary
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly><!--
<noinclude><!--
--------------------------------------------------
Cargo Declaration
--------------------------------------------------
-->{{#cargo_declare:
_table=SSBC_CharacterAttributes
| gameCharacter = String
| nameDisplayed = String
| stockIcon = String
| weight = Float
| gravity = Float
| maxJumps = Integer
| walkSpeed = Float
| runStart = Float
| runAccel = Float
| runSpeed = Float
| friction = Float
| jumpMomentum = Float
| jumpSpeed = Float
| midJumpSpeed = Float
| shortHopSpeed = Float
| airSpeed = Float
| fallSpeed = Float
| fastFall = Float
| airAccel = Float
| airFriction = Float
| airDash = Float
| canCrawl = Boolean
| canWallJump = Boolean
| canWallCling = Boolean
| canWallClimb = Boolean
| canFloat = Boolean
| floatInfo = Wikitext String
| canGlide = Boolean
| canDJC = Boolean
| canZAir = Boolean
| zAirInfo = Wikitext String
| specialMoves = Wikitext
}}</noinclude><includeonly><!--
--------------------------------------------------
--------------------------------------------------
Display Table
Display Table
--------------------------------------------------
--------------------------------------------------
-->{| class="wikitable" width="600px" style="text-align:center"
-->{| class="wikitable" width="600px" style="text-align:center"
|+ {{{character|}}} Attributes
|+ {{{name|}}} Attributes
! Max Jumps !! Weight !! Gravity !! Friction
! Max Jumps !! Weight !! Gravity !! Friction
|-
|-
Line 54: Line 92:
Cargo Store
Cargo Store
--------------------------------------------------
--------------------------------------------------
-->{{#cargo_store:
-->{{#ifeq:{{{storeInCargo|true}}}|true|{{#cargo_store:
_table=SSBC_CharacterAttributes
_table=SSBC_CharacterAttributes
| gameCharacter = {{{character|}}}
| gameCharacter = {{{character|}}}
| nameDisplayed = {{{name|}}}
| stockIcon = {{{stockIcon|}}}
| weight = {{{weight|}}}
| weight = {{{weight|}}}
| gravity = {{{gravity|}}}
| gravity = {{{gravity|}}}
Line 97: Line 137:
                     | zAirInfo = {{#if:{{{zAirInfo|}}}|{{{zAirInfo}}}}}
                     | zAirInfo = {{#if:{{{zAirInfo|}}}|{{{zAirInfo}}}}}
                   }}
                   }}
}}</includeonly><noinclude><!--
  }}
--------------------------------------------------
}}</includeonly><noinclude>
Cargo Declaration
--------------------------------------------------
-->{{#cargo_declare:
_table=SSBC_CharacterAttributes
| gameCharacter = String
| weight = Float
| gravity = Float
| maxJumps = Integer
| walkSpeed = Float
| runStart = Float
| runAccel = Float
| runSpeed = Float
| friction = Float
| jumpMomentum = Float
| jumpSpeed = Float
| midJumpSpeed = Float
| shortHopSpeed = Float
| airSpeed = Float
| fallSpeed = Float
| fastFall = Float
| airAccel = Float
| airFriction = Float
| airDash = Float
| canCrawl = Boolean
| canWallJump = Boolean
| canWallCling = Boolean
| canWallClimb = Boolean
| canFloat = Boolean
| floatInfo = Wikitext String
| canGlide = Boolean
| canDJC = Boolean
| canZAir = Boolean
| zAirInfo = Wikitext String
| specialMoves = Wikitext
}}
{{Documentation}}
{{Documentation}}
[[Category:Super Smash Bros. Crusade]]
[[Category:Super Smash Bros. Crusade]]
</noinclude>
</noinclude>

Latest revision as of 17:31, 29 June 2022

This template defines the table "SSBC_CharacterAttributes". View table.

Template DocumentationEdit This Documentation

Usage

Everything is self explanatory except for stockIcon, which is there purely for the Cargo table. Just fill it as the character's stock icon filename, like SSBC_Mario_Stock.png.

{{Attributes-SSBC
| character	= 
| name          = 
| stockIcon	= 
| weight	= 
| gravity	= 
| maxJumps	= 
| walkSpeed	= 
| runStart	= 
| runAccel	= 
| runSpeed	= 
| friction	= 
| jumpMomentum	= 
| jumpSpeed	= 
| midJumpSpeed	= 
| shortHopSpeed	= 
| airSpeed	= 
| fallSpeed	= 
| fastFall	= 
| airAccel	= 
| airFriction	= 
| airDash	= 
| canCrawl	= 
| canWallJump	= 
| canWallCling	= 
| canWallClimb	= 
| canFloat	= 
| canGlide	= 
| canDJC	= 
| canZAir	= 
}}

Example

Note: This example uses a parameter storeInCargo to prevent this example being stored in the Cargo table.

Mario Attributes
Max Jumps Weight Gravity Friction
3
Average
0.25
Middleweight
0.25
High
0.88
Walk Speed Run Start Speed Run Acceleration Run Speed
2.00
Average
3
Average
0.15
3.50
Jump Momentum Jump Speed Mid Jump Speed Short Hop Speed
0.70
6.50
6.60
3.20
Air Speed Fall Speed Fast Fall Multiplier Airdash Speed
2.35
3.10
1.50
8
Average
Air Acceleration Air Friction Special Actions
0.20
0.10
Wall Jump

This documentation is automatically transcluded from Template:Attributes-SSBC/Documentation and is not included when this page is transcluded.