Template:Man: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
== Usage == | == Usage == | ||
A template to link to manual entries on a | A template to link to manual entries on a topic at [https://manpages.debian.org/ manpages.debian.org] | ||
Usage: | Usage: <nowiki>{{</nowiki>man|'''''topic'''''|'''''section'''''|'''''text to display'''''}} | ||
If parameters '''''text to display''''' is not specified it defaults to '''''topic''''' | If parameters '''''text to display''''' is not specified it defaults to '''''topic''''' | ||
Line 10: | Line 10: | ||
For example: | For example: | ||
<nowiki>{{man|setbuf|3|setbuf, setbuffer and friends}} | <nowiki>{{</nowiki>man|setbuf|3|setbuf, setbuffer and friends}} | ||
displays as: | displays as: | ||
{{ | {{man|setbuf|3|setbuf, setbuffer and friends}} | ||
</noinclude><includeonly>[https:// | </noinclude><includeonly>[https://manpages.debian.org/{{urlencode:{{{1|man}}}}}.{{urlencode:{{{2|}}}}}.en.html {{{3|{{{1|man}}}}}}]</includeonly> |
Latest revision as of 09:15, 23 Haziran 2022
Usage
A template to link to manual entries on a topic at manpages.debian.org
Usage: {{man|topic|section|text to display}}
If parameters text to display is not specified it defaults to topic
If parameters section is not specified it defaults to 1
For example: {{man|setbuf|3|setbuf, setbuffer and friends}} displays as: setbuf, setbuffer and friends