Template:Leap Day character section/doc

From The Nitrome Wiki
Jump to navigation Jump to search

Description

This template is used for characters on Characters (Leap Day).

File name syntax

This template pulls certain file names and automatically adds them if they exist. Each file should be uploaded under the following names:

  • File:Leap Day {{{name}}}.png - Portrait
  • File:Leap Day {{{name}}} Run.png - Running sprite (frame 4 in the game files)
  • File:Leap Day {{{name}}} Double Jump.png - Double jump sprite (roll001 in the game files)
  • File:Leap Day {{{name}}} Slide.png - Sliding sprite (slide001 in the game files)
  • File:Leap Day {{{name}}} Death.png - Death sprite (death001 in the game files)
  • File:Leap Day {{{name}}} Selfie 1.png - Can be 1, 2 and 3 for each of the selfie poses

    Parameters

Parameter Description
name Name of the character
cameo Description of the character's cameo appearance, if applicable.
split Set to yes if the character's sprite has two forms. (Note: setting this to "no" will automatically set the "selfies" parameter to "no")
selfie Rearrange the order in which the selfies appear on the template from left to right (1, 2, 3) by number in the file name.
selfiew Resize the width of all selfie poses
selfieh Resize the height of all selfie poses
selfies Set to no if the character has no selfie poses (ie. VIP characters)
doublejump Set to no if the character has no distinct double jump animation

Sample output

Example 1

{{Leap Day character section
|name=Char
|selfie2=3
|selfie3=2
|selfieh=60
}}

gives...

Char
Portrait Sprites Selfies
Portrait Run   Double jump   Slide   Death

Selfie    Selfie    Selfie

Example 2

{{Leap Day character section
|name=Hop Swap
|cameo=the [[boy (Hop Swap)|boy]] from [[Hop Swap]]
|selfie1=2
|selfie2=1
|selfiew=50
}}

gives...

Hop Swap
Cameo of the boy from Hop Swap
Portrait Sprites Selfies
Portrait Run   Double jump   Slide   Death

Selfie    Selfie    Selfie

Example 3

{{Leap Day character section
|name=Hard Boiled
|split=yes
|splittop=Pre
|splitbottom=Post
}}

gives...

Hard Boiled
Portrait Sprites Selfies
Portrait Run   Double jump   Slide   Death N/A
Run   Double jump   Slide   Death

See also