Difference between revisions of "Module:Data/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Jackmcbarn
(Created page with '{{module rating|beta}} <!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> This module allows wikitext to read values from data mod...')
 
m (8 revisions imported)
 
(7 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{module rating|beta}}
+
{{High-risk|130,000}}
 +
{{module rating|protected}}
 
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
 
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
  
Line 5: Line 6:
 
== Usage ==
 
== Usage ==
  
  &#123;{#invoke:Data|main|''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>{{#ifeq:{{SUBPAGENAME}}|sandbox||
 
<!-- Categories go here and interwikis go in Wikidata. -->
 
 
 
}}</includeonly>
 

Latest revision as of 16:01, 26 September 2020

  1. REDIRECT Template:High-use

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.