FANDOM


Helper module to get values from data module.

Description

Reads data values such as from the module below:

--Module:data/testdata
return {
    ["key1"]={["key2"]={["key3"]="testvalue1"}},
    ["test1"]={["test2"]={["test3"]="testvalue"}},
}

Syntax

{{#invoke:Data|main|Modulename|key1|key2|key3}}

Examples

CodeOutput
{{#invoke:Data|main|Module:data/testdata|key1|key2|key3}}testvalue1
CodeOutput
{{#invoke:Data|main|Module:data/testdata|test1|test2|test3}}testvalue