Template:Repositories

From Libregamewiki
(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:


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
    • 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…

Examples[edit]

The right table uses the parameter right, while the left table does not use that parameter.

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