FIW template system
This file shows all the templates that are defined for the FIW parser. Note that this file must use the iso-latin1 character encoding (ISO-8859-1).
If you want to add new templates (this won't be necessary, as you can simply copy the full template into your file), every template has to start with a <hR><h2>#$#templatename</h2> line. (Note the capital R). Each template ends at the next <hR> or <!-- hR --> tag.
Template names may only contain lowercase letters, digits and ASCII special chars except colon, semicolon, hash (#), dollar and plus. They may not conflict with one of the following internal tags (but, of course, they may use them):
- #$#ps.ednum;
- Edition number from your project's settings (not formatted)
- #$#ps.key;
- Public URI from your project's settings
- #$#ps.keynoslash;
- Public URI from your project's settings without leading slash
- #$#ps.keyonly;
- Public SSK from your project's settings
- #$#ps.pubkey;
- the "raw" public key (without /SSK@ and PAgM)
- #$#ps.privkey;
- disabled by default - see the source (HTMLParser.java) how to enable.
- #$#ps.projname;
- Project name from your project's settings
- #$#ps.keydir;
- key dir from your project's settings
- #$#ps.actlink;
- ActiveLink from your project's settings
- #$#ps.nimpref;
- Nim prefix from your project's settings
- #$#ps.nextnim;
- Next free NIM slot from your project's settings
- #$#tags.title;
- the title you gave the freesite on the tags settings page.
- #$#tags.category;
- the category you gave the freesite on the tags settings page.
- #$#tags.author;
- the author you gave for the freesite on the tags settings page.
- #$#tags.description;
- the contents of your description.txt
- #$#number;
- the number itself
- #$#tag1+tag2;
- the sum of the numbers the two tags give
- #$#e:tag;
- format the result of tag as an edition number
- #$#date:format;
- inserts current GMT date and time in given format. If format is empty, "EEEE, yyyy-MM-dd HH:mm:ss" is used. For RFC compliant dates, use "EEE, dd MMM yyyy HH:mm:ss ZZZZ".
- #$#url:url;
- inserts contents of url
- #$#file:filename;
- inserts a file (located in .fiw/include)
- #$##
- the text "#$#"
- #$#def:tag;
- following text (re)defines tag #$#tag
- #$#def:end;
- following text is for the document (end of definition)
- #$#def:add:tag;
- following text defines tag #$#tag, if that one is not defined yet.
#$#edition;
If there is an image, click it for a more recent edition: |
|
 |
 |
 |
Edition #$#e:ps.ednum+1; |
Edition #$#e:ps.ednum+2; |
Edition #$#e:ps.ednum+3; |
inserted with FIW |
#$#edition2;
If there is an image, click it for a more recent edition: |
|
 |
 |
Edition #$#e:ps.ednum+1; |
Edition #$#e:ps.ednum+2; |
inserted with FIW |
#$#edition.customcolor;
#$#def:add:color;#BBFFBB#$#def:end;
If there is an image, click it for a more recent edition: |
|
 |
 |
 |
Edition #$#e:ps.ednum+1; |
Edition #$#e:ps.ednum+2; |
Edition #$#e:ps.ednum+3; |
inserted with FIW |
#$#pagetags-edition;
[this will add page tags to your site - for edition sites. see TFEE for details.]
#$#pagetags-dbr;
[this will add page tags to your site - for DBR sites. see TFEE for details.]
#$#pagetags-oneshot;
[this will add page tags to your site - for one shot sites. see TFEE for details.]
#$#nim.nochecker;
#$#nim;
#$#nimcheckers;
#$#def:add:oldnims;##$#def:end;
#$#nimcheckers.noolder;
#$#feedbackboxes;
| Feedback | Response |
#$#ps.nextnim+0; | | |
#$#ps.nextnim+1; | | |
#$#ps.nextnim+2; | | |
#$#ps.nextnim+3; | | |
#$#ps.nextnim+4; | | |
#$#ps.nextnim+5; | | |
#$#ps.nextnim+6; | | |
#$#ps.nextnim+7; | | |
#$#ps.nextnim+8; | | |
#$#ps.nextnim+9; | | |
|