Module:Data/doc: Difference between revisions
From Kenshi Wiki
More actions
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: | ||
{{ | {{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 == | ||
{{#invoke:Data|''Module:ModuleName''|''key1''|''key2''|''key3''|...}} | |||
Read data value | 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: | [[Category:Modules]] | ||
[[Category:Wikipedia utility modules]] | |||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
[[Category:Module documentation pages | [[Category:Module documentation pages]] | ||
</noinclude> | </noinclude> |
Revision as of 22:42, 27 February 2025
This is a documentation subpage for Module:Data. It may contain usage information, categories and other content that is not part of the original module page. |
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.