Template:Repositories

From Libregamewiki
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
|Fedora = fedora-packagename
|Ubuntu = ubuntu-packagename
|Gentoo = gentoo-category/gentoo-packagename
|Mageia = mageia-packagename
|Slack = slack-packagename
|Suse = suse-packagename
|Flatpak = url.backwards-to.flatpak-packagename
|Snap = snap-packagename
|FreeBSD = bsd-packagename
|Haiku = haiku-category/haiku-packagename
|F-Droid = fdroid-packagename
}}

This will the following result:


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, and AUR
    • Debian: Debian
    • Fedora: Fedora
    • Ubuntu: Ubuntu
    • Gentoo: Gentoo
    • Mageia: Mageia
    • Suse: Suse
    • Flatpak: Flatpak
    • Slackware: Slack
    • Snap: Snap
    • FreeBSD: FreeBSD
    • Haiku: Haiku
    • F-Droid: F-Droid
    • more to be added…

Examples[edit]

Available as a package in:  
Arch: 0ad 
Openlogo-debianV2.svg Debian: 0ad 
Fedora logo.svg Fedora: 0ad  
Gentoo Linux logo matte.svg Gentoo: games-strategy/0ad 
OpenSUSE Logo.svg OpenSUSE: 0ad 
Flatpak logo.png Flatpak: com.play0ad.zeroad 
Snapcraft-logo.svg Snap: 0ad
Available as a package in:  
Arch: nethack 
Openlogo-debianV2.svg Debian: nethack-console 
Fedora logo.svg Fedora: nethack  
Gentoo Linux logo matte.svg Gentoo: games-roguelike/nethack