Template:File listing/doc

From Gallowpedia, the MediEvil Wiki. You'll be dying to read!

This template is used to render a file listing on the Wiki, specifically ones generated by using the ls command.

Usage

Simply pass the output of the file listing as the template's first parameter.

Example

This:

{{File listing|
Mode                LastWriteTime         Length Name
----                -------------         ------ ----
d-----       20/08/1997     07:30                DD
d-----       21/08/1997     06:58                IQ
d-----       21/08/1997     07:00                JETDEMO
d-----       21/08/1997     06:53                MEDIEVIL
d-----       20/08/1997     07:29                MOVIES
d-----       21/08/1997     06:57                NC_DEMO
d-----       21/08/1997     06:59                PARAPPA
d-----       21/08/1997     06:55                S1
--r---       19/05/1997     10:22       34821404 BLANK.RAW
--r---       05/12/1995     23:57          26624 SCED_009.86
--r---       11/08/1997     07:21             60 SYSTEM.CNF
}}

Will produce this:

Mode                LastWriteTime         Length Name
----                -------------         ------ ----
d-----       20/08/1997     07:30                DD
d-----       21/08/1997     06:58                IQ
d-----       21/08/1997     07:00                JETDEMO
d-----       21/08/1997     06:53                MEDIEVIL
d-----       20/08/1997     07:29                MOVIES
d-----       21/08/1997     06:57                NC_DEMO
d-----       21/08/1997     06:59                PARAPPA
d-----       21/08/1997     06:55                S1
--r---       19/05/1997     10:22       34821404 BLANK.RAW
--r---       05/12/1995     23:57          26624 SCED_009.86
--r---       11/08/1997     07:21             60 SYSTEM.CNF