Examples

The following example shows how to create a template which will generate pages in a similar style to the mutant penguin network pages.

<html>
<head>
<title>The Mutant Penguin Network : {#prompt:Section of MPN}</title>  <-- Prompt the user for the section of the site the page is for.
<basefont face="sans-serif" size=3>
</head>

<body bgcolor="#000000" text="#00ff00" link="#8080ff" alink="#8080ff" vlink="#8080ff"><font face="sans-serif" size=3>

<a name="top"></a>
<table border=0 cellpadding=5 height=130 width=100% cellspacing=0>
<tr><td valign=center bgcolor="#882200" width=150><img width=150 height=100 alt="The Mutant Penguin Network" src="{#prompt:Image File}"><td valign=center bgcolor="#882200"></td></tr></table>  <-- Prompt the user for the image file to use.

<p><font face="sans-serif" color="#ff3300">
{#loop:main link/prompt}<a href="{#prompt:Target}" target="mpn">{#prompt:Title}</a> : {#endloop:main link}</font>  <-- Loop through creating links until the user says to stop. Prompt for the target for each link and the text to display
<br>{#loop:minor link/prompt}<a href="{#prompt:Target}" target="mpn">{#prompt:Title}</a> : {#endloop:minor link}</p>  <-- Do the same again but for links to anchors within the same page

{#loop:paragraph/prompt}  <-- Create paragaphs until the user says to stop
<p><font color="#ff3300" size=4><b>{#prompt:Paragraph Title}</b></font>  <-- Prompt the user for the title of the paragraph.
<br>{#promptmulti:Paragraph Text}</p>{#endloop:paragraph}  <-- Prompt the user for the text to go in the paragraph and restart loop.

<p align=right><font size=3><tt>mailto:<a href="mailto:{#prompt:E-Mail Address}">{#prompt:E-Mail Address}</a>  <-- Prompt the user for the e-mail address for a link and show e-mail address for the text in the link.
<br>[<a href="#top">return to top of page</a>]</tt></font></p>
</font></body></html>