Module:ModuleData/Order

Revision as of 20:47, 24 October 2018 by Kroppeb (talk | contribs) (Created page with "return { { source = "title"; tag = "title"; label = ""; default = "pagename"; }; { source = "image"; tag = "image";...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Documentation for this module may be created at Module:ModuleData/Order/doc

return {
    {
        source = "title";
        tag = "title";
        label = "";
        default = "pagename";
    };
    {
        source = "image";
        tag = "image";
        label = "";
        default = "imageNotYetReleased";
    };
    {
        source = "imagecaption";
        tag = "imagecaption";
        label = "imagecaption";
        default = "";
    };
    {
        source = "lag";
        tag = "data";
        label = "lagLevel";
        default = "unknown";
        special = {
            {
                transform = "string";
                require = {
                    count = 1;
                };
                result = "$/5";
            };
            {
                require = {
                    type = "string";
                    count = 3;
                };
                result = "$";
            };
        };
    };
    --[[{
        source = "game";
        tag = "data";
        label = "gameStandard";
        default = "unknown";
        special = {
            {
                transform = "string";
                require = {
                    count = 1;
                };
                result = "$/5";
            };
            {
                require = {
                    type = "string";
                    count = 3;
                };
                result = "$";
            }
        }
    };]]
    {
        source = "madeBy";
        tag = "data";
        label = "madeBy";
        default = "unknown";
    };
    {
        source = "dimensions";
        tag = "data";
        label = "moduleDimension";
        default = "unknown";
        special = {
            {
                require = {
                    type = "string";
                };
                result = "$";
            };
            {
                require = {
                    type = "table";
                    count = 3;
                };
                result = {
                    format = {1; "dimensionsMultiply"; 2; "dimensionsSeparator"; 3; "high"};
                    separatorMid = " ";
                    separatorEnd = " ";
                };
            };
        };
    };
    {
        source = "required";
        tag = "data";
        label = "requiredModules";
        default = "none";
    };
    {
        source = "compatible";
        tag = "data";
        label = "compatibleModules";
        default = "none";
    };
    {
        source = "mmRarity";
        tag = "data";
        label = "mmRarity";
        default = "";
    };
    {
        source = "versions";
        tag = "data";
        label = "availableVersions";
        default = "";
    };
}