Jump to content

Template:Pmaport: Difference between revisions

From postmarketOS Wiki
Alpabrz (talk | contribs)
Added new template Pmaport, copy of PMPkg which should redirect to this.
 
Alpabrz (talk | contribs)
m Adapt lowercase, bring page & formatting of template closer to Template:aport.
Line 1: Line 1:
<noinclude>{{Template:Template}}
<noinclude>{{Template:Template}}{{DISPLAYTITLE:Template:pmaport}}


Allows you to search for the package in the [http://pkgs.postmarketos.org/packages postmarketOS Repos].
Allows you to search for the package in the [http://pkgs.postmarketos.org/packages postmarketOS repos]. In contrast to its base ([[Template:aport]]) it searches for all architectures and versions rather than only for <code>x86_64</code> aports on <code>edge</code>.
 
== Usage ==
<pre>{{pmaport|package}}</pre>
 
Special characters in the package name will automatically be url-encoded. "*" can be used as a wildcard.


==Example==
==Example==


{{Pmaport|postmarketos-base}}
<pre>{{pmaport|postmarketos-base}}</pre>
will produce:
{{pmaport|postmarketos-base}}
 
<pre>{{pmaport|postmarketos*}}</pre>
will produce: {{pmaport|postmarketos*}}


==See also==
==See also==
* [[Template:Aport]]
* [[Template:aport]]
* [[Templates]]
* [[Templates]]


</noinclude><includeonly><span style="font-family: monospace;">[http://pkgs.postmarketos.org/packages?name={{urlencode:{{{1}}}}} {{{1}}}<sup>PMOS</sup>]</span></includeonly>
</noinclude><includeonly><span class="plainlinks" style="font-family: monospace, Courier;font-size:10pt;">[http://pkgs.postmarketos.org/packages?name={{urlencode:{{{1}}}}} {{{1}}}<sup>PMOS</sup>]</span></includeonly>

Revision as of 23:41, 11 February 2021

This page is a template. It contains no postmarketOS-related information, but should be used as part of other articles.

Check out all pages using this template and feel free to discuss it in the gitlab issues.

For more information, read Templates and Template:Template.

Allows you to search for the package in the postmarketOS repos. In contrast to its base (Template:aport) it searches for all architectures and versions rather than only for x86_64 aports on edge.

Usage

{{pmaport|package}}

Special characters in the package name will automatically be url-encoded. "*" can be used as a wildcard.

Example

{{pmaport|postmarketos-base}}

will produce: postmarketos-basePMOS

{{pmaport|postmarketos*}}

will produce: postmarketos*PMOS

See also