Lua: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: 2017 source edit |
No edit summary Tag: 2017 source edit |
||
Line 5: | Line 5: | ||
<syntaxhighlight lang="wikitext"> | <syntaxhighlight lang="wikitext"> | ||
{{#invoke:lua json|getProjectData|Natural Resource Managment}} | {{#invoke:lua json|getProjectData|Natural Resource Managment}} | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{#invoke:lua json|getDataByTitle|titleParam|Natural Resource Managment|targetParam}} | {{#invoke:lua json|getDataByTitle|titleParam|Natural Resource Managment|targetParam}} |
Revision as of 16:04, 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.