home *** CD-ROM | disk | FTP | other *** search
- ;
- ; TESTFILE.TPL
- ;
- ; This is a test template file which demostrates many of the formatting
- ; and token possibilities of FAN for the FILE template. This template
- ; constructs the "body" of the message, and instructs FAN how to format
- ; each file to be announced in the message.
- ;
-
- -----------------------| Begin File Announcement |--------------------------
-
- Filename: [filename]
- Basename: [filebasename]
- Ext : [fileext]
- Pathname: [filepath]
- Fullname: [filefullname]
- Filesize: [filesize] bytes, [filesizeKB] kilobytes
- File area desc: [fileareadesc]
-
- FileTag : [areatagname]
- Origin : [fileorigin]
-
- File dates:
-
- Year : [fileyear] (2 digits)
- Year : [fileyear4] (4 digits)
- Month : [filemonth] (2 digits)
- Day : [fileday] (2 digits)
-
- File Month, using each index and demostrating left and right justification:
- Left Right
- : |---------|---------|
- Default : [filemonthname,9] [filemonthname,RIGHT,9]
- Index 1 : [filemonthname1,9] [filemonthname1,RIGHT,9]
- Index 2 : [filemonthname2,9] [filemonthname2,RIGHT,9]
- Index 3 : [filemonthname3,9] [filemonthname3,RIGHT,9]
- Index 4 : [filemonthname4,9] [filemonthname4,RIGHT,9]
- Index 5 : [filemonthname5,9] [filemonthname5,RIGHT,9]
- Index 6 : [filemonthname6,9] [filemonthname6,RIGHT,9]
- Index 7 : [filemonthname7,9] [filemonthname7,RIGHT,9]
- Index 8 : [filemonthname8,9] [filemonthname8,RIGHT,9]
- Index 9 : [filemonthname9,9] [filemonthname9,RIGHT,9]
-
- File description formats:
-
- One line, raw : "[filedesc]"
- One line, fixed length : "[filedesc,25]"
- One line, truncated : "[filedesc,TRUNCATE,25]"
- Multiline, wrapped at margins: "[filedesc,MARGINS:31:77] - [text,"Distributed via file area ",MARGINS:31:77][areatagname,MARGINS:31:77]"
-
- Environment variable example:
-
- Thanks, [env:ULNAME], for uploading this file!
-
- ------------------------| End File Announcement |---------------------------
-