Template:Man: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
[https:// | <noinclude> | ||
== Usage == | |||
A template to link to manual entries on a topic at [https://manpages.debian.org/ manpages.debian.org] | |||
Usage: <nowiki>{{</nowiki>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: | |||
<nowiki>{{</nowiki>man|setbuf|3|setbuf, setbuffer and friends}} | |||
displays as: | |||
{{man|setbuf|3|setbuf, setbuffer and friends}} | |||
</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