Sandbox: Difference between revisions

From Alpine Linux
m (Testing a new version of the pkg template)
m (Template:Issue testing)
 
(8 intermediate revisions by the same user not shown)
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>
This page is a Sandbox that anyone can edit to test new things!


The following 3 should produce the exact same URL:<br>
Currently testing: New version of Template:Issue that uses parser functions instead of Template:Ifn
Old way with positional parameter 1 only: {{Template:Sandbox|apk}}<br>
 
New way with name parameter only: {{Template:Sandbox|name=apk}}<br>
{{Issue|6}}<br>
Nonsensical combination of old and new: {{Template:Sandbox|apk|name=apk}}<br>
{{Sandbox|6}}
<br>
 
The following should produce the exact same URLs:<br>
{{Issue|6|foobar}}<br>
Positional parameter 1 + repo parameter<br>
{{Sandbox|6|foobar}}
{{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}}

Latest revision as of 00:08, 10 January 2024

This page is a Sandbox that anyone can edit to test new things!

Currently testing: New version of Template:Issue that uses parser functions instead of Template:Ifn

#6
#6

#6. foobar
#6. foobar