TPWiki Syntax
Basic Syntax
Use the following markup to add pieces of flair to any pages you may create or edit.
h1.secName will make a header ( 1 - 7 ) with an ID of secName
you can then link to that section as ^secName:Label^.
h1.secName:blue:white: will make a header with blue text and white background.
will make a header ( 1 - 7 )
will make a header
---secName will create a horizontal rule with an ID of secName
you can then link to that section as ^secName:Label^
*text* will produce bold text
example text
_text_ will produce underlined text
example text
/text/ will produce italic text
example text
-text- will produce strike-through (deleted) text
example text
http://url.com/fileName will automatically link
"Link Name":LinkUrl will create a link
{ Name } will make a link to a wikipage
(Name must not contain spaces.)
{ Name:text } will make a link to a wikipage text export
{ Name:html } will make a link to a wikipage html export
{ Name#target } will make a link to a wikipage "name" and go to section "target" (if target is valid)
^target:label^ will link to header/hr titled "target" in page
{ page#target } will link to "page" and go to "target" within that page
{ page#target:html } will link to "page" exported as HTML and go to "target" within that page
!image url!alt-text! will display an image
!l:image url!alt-text! will display a left aligned image
!r:image url!alt-text! will display a right aligned image
!alt-text is optional but recommended. It will be used in the text export.
%:white:blue:text text text% will change the text
color to white and background color to blue
for all text between : and %.
See a changed text selection
You can change the text color of an entire paragraph with :color:background:
Colons are all mandatory but either color may be left out.
This is an example of a paragraph color change.
: Quoted text will display block-quoted text.
This is an example blockquote.
Lists can be created as unordered or ordered -- ordered lists will be preceeded by a counting number.
Unordered list:
* list item
** Nested item
*** Nested item
* list item
** Nested item
Ordered List:
# list item
## Nested item
### Nested item
# list item
## Nested item
Nested lists may mix types, for example
* Unordered item
## Ordered sub-item
## Ordered sub-item
* Unordered item
Example of a mixed list
- Unordered item
- Ordered sub-item
- Unordered sub-item
- Unordered sub-item
- Ordered sub-item
- Unordered item
|pipes|as|delimeter|
|will|become|table|
| pipes | as | delimeter |
| will | become | table |
Tables can also have colored cells
using the color markup.
|:green:white:o|:white:green:o|:green:white:x|
|:white:green:-x-|:green:white:-x-|:white:green:-x-|
|:green:white:o|:white:green:x|:green:white:o|
Or you can color the entire table
|:white:red:blue:|
|Foreground|Background|
|And border|are colored!|
| Foreground | Background |
| And border | are colored! |
===
Preformatted Text
Will ignore all special markup
===
Notice how the *bold* /italic/ and _underlined_
text markup has been ignored.
===:white:blue:
Preformatted text may also be colored
It is foreground/background
===
Preformatted text may also be colored
It is foreground/background
===+
Preformatted+ Text
will -not- ignore special markup
===
Notice how the bold italic and underlined
text markup has not been ignored.
===+:white:blue:
Preformatted+ text may also be colored
It is foreground/background
===
Preformatted+ text may also be colored
It is foreground/background