Sandbox: Difference between revisions

From Alpine Linux
m (More testing.)
No edit summary
 
(31 intermediate revisions by 3 users not shown)
Line 1: Line 1:
This is a test of an upgraded version of the [[Template:pkg]]. It should preserve the old behavior, <br>
{{Pill_clickable|text=Download|link=https://alpinelinux.org/downloads/}}
 
The following 3 should produce the exact same URL:<br>
Old way with positional parameter 1 only: {{Template:Sandbox|apk}}<br>
New way with name parameter only: {{Template:Sandbox|name=apk}}<br>
Nonsensical combination of old and new: {{Template:Sandbox|apk|name=apk}}<br>
<br>
The following should produce the exact same URLs:<br>
Positional parameter 1 + repo parameter: {{Template:Sandbox|apk|repo=main}}<br>
name parameter + repo parameter: {{Template:Sandbox|name=apk|repo=main}}<br>
Many parameters set: {{Template:Sandbox|name=apk|repo=main|branch=edge|arch=x86_64}}
 
Nonsense handling: Old template (left) vs new (right)
{{pkg}} {{Template:Sandbox}} (no arguments passed whatsoever)

Latest revision as of 16:37, 7 December 2025