This is the documentation page for Module:GetPartInfo
Documentation[edit source | hide | hide all]
GetPartInfo can be invoked using
{{#invoke:GetPartInfo|getField|FIELD}}
Replace "FIELD" with the wanted field, like:
{{#invoke:GetPartInfo|getField|Recipe}}
Additionally, you may add a second parameter to specify which part's information you want to retrieve, if this is not provided it will guess that the wanted part has the same name as the page's title. Usually, this will only need to be used if the page requests information about a part that the page isn't named after. An example of this is:
{{#invoke:GetPartInfo|getField|Recipe|WirelessButton}}
Fields[edit source | hide]
A list of all fields retrievable in this module can be found here:
- Recipe
- Raw recipe
- Malleability
- Description
Use-case Examples:[edit source | hide]
These are some examples of the module being used in which all of them specify information of the "HyperDrive" part to be retrieved:
In-game Description[edit source | hide]
"A device used to travel at faster than light speeds to other regions of the universe. Simply input the coordinates to your destination and have a sufficient amount of fuel, and you'll be on your way to your destination. To initiate warping, power the hyperdrive and trigger it. When warping, the hyperdrive will be anchored to prevent any movement. The power required for warping will be dependent on the distance travelled, as well as the size of the object being transported. The amount of power required will be displayed in the hyper drive, shown in the red text. All of the parts connected to the hyperdrive and every player sitting will be teleported, however any free floating parts or standing up players will be sucked into the vaccum of space, so be careful. The red text at the bottom of the hyperdrive indicates how much power is needed to perform the jump. Make sure the numbers on the hyperdrive is facing up to ensure correct stud alignment. "
Recipe[edit source | hide]
Raw recipe[edit source | hide]
Malleability[edit source | hide]
Fixed size