Difference between revisions of "Template:l/manpage"

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
Jump to navigation Jump to search
(remove newline -- messes up formatting in lists)
(this should work better with commands that are subpages)
 
Line 2: Line 2:
 
* '''Argument 1''': Command to look up; defaults to the current page name
 
* '''Argument 1''': Command to look up; defaults to the current page name
 
* '''Argument 2''': Text to show for the link; defaults to the given command (arg #1), or to "manpage" if none given.
 
* '''Argument 2''': Text to show for the link; defaults to the given command (arg #1), or to "manpage" if none given.
</noinclude>[[Special:ManPage/page:{{{1|{{PAGENAME}}}}}|{{{2|{{{1|manpage}}}}}}]]
+
</noinclude>[[Special:ManPage/page:{{{1|{{SUBPAGENAME}}}}}|{{{2|{{{1|manpage}}}}}}]]

Latest revision as of 15:40, 17 May 2015

Makes a link to the manpage for the given command.

  • Argument 1: Command to look up; defaults to the current page name
  • Argument 2: Text to show for the link; defaults to the given command (arg #1), or to "manpage" if none given.

manpage