×
Create a new article
Write your page title here:
We currently have 276 articles on Waste Of Space Wiki. Type your article name above or create one of the articles listed here!



    Waste Of Space Wiki
    Revision as of 20:29, 21 May 2023 by Isabellaa7 (talk | contribs) (Replaced content with "local module = {} local Parts = require("Module:PartJSON") function module.getField() return '<h1 style="color:#FFFFFF; background:#FF69B4">uwu</h1>' end return module")

    Documentation

    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

    A list of all fields retrievable in this module can be found here:

    • Recipe
    • Raw recipe
    • Malleability
    • Description

    Use-case Examples:

    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

    uwu

    Recipe

    uwu

    Raw recipe

    uwu

    Malleability

    uwu


    local module = {}
    
    local Parts = require("Module:PartJSON")
    
    function module.getField()
        return '<h1 style="color:#FFFFFF; background:#FF69B4">uwu</h1>'
    
    end
    
    return module
    
    Cookies help us deliver our services. By using our services, you agree to our use of cookies.

    Recent changes

  • 116.111.185.163 • 2 days ago
  • 116.111.185.163 • 2 days ago
  • 116.111.185.163 • 2 days ago
  • 116.111.185.163 • 2 days ago
  • Cookies help us deliver our services. By using our services, you agree to our use of cookies.