Template:Linux Command/testcases: Difference between revisions

From HPC Wiki
Jump to:navigation Jump to:search
(Created page with "<noinclude>{{Template testcases notice}}</noinclude> {{Testcase|title=Wiki and Man links |<nowiki>{{Linux Command}}</nowiki> |{{Linux Command Table|1= {{Linux Command|ls|wiki=...")
 
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{Template testcases notice}}</noinclude>
<noinclude>{{Template testcases notice}}</noinclude>
{{Testcase|title=Wiki and Man links
{{Testcase|title=Single command in table
|<nowiki>{{Linux Command}}</nowiki>
|<nowiki>{{Linux Command Table|1=
{{Linux Command|ls|wiki=Ls|man=man1/ls.1.html|list directory contents}}
}}
</nowiki>
|{{Linux Command Table|1=
|{{Linux Command Table|1=
{{Linux Command|ls|wiki=ls(unix)|man=ls.man|show files}}
{{Linux Command|ls|wiki=Ls|man=man1/ls.1.html|list directory contents}}
}}
|{{Linux Command Table/sandbox|1=
{{Linux Command/sandbox|ls|wiki=Ls|man=man1/ls.1.html|list directory contents}}
}}
}}
}}
|{{XYZ/sandbox}}
 
{{Testcase|title=Three commands in table, one with no man link, one with no wiki link, one with no description
|<nowiki>{{Linux Command Table|1=
{{Linux Command|ls|wiki=Ls|man=man1/ls.1.html|list directory contents}}
{{Linux Command|id|wiki=Id_(Unix)}}
{{Linux Command|df|wiki=Df_(Unix)|man=man1/report file system disk space usage}}
}}
</nowiki>
|{{Linux Command Table|1=
{{Linux Command|ls|wiki=Ls|man=man1/ls.1.html|list directory contents}}
{{Linux Command|id|wiki=Id_(Unix)}}
{{Linux Command|df|man=man1/df.1.html|report file system disk space usage}}
}}
|{{Linux Command Table/sandbox|1=
{{Linux Command/sandbox|ls|wiki=Ls|man=man1/ls.1.html|list directory contents}}
{{Linux Command/sandbox|id|wiki=Id_(Unix)}}
{{Linux Command/sendbox|df|man=man1/df.1.html|report file system disk space usage}}
}}
}}
}}

Latest revision as of 10:50, 19 April 2017

Single command in table
Wiki code {{Linux Command Table|1= {{Linux Command|ls|wiki=Ls|man=man1/ls.1.html|list directory contents}} }}

Main version
Command Documentation Description
ls list directory contents
Sandbox version Template:Linux Command Table/sandbox
Three commands in table, one with no man link, one with no wiki link, one with no description
Wiki code {{Linux Command Table|1= {{Linux Command|ls|wiki=Ls|man=man1/ls.1.html|list directory contents}} {{Linux Command|id|wiki=Id_(Unix)}} {{Linux Command|df|wiki=Df_(Unix)|man=man1/report file system disk space usage}} }}

Main version
Command Documentation Description
ls list directory contents
id (description missing)
df report file system disk space usage
Sandbox version Template:Linux Command Table/sandbox