Sandbox

From Alpine Linux
Revision as of 19:52, 28 December 2023 by Zcrayfish (talk | contribs) (Testing a new version of the pkg template)

This is a test of an upgraded version of the Template:pkg pkg template. It should preserve the old behavior,

The following 3 should produce the exact same URL:
Old way with positional parameter 1 only: apk
New way with name parameter only: First parameter cannot be undefined or empty in template: Template:Pkg
Nonsensical combination of old and new: apk

The following should produce the exact same URLs:
Positional parameter 1 + repo parameter
apk
name parameter + repo parameter
First parameter cannot be undefined or empty in template: Template:Pkg
name parameter + repo parameter + branch parameter explicitly set to the default value + arch set to the default
First parameter cannot be undefined or empty in template: Template:Pkg