Difference between revisions of "Template:Man"

From ArchWiki
Jump to: navigation, search
(update URL to our new site, see Template talk:man#Sources)
m (switch to https)
 
Line 30: Line 30:
 
         title="$ man {{{1}}} {{{2}}}"
 
         title="$ man {{{1}}} {{{2}}}"
 
         >{{#if: {{{url}}}
 
         >{{#if: {{{url}}}
             |[{{{url|http://jlk.fjfi.cvut.cz/arch/manpages/man/{{urlencode:{{{2}}}}}.{{{1}}}{{#if: {{{3|}}}
+
             |[{{{url|https://jlk.fjfi.cvut.cz/arch/manpages/man/{{urlencode:{{{2}}}}}.{{{1}}}{{#if: {{{3|}}}
 
                 | #{{urlencode:{{{3|}}}|PATH}}
 
                 | #{{urlencode:{{{3|}}}|PATH}}
 
                 | }}}}} {{{2}}}({{{1}}})]
 
                 | }}}}} {{{2}}}({{{1}}})]
 
             |{{{2}}}({{{1}}})
 
             |{{{2}}}({{{1}}})
 
         }}</span></includeonly>
 
         }}</span></includeonly>

Latest revision as of 09:58, 20 January 2018

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
  • url Optional url override

{{man|1|intro|NOTES}}

{{man|7|archlinux|url=https://projects.archlinux.org/svntogit/packages.git/tree/filesystem/trunk/archlinux.7.txt#n15}}

{{man|8|mount|FILESYSTEM-INDEPENDENT_MOUNT_OPTIONS}}

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

Example

intro(1)

archlinux(7)

mount(8)

wpa_supplicant(8)