Template:Repositories
(Redirected from User:Nudin/repotemplate)
Jump to navigation
Jump to search
Documentation[edit]
This Template can be used to indicate which distributions have a package for the given software. You can use it like this:
{{Repositories |Arch = arch-packagename |Debian = debian-packagename |F-Droid = fdroid-packagename |Fedora = fedora-packagename |Flatpak = url.backwards-to.flatpak-packagename |FreeBSD = bsd-packagename |Haiku = haiku-category/haiku-packagename |Gentoo = gentoo-category/gentoo-packagename |Mageia = mageia-packagename |Slack = slack-packagename |Snap = snap-packagename |Suse = suse-packagename |Ubuntu = ubuntu-packagename }}
This will yield the following result:
Arch: | arch-packagename |
---|---|
Debian: | debian-packagename |
F-Droid: | fdroid-packagename |
Fedora: | fedora-packagename |
Flatpak: | url.backwards-to.flatpak-packagename |
FreeBSD: | bsd-packagename |
Gentoo: | gentoo-category/gentoo-packagename |
Haiku: | haiku-category/haiku-packagename |
Mageia: | mageia-packagename |
Slackware: | slack-packagename |
Snap: | snap-packagename |
OpenSUSE: | suse-packagename |
Ubuntu: | ubuntu-packagename |
Parameters[edit]
- Postitioning (has to be given as first parameter)
right
– make the box float on the right side- nothing – adds the box right where it's defined
- Distributions:
- Arch:
Arch
,ArchExtra
, andAUR
- Debian:
Debian
- F-Droid:
F-Droid
- Fedora:
Fedora
- Flatpak:
Flatpak
- FreeBSD:
FreeBSD
- Gentoo:
Gentoo
- Haiku:
Haiku
- Mageia:
Mageia
- Slackware:
Slack
- Snap:
Snap
- Suse:
Suse
- Ubuntu:
Ubuntu
- more to be added…
- Arch:
Examples[edit]
The right table uses the parameter right
, while the left table does not use that parameter.
Arch: | 0ad |
---|---|
Debian: | 0ad |
Fedora: | 0ad |
Flatpak: | com.play0ad.zeroad |
Gentoo: | games-strategy/0ad |
Snap: | 0ad |
OpenSUSE: | 0ad |
Ubuntu: | 0ad |
Arch: | nethack |
---|---|
Debian: | nethack-console |
Fedora: | nethack |
Gentoo: | games-roguelike/nethack |
Ubuntu: | nethack |