Jump to content

Module:Data/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Malaalaa (talk | contribs)
No edit summary
Tag: Reverted
Malaalaa (talk | contribs)
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 -->
{{Wp/wal/High-risk|130,000}}
{{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 ==


&#123;{#invoke:Wp/wal/Data|''Module:ModuleName''|''key1''|''key2''|''key3''|...}}
&#123;{#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>{{Wp/wal/Sandbox other||
<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 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.