Abbreviation Note Template for putting message boxes in abbr-mode lists.
[show modes: view edit info]
[begin mode view]
    [replace(replace($_body, "[msg_start]", msg_start()), "[msg_end]", msg_end())]

	[$children = children("abbr", $_id);
	 iif($children, echo("<h2>Sub-pages</h2><ol>" & $children & "</ol>"), "");]

[end mode view]
[begin mode bare]
	[replace(replace($_body, "[msg_start]", msg_start()), "[msg_end]", msg_end())]
[end mode bare]
[begin mode abbr]
	[replace(replace($_body, "[msg_start]", msg_start()), "[msg_end]", msg_end())]
	[$children = children("abbr", $_id);
	 iif($children, echo("<li><a href="/?[$_title]">[$_title]</a><ol>" & $children & "</ol></li>"), "");]

[end mode abbr]
[begin mode info]
	<table>
	<tr><th>Title:</th><td>[info_display($_title)]</td></tr>
	<tr><th>Subtitle:</th><td>[info_display($_subtitle)]</td></tr>
	<tr><th>Parent:</th><td>[$_parent]</td></tr>
	<tr><th>Permissions:</th><td>[$_permissions]</td></tr>
	<tr><th>Author:</th><td>[$_author]</td></tr>
	<tr><th>Group:</th><td>[$_group]</td></tr>
	<tr><th>ID:</th><td>[$_id]</td></tr>
	<tr><th>Date:</th><td>[$_date]</td></tr>
	<tr><th>Priority:</th><td>[$_priority]</td></tr>
	<tr><th>Template:</th><td>[$_template]</td></tr>
	<tr><th>Body:</th><td>[info_display($_body)]</td></tr>
    </table>
[end mode info]
[begin mode edit]
    <form method="post" action="/" width="100%">
        <input type="hidden" name="page" value="[$_title]">
        <input type="hidden" name="mode" value="submit">
		<table width="100%">
        <tr><th>Title:</th><td><input type="text" class="textbox" name="title" value="[edit_display($_title)]" style="width: 100%"></td></tr>
        <tr><th>Subtitle:</th><td><input type="text" class="textbox" name="subtitle" value="[edit_display($_subtitle)]" style="width: 100%"></td></tr>
        <tr><th>Parent:</th><td><input type="text" class="textbox" name="parent" value="[$_parent]"></td></tr>
        <tr><th>Permissions:</th><td><input type="text" class="textbox" name="permissions" value="[$_permissions]"></td></tr>
        <tr><th>Author:</th><td><input type="text" class="textbox" name="author" value="[$_author]"></td></tr>
        <tr><th>Group:</th><td><input type="text" class="textbox" name="group" value="[$_group]"></td></tr>
        <tr><th>Priority:</th><td><input type="text" class="textbox" name="priority" value="[$_priority]"></td></tr>
        <tr><th>Template:</th><td><input type="text" class="textbox" name="template" value="[$_template]"></td></tr>
        <tr><th>Body:</th><td><textarea class="textbox" name="body" rows="20" cols="70">[edit_display($_body)]</textarea></td></tr>
		<tr><td></td><td>
        <span class="buttonbox"><input name="submitButton" class="submit" type="submit" value="Submit"></span> <i>your permissions</i>: [$_viewer.permissions]</td></tr></table>
    </form>
[end mode edit]
[begin mode submit]
    [$_title = $_params.title]
    [$_subtitle = $_params.subtitle]
    [$_parent = $_params.parent]
    [$_permissions = $_params.permissions]
    [$_author = $_params.author]
    [$_group = $_params.group]
    [$_body = $_params.body]
    [$_priority = $_params.priority]
    [$_template = $_params.template]
    <h2>It was submitted.</h2>
    <a href="/?[$_title]">Return to it.</a>
[end mode submit]