As far as I understand, the following function:
{{mytemplate|foo|bar|snakes|boat|programming}}
has the following parameters automatically filled for it:
{{mytemplate|1=foo|2=bar|3=snakes|4=boat|5=programming}}
How does the following function autofill when some numbers are defined for it:
{{mytemplate|2=foo|bar|snakes|param=boat|3=programming}}
with param=
being equivalent to 1=
?
Backstory:
I'm writing a string function that will allow a user to extract parameter arguments from a mediawiki function. I have a mediawiki server installed; if this is possible to do via the API, that would work too in solving my issue. Basically I need a stringlist containing all parameters and their corresponding arguments.