Template:Table ComponentFields: Difference between revisions

Template page
Replace logic with Lua module (Module:ComponentFields) instead of unrolled loop
Tag: Replaced
make collapsible
Line 1: Line 1:
<onlyinclude><includeonly>{| class="wikitable"
<onlyinclude><includeonly>{| class="wikitable mw-collapsible"
|+ Fields
|+ Fields
|-
|-

Revision as of 23:47, 1 March 2024


This template is used to display the table of fields in Component pages.

Examples

Basic example. (cropped from VRIK)

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled.
FixTransformsEnabled Bool Clamps IK transforms to reasonable values and Resets IK every update.
componentInitiated Bool
IKPosition Float3
IKPositionWeight Float Weight of the IK


Example using TypeString to specify a different type from the link. (cropped from Component:ScaleObjectCreator)

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled.
Manager ScaleObjectManager
_sizeParser QuantityTextEditorParser<Distance>
_material FresnelMaterial