User:Dušan Kreheľ/Bot:Sorting of template call parameters

Definition

edit

The task of the bot is to sort the parameters of a call.

Parameters are not usually sorted alphabetically, but it's sorted by something else (e.g. meaning).

Example

edit

Input

edit
{{Persone
| second name = Kreheľ
| first name = Dušan
}}

Output

edit
{{Persone
 | first name  = Dušan
 | second name = Kreheľ
}}

Practical example

edit