Sandbox: Difference between revisions

From Alpine Linux
m (subst:insecure url)
m (Testing a new version of the pkg template)
Line 1: Line 1:
This is a test of an upgraded version of the [[Template:pkg pkg template]]. It should preserve the old behavior, <br>


<small class="nowrap" title="Insecure URL {{{1}}}">&#128275;</small>
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<br>
{{Template:Sandbox|apk|repo=main}}<br>
name parameter + repo parameter<br>
{{Template:Sandbox|name=apk|repo=main}}<br>
name parameter + repo parameter + branch parameter explicitly set to the default value + arch set to the default<br>
{{Template:Sandbox|name=apk|repo=main|branch=edge|arch=x86_64}}

Revision as of 19:52, 28 December 2023

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: #{{{1}}}
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
#{{{1}}}
name parameter + repo parameter + branch parameter explicitly set to the default value + arch set to the default
#{{{1}}}