Module:Data/doc: Difference between revisions
Appearance
Content deleted Content added
→See also: Unrelated |
|||
Line 1: | Line 1: | ||
⚫ | |||
{{High-risk|130,000}} |
{{High-risk|130,000}} |
||
{{module rating|protected}} |
{{module rating|protected}} |
||
⚫ | |||
This module allows wikitext to read values from data modules. |
This module allows wikitext to read values from data modules. |
||
Line 8: | Line 8: | ||
{{#invoke:Data|''Module:ModuleName''|''key1''|''key2''|''key3''|...}} |
{{#invoke:Data|''Module:ModuleName''|''key1''|''key2''|''key3''|...}} |
||
Read data value ''key1''.''key2''.''key3'' from ''Module:ModuleName''. |
Read data value ''key1''.''key2''.''key3'' from ''Module:ModuleName''. |
||
<includeonly>{{Sandbox other|| |
|||
<!-- Categories below this line; interwikis at Wikidata --> |
|||
[[Category:Wikipedia utility modules]] |
|||
}}</includeonly><noinclude> |
|||
[[Category:Module documentation pages]] |
|||
</noinclude> |
Revision as of 11:42, 25 July 2021
![]() | This Lua module is used on approximately 154,000 pages. To avoid major disruption and server load, any changes should be tested in the module's /sandbox or /testcases subpages, or in your own module sandbox. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
This module allows wikitext to read values from data modules.
Usage
{{#invoke:Data|Module:ModuleName|key1|key2|key3|...}}
Read data value key1.key2.key3 from Module:ModuleName.