Enter The Freenetrix
The Freenet Help Site
Enter The Freenetrix
Licences used on this wiki
Welcome admin to Freenet WikiServer
Edit Page - Diff - Revisions - Title Search - Preferences - Bottom
 
The HTML template file is located at PageTemplate.html (this can be previewed in your browser).

The file can use any HTML, and is unparsed except for anything between pairs of $ symbols, e.g. $$BODY$$. The following symbols are replaced:

$$BODY$$

Replaced with the text of the page

$$FOOTER$$

Replaced with the footer for the page

$$TITLE$$

Replaced with the page's title (for <title> tags)

$$HEADING$$

Replaced with the page's heading (for <h1> tags, etc.)

$$HOMEPAGE$$

Replaced with the name of the current user's homepage

$$DEFPAGE$$

Replaced with the name of the default page

$$$$

Replaced with the string $$

If PageTemplate.html does not exist, Wiki Server uses the following default which reproduces the style of Wiki Server V1.0:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head><title>$$TITLE$$</title></head>
<body>
<h1><a href=\"/$$DEFPAGE$$\"><img src=\"Icon.jpg\" alt=\"Home\"></a> $$HEADING$$</h1>
$$BODY$$
<hr>
$$FOOTER$$									
</body>
</html>