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
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
Test Ausführen von Templates/Widgets mittels frame:preprocess
{{#invoke:lua test|hello|name|Filburt}}
{{#invoke:lua test|hello|name|Filburt}}


Example: Return the descrition of a given project:
Example: Return short name and objective of a given project:
{{#invoke:lua json|getProjectData}}
 
<syntaxhighlight lang="wikitext">
{{#invoke:lua json|getProjectData|Natural Resource Managment}}
</syntaxhighlight>
 
{{#invoke:lua json|getProjectData|Entry:Comments/Comment}}

Latest revision as of 21:14, 6 May 2024

Test Ausführen von Templates/Widgets mittels frame:preprocess

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

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

2024-05-08