Jump to content

Module:Data/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
ExE Boss (talk | contribs)
Malaalaa (talk | contribs)
No edit summary
Tag: Reverted
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}}
{{Wp/wal/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:Data|''Module:ModuleName''|''key1''|''key2''|''key3''|...}}
&#123;{#invoke:Wp/wal/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||
<includeonly>{{Wp/wal/Sandbox other||
<!-- Categories below this line; interwikis at Wikidata -->
<!-- Categories below this line; interwikis at Wikidata -->
[[Category:Wikipedia utility modules]]
[[Category:Wikipedia utility modules]]

Revision as of 14:59, 14 July 2024

Template:Wp/wal/High-risk

This module allows wikitext to read values from data modules.

Usage

{{#invoke:Wp/wal/Data|Module:ModuleName|key1|key2|key3|...}}

Read data value key1.key2.key3 from Module:ModuleName.