View Source:
Help/FileInfoPlugin
Note:
You are viewing an old revision of this page.
View the current version.
The **~FileInfo** [[Help:WikiPlugin|plugin]] displays the date, size, path, etc. of an uploaded file. Only files relative and below to the uploads path can be handled. == Typical Usage == {{{ <<FileInfo file=Upload:image.png display=size,date >> <<FileInfo file=Upload:image.png display=name,size,date format="%s (size: %s, date: %s)" >> }}} == Arguments == {| class="bordered" |- ! Argument ! Description ! Default value |- | **file** | Relative path from PHPWIKI_DIR. | //none// (required argument) |- | **display** | Comma-separated string of size, phonysize, date, mtime, owner, group, name, path, dirname, mime, link | //none// (required argument) |- | **format** | printf format string with %s only, all display modes from above vars return strings | (optional) |- | **quiet** | Boolean. If true, print no error if file is not found. | false |} == Example == {{{ This wiki was installed at <<FileInfo file=config/config.ini display=date>>. }}} This wiki was installed at <<FileInfo file=config/config.ini display=date>>. <noinclude> ---- [[PhpWikiDocumentation]] [[CategoryWikiPlugin]] </noinclude>
BroadcastHistory
HomePage
How to use this Wiki
Adding Pages
List all Categories
Main Categories
CategoryWikiPlugin
CategoryActionPage
Search
Toolbox
Recent Changes
Recent New Pages
What links here
All pages
Recent Changes
RecentChangesCached
Tape Cartridge History
Favorite Categories
WikiPlugin
(140)
ActionPage
(77)
InterWiki
(18)
InterWiki
(18)
View Page
View Source
History
Diff
Sign In