Replace logic with Lua module (Module:ComponentFields) instead of unrolled loop Tag: Replaced |
m See if removing newline helps with redundant paragraphs in pages |
||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<onlyinclude><includeonly>{| class="wikitable" | <onlyinclude><includeonly>{| class="wikitable mw-collapsible" | ||
|+ Fields | |+ Fields | ||
|- | |- | ||
Line 19: | Line 19: | ||
{{#invoke:ComponentFields|main}} | {{#invoke:ComponentFields|main}} | ||
|- | |- | ||
|} | |}</includeonly></onlyinclude> | ||
</includeonly></onlyinclude> | |||
This template is used to display the table of fields in [[Component]] pages. | This template is used to display the table of fields in [[Component]] pages. |
Latest revision as of 08:21, 4 March 2024
This template is used to display the table of fields in Component pages.
Examples
Basic example. (cropped from VRIK)
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)
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 |