Wiki Usage Tips

See also T Wiki Summary

List a single media item in a topic. Replace xxx with the media topic number.

   * Usage: LISTEXPLICITMEDIA{TOPICLIST="topic,topic"}%

Here is an example. First the code you use.


Twiki syntax allows you to choose the color of the text, but not a way to easily highlight -- like using a felt-tip highlighter

Just enclose the text with the following
<span style="background:yellow"> highlight -- like using a felt-tip highlighter </span>

or you can use the following 'easier to remember' forms:
%HILITE%highlight -- like using a felt-tip highlighter %ENDHILITE%
And here is a sample using this method: highlight -- like using a felt-tip highlighter and the rest that is not highlighted.

Formatted Search of Form Fields

  • Use a string like the following: "FormFieldName\" value=\".*Target.*\"

Block to create form to create a topic

  • with specific topic template and form.
  • And with name specified by the user.
  • Change TYPE and TEMPLATETOPICNAME for each use.

<form action="%SCRIPTURLPATH%/edit%SCRIPTSUFFIX%/%WEB%/">
*Add new TYPE:* <br />
<input type="text" name="topic" size="32" />
<input type="hidden" name="templatetopic" value="TEMPLATETOPICNAME" />
<input type="hidden" name="topicparent" value="PARENTTOPICNAME" />
<input type="submit" value="Add new TYPE" />

  • One click and auto-numbered topic is created.
  • Replace "BaseN" with a unique Wiki Name Base for each series, if you wish to have topic name clickable or
  • Replace "BaseN" with nonWikiName base for each series, such as "M" to create a shortest name that is not clickable.
  • Check number of zeros for length of the number used, such as 00000 means five digits (fixed length).
  • Replace TEMPLATE with the name of the base template
  • Replace PARENTTOPIC with the parent topic name.
  • Replace FORMTEMPLATE with the name of the form to attach.
  • Replace TYPE with the readable name of this type of topic.

[[%SCRIPTURLPATH{"edit"}%/%WEB%/BaseNAUTOINC00000?templatetopic=%WEB%.TEMPLATE&topicparent=%WEB%.PARENTTOPIC&formtemplate=FORMTEMPLATE][Submit New TYPE]]* - Click here to create a new TYPE.

Force Page breaks in printed output

The "sticky" tags are required to avoid removal of these during wsiwyg editing.

<sticky><div style="page-break-before: always">&nbsp;</div></sticky>

This has been defined as %PAGEBREAK% so you can use that now.

-- Raymond Lutz - 09 Aug 2007
Topic revision: r10 - 14 Aug 2016, RaymondLutz
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Cops? Send feedback