Template:man
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 number2
Page name3
Optional page chapterfragment
Optional URL fragment override (it is an encoded parameter3
by default)pkg
Optional package name overrideurl
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=}}
url=
parameter. The site is infamous for returning the HTTP code 404, but then redirecting to a different page with JavaScript.Example
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
aliases(5) (default package) vs. aliases(5) (opensmtpd)
wpa_supplicant(8)