Template:Block

From Fancade Wiki

The Block template is an infobox for blocks, primarily script blocks.

Example

Absolute
Absolute.png
TypeScript block
ColliderNone
FolderMath
Ports
Inputs Number
Outputs Number
Box
Box.png
TypeNormal
ColliderBox
FolderTemplates

The example is generated via the following:

{{Block
|title=Absolute
|image=Absolute.png
|type=s
|folder=math
|input1={{Port|n}}
|output1={{Port|n}}
}}

{{Block
|title=Box
|image=Box.png
|type=n
|collider=b
|folder=Templates
}}

Parameters

Keywords:

  • title: Title of block. Defaults to page name if unspecified.
  • image: Image of block. Must be provided.
  • type: First letter of the type of block in lowercase. If unspecified, defaults to normal. There are two options.
    • physics
    • script block
  • collider: First letter of the collider of block in lowercase. If unspecified, defaults to normal. There are two options.
    • box
    • sphere
  • folder: The folder the block is in.
  • input#: # for number. Supports up to five parameters. The input ports of the block, from left to right, top to bottom.
  • output#: # for number. Supports up to five parameters. The output ports of the block, from left to right, top to bottom.