Template:man

From ArchWiki
Note: This page is a template. It contains no Arch Linux-related information, but should be used as part of other articles. For more information, read Help:Template.

Please do not experiment with this template; you could ruin all pages using this template. If you want to edit this template, copy the text to Template:Sandbox, edit and test it there, and copy it back when it works.

Feel free to voice your opinion regarding this template.

Link to an online man page, defaulting to the Arch manual pages repository.

Usage

  • 1 Section number
  • 2 Page name
  • 3 Optional page chapter
  • fragment Optional URL fragment override (it is an encoded parameter 3 by default)
  • pkg Optional package name override
  • url Optional URL override

{{man|1|intro|NOTES}}

{{man|8|mount|FILESYSTEM-INDEPENDENT MOUNT OPTIONS}}

{{man|1|resolvectl|COMPATIBILITY WITH RESOLVCONF(8)}}

{{man|8|pacman|TRANSACTION OPTIONS (APPLY TO -S, -R AND -U)}}

{{man|5|systemd.network|[ROUTE] SECTION OPTIONS}}

{{man|1|mpv|3=--vo=<driver>|fragment=vo=_driver_}}

{{man|5|aliases}} (default package) vs. {{man|5|aliases|pkg=opensmtpd}} (opensmtpd)

{{man|1|mandoc|url=https://mandoc.bsd.lv/man/mandoc.1.html}}

{{man|8|wpa_supplicant|url=}}

Note: Do not use links to https://manpages.ubuntu.com/ for the url= parameter. The site is infamous for returning the HTTP code 404, but then redirecting to a different page with JavaScript.

Example

intro(1) § NOTES

mount(8) § FILESYSTEM-INDEPENDENT MOUNT OPTIONS

resolvectl(1) § COMPATIBILITY WITH RESOLVCONF(8)

pacman(8) § TRANSACTION OPTIONS (APPLY TO -S, -R AND -U)

systemd.network(5) § [ROUTE] SECTION OPTIONS

mpv(1) § --vo=<driver>

aliases(5) (default package) vs. aliases(5) (opensmtpd)

mandoc(1)

wpa_supplicant(8)