Template:Port: Difference between revisions
Nikitaivanov (talk | contribs) (Created page with "<includeonly><span class="port-rectangle port-rectangle-{{ #switch:{{{1}}} |e=execution |n=number |v=vector |r=rotation |t=truth |o=object |c=constraint }}"></span> {{{2|{{ #switch:{{{1}}} |e=Execution |n=Number |v=Vector |r=Rotation |t=Truth |o=Object |c=Constraint }}}}}</includeonly><noinclude> * {{Port|n}} * {{Port|v|Position}} * {{Port|r}} * {{Port|t}} * {{Port|o}} * {{Port|c}} </noinclude>") |
-u ndefined- (talk | contribs) m (Migrate to Template:Documentation) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 17: | Line 17: | ||
|o=Object | |o=Object | ||
|c=Constraint | |c=Constraint | ||
}}}}}</includeonly><noinclude> | }}}}}</includeonly><noinclude>{{Documentation}}</noinclude> | ||
</noinclude> |
Latest revision as of 05:53, 23 August 2025
Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this documentation. (About template documentation) |
Editors can experiment in this template's sandbox and test case pages. |
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