Loading...
 
Skip to main content

Wiki Syntax and Editing tips

Tiki Wiki CMS Groupware has a rich and flexible system for formatting and presenting pages. This page describes how to format text, using wiki syntax, on wiki pages and other area that support wiki formatting (including articles, forums, and blogs).

About wiki syntax

Wiki syntax is a markup language used in a wiki web page. (For a broader overview of wiki syntax, please see Why Wiki Syntax Is Important.) To avoid requiring users to learn HTML, wiki syntax uses common characters in uncommon ways (or character combinations that are not normally used together) and provides them with a special meaning. Some of the character combinations only work at the beginning of a line, while others can be inserted anywhere in the text and are active until a closing combination of characters is met.

Wiki syntax uses a character repeated twice for most functions, but it also has a few two-character combinations. With a two-character combination, the characters are reversed to turn off the function. Monospaced text provides a good example of this; the minus (-) and plus (+) characters are used to start the using monospaced text and plus (+) and minus (-) characters specify the end of it.

Quick reference - text formatting

Command Name Code Result
Bold __Your Text__ Your Text
Italic ''Your Text'' Your Text
Underline ===Your Text=== Your Text
Strikethrough --Your Text-- Your Text
Centered ::Your Text::
Your Text
Heading 1 ! Your Text

Your Text

Heading 2 !! Your Text

Your Text

Heading 3 !!! Your Text

Your Text

Bullet List * Item 1 (new line) * Item 2
  • Item 1
  • Item 2
Numbered List # Item 1 (new line) # Item 2
  1. Item 1
  2. Item 2
Link [http://example.com|Example] Example
Wiki references/links ((HomePage)) HomePage
Line break ~ %%% Carriage Return added (useful especially in tables)

Advanced
Colored Text ~~blue:Your Text~~ Your Text (color can be HTML: #ffffff)
Text in a box ^Your Text^
Your Text
Title bar -=Your Title=-
Your Title



Basic inline text formatting

The wiki syntax described in this section can be located anywhere in the text so that specific characters, words, or sentences can be emphasized.

Colored text

Text can be any color you want it to be. Two tildes ( ~ ) are used followed by the name of a color and a colon ( : ) to specify the start of the colored text. Two more tildes ( ~ ) are used to end the section of colored text.

Example: ~~red:This is text is red.~~ produces: This is text is red.


Colored text can also be specified using HTML hex color codes. (See https://en.wikipedia.org/wiki/Web_colors). The syntax is two tildes ( ~ ) followed by the pound ( # ) character and the hex numbers with a colon ( : ) followed by the text to be colored. Two tildes mark the end of the colored text.

Example: ~~#ff00ff:This is text is the color Magenta. ~~ produces: This is text is the color Magenta.

Bold text

Two underscore ( _ ) characters are used to make text bold.

Example: __This text is bold__ produces: This text is bold

Italic text

Two single quote ( ' ) characters are used to make text italic.

Example: ''This text is italic.'' produces: This text is italic.

Underlined text

Three equal ( = ) characters are used to underline text.

Example: ===This text is underlined.=== produces: This text is underlined.

Strikethrough text


Use two hyphens ( - ) to create strike-through text.

Example:
--This is strikethrough text.--
produces:
This is strikethrough text.

Centered text

Two colon ( : ) characters are used to center text or other content. The centered-text syntax (which create a centered HTML div) can be used in conjunction with a box, a table, or other page element.

Example: ::This text is centered.:: produces:
This text is centered.

Monospace text

Monospace text is useful when displaying code and can be created in two ways. When an entire line is to be monospace, simply start the new line with one or more spaces. For instances of monospace text within a line of normal text, use a combination of minus (-) and plus (+) characters before and (reversing their poisitions) after the monospace text.

Example: -+This Text uses a Monospaced Font+- produces: This is monospace text.

When using monospace text, keep the line length short. If the line is too long, it may cause page display problems.
Leading-space monospace text is an option and may be disabled on the Tiki site.

Text box

Apply one caret at start and end of text or other content to display it with a border (in a box).

Example: ^This text is in a box.^ produces:

This text is in a box.


Technical note: The box is an HTML div class="simplebox" (prior to Tiki 13) or "well" (Tiki 13 - 18) whose appearance depends on the theme stylesheet in use.

Plain text

To turn off wiki formatting, surround the text with "np" (or "no processing/parsing") tags.

Example: ~np~This ''text'' is __not__ being ===formatted===~/np~


produces:

This ''text'' is __not__ being ===formatted===

Using square brackets

To include square brackets in text (that is, as regular text and not to create an external link, which square brackets normally do in wiki syntax) simply add an additional opening bracket at the beginning.

Example:

[[This displays as text in square brackets, not as a link.]

produces

[This displays as text in square brackets, not as a link.]

Non-breaking space

Use ~hs~ to add the HTML " " for a hard space, or non-breaking space.

Comments

Wiki comment

~tc~This is a wiki comment. ~/tc~
It will be stored with the page and can be seen in the edit-page view but not seen when the page or page source is viewed.

HTML Comment

~hc~ This is an HTML comment. ~/hc~
It will be stored with the page and will generate an HTML comment of the form
<!-- This is an HTML comment. -->
it will not be seen when the page is viewed but will be seen when the page source is viewed.