Module:Sandbox: Difference between revisions

From Path of Exile 2 Wiki
Jump to navigation Jump to search
>OmegaK2
No edit summary
m (257 revisions imported)
 
(12 intermediate revisions by 3 users not shown)
Line 1: Line 1:
local m_util = require('Module:Util')
-- This is not an actual module. Do not add code.
local getArgs = require('Module:Arguments').getArgs
 
local data = { ["_table"] = "items", ["cannot_be_traded_or_modified"] = "0", ["class"] = "One Hand Swords", ["drop_enabled"] = "1", ["drop_level"] = 64, ["frame_type"] = "normal", ["implicit_mods"] = "IncreasedAccuracySwordImplicit8", ["implicit_stat_text"] = "+460 to [[Accuracy Rating]]", ["inventory_icon"] = "File:Vaal Blade inventory icon.png", ["is_corrupted"] = "0", ["is_relic"] = "0", ["metadata_id"] = "Metadata/Items/Weapons/OneHandWeapons/OneHandSwords/OneHandSword20", ["mods"] = "IncreasedAccuracySwordImplicit8", ["name"] = "Vaal Blade", ["name_list"] = "Vaal Blade", ["quality"] = 0, ["rarity"] = "Normal", ["required_dexterity"] = 113, ["required_dexterity_html"] = "<em class=\"tc -value\">113</em>", ["required_dexterity_range_average"] = 113, ["required_dexterity_range_colour"] = "value", ["required_dexterity_range_maximum"] = 113, ["required_dexterity_range_minimum"] = 113, ["required_dexterity_range_text"] = "113", ["required_intelligence"] = 0, ["required_intelligence_html"] = "<em class=\"tc -value\">0</em>", ["required_intelligence_range_average"] = 0, ["required_intelligence_range_colour"] = "value", ["required_intelligence_range_maximum"] = 0, ["required_intelligence_range_minimum"] = 0, ["required_intelligence_range_text"] = "0", ["required_level"] = 64, ["required_level_final"] = 64, ["required_level_html"] = "<em class=\"tc -value\">64</em>", ["required_level_range_average"] = 64, ["required_level_range_colour"] = "value", ["required_level_range_maximum"] = 64, ["required_level_range_minimum"] = 64, ["required_level_range_text"] = "64", ["required_strength"] = 113, ["required_strength_html"] = "<em class=\"tc -value\">113</em>", ["required_strength_range_average"] = 113, ["required_strength_range_colour"] = "value", ["required_strength_range_maximum"] = 113, ["required_strength_range_minimum"] = 113, ["required_strength_range_text"] = "113", ["size_x"] = 2, ["size_y"] = 3, ["stat_text"] = "+460 to [[Accuracy Rating]]", ["tags"] = "sword,one_hand_weapon,onehand,weapon,default", }
 
local p = {}
 
function p.test(frame)
    local tpl_args = getArgs(frame, {
        parentFirst = true
    })
    frame = m_util.misc.get_frame(frame)
    m_util.cargo.store(frame, data)
end
 
return p

Latest revision as of 01:33, 23 September 2024

Module documentation[view] [edit] [history] [purge]


This page is not an actual Scribunto module. It exists to provide editors a place to create experimental modules.

Naming your modules

To keep things tidy, please use the following format to name your experimental modules:

Module:Sandbox/Your username/Module name

Cleaning up unused modules

Experimental modules may be deleted by admins upon request or after a long period of inactivity.

List of modules in this area

For a list of the experimental modules under Module:Sandbox, see Special:PrefixIndex/Module:Sandbox/.

-- This is not an actual module. Do not add code.