Template:File listing: Difference between revisions

From Gallowpedia, the MediEvil Wiki. You'll be dying to read!
(Created page with "<includeonly>{{#tag:pre|{{{1}}}|style="border: none; background: none;"}}</includeonly><noinclude>{{Documentation}}</noinclude>")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{#tag:pre|{{{1}}}|style="border: none; background: none;"}}</includeonly><noinclude>{{Documentation}}</noinclude>
<includeonly>{{#tag:pre|{{{1}}}|class="filelisting"}}</includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 10:17, 23 April 2022

About this template

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

Visit Template:File listing/doc to edit this text! (How does this work?)