Template:Port: Difference between revisions

From Fancade Wiki
No edit summary
m (Migrate to Template:Documentation)
 
(3 intermediate revisions by the same user not shown)
Line 17: Line 17:
|o=Object
|o=Object
|c=Constraint
|c=Constraint
}}}}}</includeonly><noinclude>
}}}}}</includeonly><noinclude>{{Documentation}}</noinclude>
* {{Port|e}}
* {{Port|n}}
* {{Port|v|Position}}
* {{Port|r}}
* {{Port|t}}
* {{Port|o}}
* {{Port|c}}
</noinclude>

Latest revision as of 05:53, 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