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
(Created page with "[[Special:ManPage/page:{{{1}}}|{{{2|{{{1}}}}}}]]")
 
(this should work better with commands that are subpages)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Special:ManPage/page:{{{1}}}|{{{2|{{{1}}}}}}]]
+
<noinclude>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.
 +
</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