Lua: Difference between revisions

From Visual Data Wiki
Jump to navigation Jump to search
No edit summary
Tag: 2017 source edit
No edit summary
Tag: 2017 source edit
Line 7: Line 7:
</syntaxhighlight>
</syntaxhighlight>


{{#invoke:NameOfYourModule|getDataByTitle|titleParam|Natural Resource Managment|targetParam}}
{{#invoke:lua json|getDataByTitle|titleParam|Natural Resource Managment|targetParam}}

Revision as of 16:03, 16 March 2024

Example: Return short name and objective of a given project:

{{#invoke:lua json|getProjectData|Natural Resource Managment}}

Script error: The function "getDataByTitle" does not exist.