<td><code>"selected"</code></td>
</tr>
<tr>
- <td><code>selection</code></td>
- <td> Current value e.g. current for current Web, =section="%WEB%" </td>
+ <td><code>selection="%WEB%"</code></td>
+ <td> Current value to be selected in list </td>
+ <td><code>section="%WEB%"</code></td>
</tr>
</table> Examples: <br /><code>%WEBLIST{" * [[$name.WebHome]]"}%</code> creates a bullet list of all webs. <br /><code>%WEBLIST{"<select><option $marker="$marker" value="$qname">$name</option>" webs="Trash,public" selection="%WEB%" separator=" "}%</select></code> Dropdown of all public Webs + Trash Web, current Web highlighted. </td>
</tr>
<tr>
<td><code>%GMTIME%</code></td>
- <td> GM time, is <b>29 Jun 2010 - 15:29</b></td>
+ <td> GM time, is <b>29 Jun 2010 - 15:30</b></td>
</tr>
<tr>
<td><code>%GMTIME{"format"}%</code></td>
<td> 2 digit year </td>
<td> 99 </td>
</tr>
- </table> Variables can be shortened to 3 characters. Example: <br /><code>%GMTIME{"$day $month, $year - $hour:$min:$sec"}%</code> is <br /><b>29 Jun, 2010 - 15:29:33</b></td>
+ </table> Variables can be shortened to 3 characters. Example: <br /><code>%GMTIME{"$day $month, $year - $hour:$min:$sec"}%</code> is <br /><b>29 Jun, 2010 - 15:30:15</b></td>
</tr>
<tr>
<td><code>%SERVERTIME%</code></td>
- <td> Server time, is <b>29 Jun 2010 - 11:29</b></td>
+ <td> Server time, is <b>29 Jun 2010 - 11:30</b></td>
</tr>
<tr>
<td><code>%SERVERTIME{"format"}%</code></td>
- <td> Formatted server time. <br /> Example: <code>%SERVERTIME{"$hou:$min"}%</code> is <b>11:29</b></td>
+ <td> Formatted server time. <br /> Example: <code>%SERVERTIME{"$hou:$min"}%</code> is <b>11:30</b></td>
</tr>
<tr>
<td><code>%HTTP_HOST%</code></td>
</table> Example: <code><b>%SEARCH{"wiki" web="Main" scope="topic"}%</b></code></td>
</tr>
<tr>
+ <td><code>%METASEARCH{...}%</code></td>
+ <td> Special search of meta data <table border="1" cellpadding="0" cellspacing="0">
+ <tr>
+ <th bgcolor="#99CCCC"><strong> Parameter: </strong></th>
+ <th bgcolor="#99CCCC"><strong> Description: </strong></th>
+ <th bgcolor="#99CCCC"><strong> Default: </strong></th>
+ </tr>
+ <tr>
+ <td><code>type="topicmoved"</code></td>
+ <td> What sort of search is required? <br /><code>"topicmoved"</code> if search for a topic that may have been moved <br /><code>"parent"</code> if searcing for topics that have a specific parent i.e. its children </td>
+ <td> required </td>
+ </tr>
+ <tr>
+ <td><code>web="%WEB%"</code></td>
+ <td> Wiki web to search: A web, a list of webs separated by whitespace, or <code>all</code> webs. </td>
+ <td> required </td>
+ </tr>
+ <tr>
+ <td><code>topic="%TOPIC%"</code></td>
+ <td> The topic the search relates to </td>
+ <td> required </td>
+ </tr>
+ <tr>
+ <td><code>title="Title"</code></td>
+ <td> Text the is pre-pended to any search results </td>
+ <td> required </td>
+ </tr>
+ </table> Example: <code><b>%METASEARCH{type="topicmoved" web="%WEB%" topic="%TOPIC%" title="This topic used to exist and was moved to: "}%</b></code>, you may want to use this in [[Main/WebTopicViewTemplate]] and [[Main/WebTopicNonWikiTemplate]]<br /><code><b>%METASEARCH{type="parent" web="%WEB%" topic="%TOPIC%" title="Children: "}%</b></code></td>
+ </tr>
+ <tr>
<td><code>%VAR{"NAME" web="Web"}%</code></td>
<td> Get a preference value from a web other then the current one. Example: To get <code>%WEBBGCOLOR%</code> of the Main web write <code>%VAR{"WEBBGCOLOR" web="Main"}%</code>, is <code><b></b></code></td>
</tr></font></font></table>