Template:Repositories

From Libregamewiki
(Redirected from User:Nudin/repotemplate)
Jump to: navigation, search


Documentation[edit]

This Template can be used to indicate which distributions have a packge for the given Software. You can use it like this:

{{Repositories
|Arch = arch-packagename
|Debian = debian-packagename
|Fedora = fedora-packagename
|Ubuntu = fedora-packagename
}}

This will the following result:

Available as package in:  
Archlinux-icon-crystal-64.svg Arch: arch-packagename 
Openlogo-debianV2.svg Debian: debian-packagename 
Fedora logo.svg Fedora: fedora-packagename  
UbuntuCoF.svg Ubuntu: fedora-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 and AUR
    • Debian: Debian
    • Fedora: Fedora
    • Gentoo: Gentoo
    • Ubuntu: Ubuntu
    • Suse: Suse
    • Mageia: Mageia
    • more to be added…

Examples[edit]

Available as package in:  
Archlinux-icon-crystal-64.svg 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: play0ad
Available as package in:  
Archlinux-icon-crystal-64.svg Arch: nethack 
Openlogo-debianV2.svg Debian: nethack-console 
Fedora logo.svg Fedora: nethack  
Gentoo Linux logo matte.svg Gentoo: games-roguelike/nethack