Template:Sandbox: Difference between revisions
m (revert) Tag: Manual revert |
m (Lets try that again...) |
||
Line 19: | Line 19: | ||
</noinclude><includeonly><span class="plainlinks" style="font-family: monospace, Courier;font-size:10pt;">[https://pkgs.alpinelinux.org/packages?name={{urlencode:{{ #if: {{{name|}}} | {{{name}}} |{{{1}}}}}}}&branch={{urlencode:{{ #if: {{{branch|}}} | {{{branch}}} | edge}}}}&repo={{urlencode:{{ #if: {{{repo|}}} | {{{repo}}}}}}}&arch={{urlencode:{{ #ifeq: {{{arch|+}}} | {{{arch|-}}} | {{{arch}}} | x86_64 }}}}&maintainer={{urlencode:{{ #if: {{{maintainer|}}} | {{{maintainer}}}}}}} {{ #if: {{{name|}}} | {{{name}}} |{{{1}}}}}]</span></includeonly> | </noinclude><includeonly>{{#if:{{{1|}}}{{{name|}}} | <span class="plainlinks" style="font-family: monospace, Courier;font-size:10pt;">[https://pkgs.alpinelinux.org/packages?name={{urlencode:{{ #if: {{{name|}}} | {{{name}}} |{{{1}}}}}}}&branch={{urlencode:{{ #if: {{{branch|}}} | {{{branch}}} | edge}}}}&repo={{urlencode:{{ #if: {{{repo|}}} | {{{repo}}}}}}}&arch={{urlencode:{{ #ifeq: {{{arch|+}}} | {{{arch|-}}} | {{{arch}}} | x86_64 }}}}&maintainer={{urlencode:{{ #if: {{{maintainer|}}} | {{{maintainer}}}}}}} {{ #if: {{{name|}}} | {{{name}}} |{{{1}}}}}]</span> | <span class="error">First parameter cannot be undefined or empty in template: <b>Template:Pkg</b></span>}}</includeonly> |
Revision as of 21:27, 28 December 2023
This is the sandbox template that anyone can edit to figure out how templates work or to test a new template before deplying it...
Template Documentation for Sandbox
This page is a template and should only be used as part of other articles. For more information, read Help:Template.
Please do not experiment with this template; you could ruin all pages using this template. If you want to edit this template, copy the text to Template:Sandbox, edit and test it there, and copy it back when it works.
Feel free to voice your opinion regarding this template.An inline link to search for the given package in the Package Browser.
Usage
{{Pkg|package}}
Special characters in the package name will automatically be url-encoded. "*" can be used as a wildcard.
Examples
{{Pkg|gtk+2.0}}
will produce: gtk+2.0
{{Pkg|gtk*}}
will produce: gtk*