Toggle menu
15
236
70
27.6K
Kenshi Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Created page with "{{Module rating|release}} <!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> This module allows wikitext to read values from data modules. == Usage == <nowiki>{{</nowiki>#invoke:Data|{{var|Module:ModuleName}}|{{var|key1}}|{{var|key2}}|{{var|key3}}|...<nowiki>}}</nowiki> Read data value {{var|key1}}.{{var|key2}}.{{var|key3}} from {{var|Module:ModuleName}}. <includeonly>{{Sandbox other|| <!-- Categories below this line; interw..."
 
No edit summary
Line 1: Line 1:
{{Module rating|release}}
{{doc sub}}
<!-- 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 -->
This module allows wikitext to read values from data modules.
This module allows wikitext to read values from data modules.
== Usage ==
== Usage ==


  <nowiki>{{</nowiki>#invoke:Data|{{var|Module:ModuleName}}|{{var|key1}}|{{var|key2}}|{{var|key3}}|...<nowiki>}}</nowiki>
  &#123;{#invoke:Data|''Module:ModuleName''|''key1''|''key2''|''key3''|...}}
Read data value {{var|key1}}.{{var|key2}}.{{var|key3}} from {{var|Module:ModuleName}}.
Read data value ''key1''.''key2''.''key3'' from ''Module:ModuleName''.


<includeonly>{{Sandbox other||
<includeonly>{{Sandbox other||
<!-- Categories below this line; interwikis at Wikidata -->
<!-- Categories below this line; interwikis at Wikidata -->
[[Category:Utility modules{{#translation:}}]]
[[Category:Modules]]
[[Category:Wikipedia utility modules]]
}}</includeonly><noinclude>
}}</includeonly><noinclude>
[[Category:Module documentation pages{{#translation:}}]]
[[Category:Module documentation pages]]
</noinclude>
</noinclude>

Revision as of 22:42, 27 February 2025

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.

Contents