Template:Port/doc: Difference between revisions

From Fancade Wiki
(Transferring documentation with minor changes)
 
m (Insert Description section)
 
Line 1: Line 1:
== Description ==
The '''Port''' template displays the type and name of the port of a [[Script Block|script block]].
The '''Port''' template displays the type and name of the port of a [[Script Block|script block]].



Latest revision as of 06:30, 23 August 2025

Description

The Port template displays the type and name of the port of a script block.

Parameters

Positional:

  • Type: The first letter (in lowercase) corresponding to the type of wire. There are seven types:
    • execution
    • number
    • vector
    • rotation
    • truth
    • object
    • constraint
  • Name: Optional. The name of the port. If unspecified, defaults to the type of the wire, used in custom script blocks.

Example

  • {{Port|n}}: Number
  • {{Port|v|Position}}: Position