Sandbox
This is a test of an upgraded version of the Template:pkg. It should preserve the old behavior,
The following 3 should produce the exact same URL:
Old way with positional parameter 1 only: apk{{{2}}}
New way with name parameter only: {{{1}}}{{{2}}}
Nonsensical combination of old and new: apk{{{2}}}
The following should produce the exact same URLs:
Positional parameter 1 + repo parameter: apk{{{2}}}
name parameter + repo parameter: {{{1}}}{{{2}}}
Many parameters set: {{{1}}}{{{2}}}
Nonsense handling: Old template (left) vs new (right) First parameter cannot be undefined or empty in template: Template:Pkg {{{1}}}{{{2}}} (no arguments passed whatsoever)