No edit summary
No edit summary
Line 4: Line 4:
--- 1. Function norm():
--- 1. Function norm():
---    Cleans template arguments by removing empty values and trimming whitespace.
---    Cleans template arguments by removing empty values and trimming whitespace.
---    Example: {{Template|a| |b| }} becomes {a="a", b="b"}
---
---
--- 2. Function merge():
--- 2. Function merge():
---    Combines current template parameters with parent template parameters.
---    Combines current template parameters with parent template parameters.
---    Example: Current template <code>{{Child|y=2}} + parent {{Parent|x=1}} = {y="2", x="1"}</code>
---
---
--- Source: https://minecraft.wiki/w/Module:ProcessArgs
--- Source: https://minecraft.wiki/w/Module:ProcessArgs