Module:Data/doc: Difference between revisions
Appearance
Content deleted Content added
No edit summary Tag: Reverted |
Undid revision 1234470971 by Malaalaa (talk) |
||
Line 1: | Line 1: | ||
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> |
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> |
||
{{ |
{{High-risk|130,000}} |
||
{{module rating|protected}} |
|||
This module allows wikitext to read values from data modules. |
This module allows wikitext to read values from data modules. |
||
== Usage == |
== Usage == |
||
{{#invoke: |
{{#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>{{ |
<includeonly>{{Sandbox other|| |
||
<!-- Categories below this line; interwikis at Wikidata --> |
<!-- Categories below this line; interwikis at Wikidata --> |
||
[[Category:Wikipedia utility modules]] |
[[Category:Wikipedia utility modules]] |
Latest revision as of 15:00, 14 July 2024
![]() | 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
[edit]{{#invoke:Data|Module:ModuleName|key1|key2|key3|...}}
Read data value key1.key2.key3 from Module:ModuleName.