home *** CD-ROM | disk | FTP | other *** search
/ World of OS/2 / W_OS_2.BIN / TESTFILE.TPL < prev    next >
Text File  |  1993-06-01  |  2KB  |  56 lines

  1. ;
  2. ; TESTFILE.TPL
  3. ;
  4. ; This is a test template file which demostrates many of the formatting
  5. ; and token possibilities of FAN for the FILE template.  This template
  6. ; constructs the "body" of the message, and instructs FAN how to format
  7. ; each file to be announced in the message.
  8. ;
  9.  
  10. -----------------------| Begin File Announcement |--------------------------
  11.  
  12. Filename: [filename]
  13. Basename: [filebasename]
  14. Ext     : [fileext]
  15. Pathname: [filepath]
  16. Fullname: [filefullname]
  17. Filesize: [filesize] bytes, [filesizeKB] kilobytes
  18. File area desc: [fileareadesc]
  19.  
  20. FileTag : [areatagname]
  21. Origin  : [fileorigin]
  22.  
  23. File dates:
  24.  
  25. Year    : [fileyear] (2 digits)
  26. Year    : [fileyear4] (4 digits)
  27. Month   : [filemonth] (2 digits)
  28. Day     : [fileday] (2 digits)
  29.  
  30. File Month, using each index and demostrating left and right justification:
  31.             Left      Right
  32.         : |---------|---------|
  33. Default :  [filemonthname,9] [filemonthname,RIGHT,9]
  34. Index 1 :  [filemonthname1,9] [filemonthname1,RIGHT,9]
  35. Index 2 :  [filemonthname2,9] [filemonthname2,RIGHT,9]
  36. Index 3 :  [filemonthname3,9] [filemonthname3,RIGHT,9]
  37. Index 4 :  [filemonthname4,9] [filemonthname4,RIGHT,9]
  38. Index 5 :  [filemonthname5,9] [filemonthname5,RIGHT,9]
  39. Index 6 :  [filemonthname6,9] [filemonthname6,RIGHT,9]
  40. Index 7 :  [filemonthname7,9] [filemonthname7,RIGHT,9]
  41. Index 8 :  [filemonthname8,9] [filemonthname8,RIGHT,9]
  42. Index 9 :  [filemonthname9,9] [filemonthname9,RIGHT,9]
  43.  
  44. File description formats:
  45.  
  46. One line, raw                : "[filedesc]"
  47. One line, fixed length       : "[filedesc,25]"
  48. One line, truncated          : "[filedesc,TRUNCATE,25]"
  49. Multiline, wrapped at margins: "[filedesc,MARGINS:31:77] - [text,"Distributed via file area ",MARGINS:31:77][areatagname,MARGINS:31:77]"
  50.  
  51. Environment variable example:
  52.  
  53. Thanks, [env:ULNAME], for uploading this file!
  54.  
  55. ------------------------| End File Announcement |---------------------------
  56.