Skip to main content
18.217.98.175

Help: Wiki Formatting

Wiki Formatting

Wiki markup is a core feature for Topic pages, tightly integrating all the other parts of Trac into a flexible and powerful whole.

This site has a built in small and powerful wiki rendering engine. This wiki engine implements an ever growing subset of the commands from other popular Wikis, especially MoinMoin.

This page demonstrates the formatting syntax available anywhere Wiki Formatting is allowed.

Font Styles

The pages supports the following font styles:

 * '''bold''', '''!''' can be bold too''', and '''! '''
 * ''italic''
 * '''''bold italic'''''
 * __underline__
 * {{{monospace}}} or `monospace`
 * ~~strike-through~~
 * ^superscript^ 
 * ,,subscript,,

Display:

  • bold, ! can be bold too, and !
  • italic
  • bold italic
  • underline
  • monospace or monospace
  • strike-through
  • superscript
  • subscript

Notes:

  • {{{...}}} and `...` commands not only select a monospace font, but also treat their content as verbatim text, meaning that no further wiki processing is done on this text.
  • ! tells wiki parser to not take the following characters as wiki format, so pay attention to put a space after !, e.g. when ending bold.

Headings

You can create heading by starting a line with one up to five equal characters (”=”) followed by a single space and the headline text. The line should end with a space followed by the same number of = characters. The heading might optionally be followed by an explicit id. If not, an implicit but nevertheless readable id will be generated.

Example:

= Heading =
== Subheading ==
=== About ''this'' ===
=== Explicit id === #using-explicit-id-in-heading

Display:

Heading

Subheading

About this

Explicit id

Paragraphs

A new text paragraph is created whenever two blocks of text are separated by one or more empty lines.

A forced line break can also be inserted, using:

Line 1[[BR]]Line 2

Display:

Line 1
Line 2

Lists

The wiki supports both ordered/numbered and unordered lists.

NOTE: The first character of a list item must be a space: “ * text”

Example:

 * Item 1
  * Item 1.1
 * Item 2

 # Item 1
  # Item 1.a
  # Item 1.b
   # Item 1.b.i
  # Item 1.b.ii
 # Item 2

Display:

  • Item 1
    • Item 1.1
  • Item 2
  1. Item 1
    1. Item 1.a
    2. Item 1.b
      1. Item 1.b.i
      2. Item 1.b.ii
  2. Item 2

Note that there must be one or more spaces preceding the list item markers, otherwise the list will be treated as a normal paragraph.

For multi-line content within a listed item, the content must be indented the same number of spaces as the initial list line content. That is, if it takes 3 characters to start a list “(space)#(space)Content”, the multi-line content must be indented 3 spaces.

Example:

 * One
 * Two[[br]]
   Multi-line content
 * Three
  • One
  • Two
    Multi-line content
  • Three

Definition Lists

The wiki also supports definition lists. Definition terms start with one space “ “ and end with double colons “::”. Definitions must be on the line immediately following the term and start with two to three spaces.

Example:

A line with no beginning spaces.

 llama::
   some kind of mammal, with hair
 ppython::
   some kind of reptile, without hair
   (can you spot the typo?)

Display:

A line with no beginning spaces.

llama
some kind of mammal, with hair
ppython
some kind of reptile, without hair
(can you spot the typo?)

Preformatted Text

Block containing preformatted text are suitable for source code snippets, notes and examples. Use three curly braces wrapped around the text to define a block quote. The curly braces need to be on a separate line.

Example:

{{{
  def HelloWorld():
      print "Hello World"
}}}

Display:

 def HelloWorld():
     print "Hello World"

Blockquotes

In order to mark a paragraph as blockquote, indent that paragraph with two spaces.

Example:

  This text is a quote from someone else.

Display:

This text is a quote from someone else.


Simple tables can be created like this:

||Cell 1||Cell 2||Cell 3||
||Cell 4||Cell 5||Cell 6||

Display:

Cell 1 Cell 2 Cell 3
Cell 4 Cell 5 Cell 6

Cell headings can be specified by wrapping the content in a pair of ‘=’ characters. Note that the ‘=’ characters have to stick to the cell separators, like this:

||        ||= stable =||= latest =||
||= 0.10 =||  0.10.5  || 0.10.6dev||
||= 0.11 =||  0.11.6  || 0.11.7dev||

Display:

stable latest
0.10 0.10.5 0.10.6dev
0.11 0.11.6 0.11.7dev

Finally, specifying an empty cell means that the next non empty cell will span the empty cells. For example:

|| 1 || 2 || 3 ||
|||| 1-2 || 3 ||
|| 1 |||| 2-3 ||
|||||| 1-2-3 ||

Display:

1 2 3
1-2 3
1 2-3
1-2-3

To explicitly align content:

||= attribute list =||= longer column  =||
||<. align left     ||   longer text    ||
||>. align right    ||   longer text    ||
||=. center         ||   longer text    ||
||<>. justify       ||   longer text    ||
||^. valign top     || longer[[br]]text ||
||~. bottom         || longer[[br]]text ||

Display:

attribute list longer column
align left longer text
align right longer text
center longer text
justify longer text
valign top longer
text
bottom longer
text

Note that if the content of a cell “sticks” to one side of the cell and only one, then the text will be aligned on that side. Explicit alignment (above) will override this. Example:

||=Text =||= Numbers =||
||left align    ||        1.0||
||      right align||     4.5||
|| default alignment ||   2.5||
||default||         2.5||
||  default ||      2.5||
|| default ||       2.5||
||<.     left align||     4.5||
Text Numbers
left align 1.0
right align 4.5
default alignment 2.5
default 2.5
default 2.5
default 2.5
left align 4.5

Links

Hyperlinks are automatically created for WikiPageNames and URLs. WikiPageLinks can be disabled by prepending an exclamation mark “!” character, such as !WikiPageLink.

Example:

  MainPage, http://www.edgewall.com/, !NotAlink

Display:

MainPage, http://www.edgewall.com/, NotAlink

Links can be given a more descriptive title by writing the link followed by a space and a title and all this inside square brackets. If the descriptive title is omitted, then the explicit prefix is discarded, unless the link is an external link. This can be useful for wiki pages not adhering to the WikiPageNames convention.

Example:

 * [http://www.edgewall.com/ Edgewall Software]
 * [MainPage Main Page]
 * [Help:WikiMacros]

Display:

Setting Anchors

An anchor, or more correctly speaking, an anchor name can be added explicitly at any place in the Wiki page, in order to uniquely identify a position in the document:

[=#point1]

It’s also very close to the syntax for the corresponding link to that anchor:

[#point1]

Example usage:

[#point2 jump to the second point]

...

Point2:  [=#point2] Jump here

jump to the second point

Point2: Jump here

Escaping Links and Wiki Page Names

You may avoid making hyperlinks out of WikiLinks by preceding an expression with a single “!” (exclamation mark).

Example:

 !NoHyperLink
 !#42 is not a link

Display: NoHyperLink !#42 is not a link

Images

The simplest way to include an image is to upload it as attachment to the current page, and put the filename in a macro call like [[Image(picture.gif)]].

In addition to the current page, it is possible to refer to other resources:

  • [[Image(picture.gif)]] (simplest)
  • [[Image(picture.gif, 120px)]] (give it a specific width)
  • [[Image(picture.gif, right)]] (align by keyword)
  • [[Image(picture.gif, nolink)]] (unlinked)
  • [[Image(picture.gif, align=right)]] (align by attribute)

See Wiki Macros for further documentation on the [[Image()]] macro.

Macros

Macros are custom functions to insert dynamic content in a page.

Example:

[[Timestamp]]

Display: 2024-11-24 04:01:59

See Wiki Macros for more information, and a list of installed macros.

Miscellaneous

Four or more dashes will be replaced by a horizontal line.

Example:

----

Display:


Created on , Last modified on

Debug Console

Close7 MBRequestSessionTimelineDatabase30Events15
$_GET
Array( ) Array(

)
$_POST
Array( ) Array(

)
$_COOKIE
Array( ) Array(

)
$_SERVER
Array( TEMP => /var/www/tmp, TMPDIR => /var/www/tmp, TMP => /var/www/tmp, PATH => /usr/lo... Array(
TEMP => /var/www/tmp,
TMPDIR => /var/www/tmp,
TMP => /var/www/tmp,
PATH => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin,
USER => apache,
HOME => /var/www,
FCGI_ROLE => RESPONDER,
REDIRECT_HTTP_AUTHORIZATION => ,
REDIRECT_UNIQUE_ID => Z0KlN1m8zdf7Uqut7wPiLAAAABY,
REDIRECT_SCRIPT_URL => /wiki/Help:WikiFormatting,
REDIRECT_SCRIPT_URI => https://shunko.aws.hubzero.org/wiki/Help:WikiFormatting,
REDIRECT_HTTPS => on,
REDIRECT_SSL_TLS_SNI => shunko.aws.hubzero.org,
REDIRECT_STATUS => 200,
HTTP_AUTHORIZATION => ,
UNIQUE_ID => Z0KlN1m8zdf7Uqut7wPiLAAAABY,
SCRIPT_URL => /wiki/Help:WikiFormatting,
SCRIPT_URI => https://shunko.aws.hubzero.org/wiki/Help:WikiFormatting,
HTTPS => on,
SSL_TLS_SNI => shunko.aws.hubzero.org,
HTTP_ACCEPT => */*,
HTTP_USER_AGENT => Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com),
HTTP_ACCEPT_ENCODING => gzip, br, zstd, deflate,
HTTP_HOST => shunko.aws.hubzero.org,
SERVER_SIGNATURE => ,
SERVER_SOFTWARE => Apache,
SERVER_NAME => shunko.aws.hubzero.org,
SERVER_ADDR => 10.68.128.8,
SERVER_PORT => 443,
REMOTE_ADDR => 18.217.98.175,
DOCUMENT_ROOT => /var/www/shunko,
REQUEST_SCHEME => https,
CONTEXT_PREFIX => ,
CONTEXT_DOCUMENT_ROOT => /var/www/shunko,
SERVER_ADMIN => root@localhost,
SCRIPT_FILENAME => /var/www/shunko/index.php,
REMOTE_PORT => 25003,
REDIRECT_URL => /wiki/Help:WikiFormatting,
GATEWAY_INTERFACE => CGI/1.1,
SERVER_PROTOCOL => HTTP/1.1,
REQUEST_METHOD => GET,
QUERY_STRING => ,
REQUEST_URI => /wiki/Help:WikiFormatting,
SCRIPT_NAME => /index.php,
PHP_SELF => /index.php,
REQUEST_TIME_FLOAT => 1732420919.5177,
REQUEST_TIME => 1732420919
)
separator .
orderBy id
orderDir asc
1 registerIP
2 access
always
renew
tracker.sid 8d8aa01ccb676f53d3a147591930b057
tracker.ssid 8d8aa01ccb676f53d3a147591930b057
tracker.rsid 8d8aa01ccb676f53d3a147591930b057
  • site 0.043 seconds (+0.043); 3.50 MB (+3.500) - afterInitialise
  • site 0.085 seconds (+0.042); 4.25 MB (+0.750) - afterRoute
  • site 0.237 seconds (+0.152); 6.25 MB (+2.000) - afterDispatch
  • site 0.253 seconds (+0.015); 6.50 MB (+0.250) - beforeRenderModule mod_search (Search)
  • site 0.259 seconds (+0.007); 6.50 MB (0.000) - afterRenderModule mod_search (Search)
  • site 0.261 seconds (+0.001); 6.50 MB (0.000) - beforeRenderModule mod_menu (Main Menu)
  • site 0.275 seconds (+0.014); 6.75 MB (+0.250) - afterRenderModule mod_menu (Main Menu)
  • site 0.278 seconds (+0.004); 6.75 MB (0.000) - onAfterRender
  • site 0.282 seconds (+0.004); 6.75 MB (0.000) - sessionStore
7 MB

30 Queries Logged: 0.025845050811768 seconds

  1. SELECT data
      FROM `jos_session`
      WHERE `session_id` = 'cf43cb0dff4e31284fb22ac9460605a0'
  2. DELETE
      FROM `jos_session`
      WHERE `session_id` = 'cf43cb0dff4e31284fb22ac9460605a0'
  3. SELECT data
      FROM `jos_session`
      WHERE `session_id` = '8d8aa01ccb676f53d3a147591930b057'
  4. SELECT extension_id AS id,element AS "option",params,enabled
      FROM `jos_extensions`
      WHERE `type` = 'component'
      AND `element` = 'com_languages'
  5. SELECT session_id
      FROM `jos_session`
      WHERE `session_id` = '8d8aa01ccb676f53d3a147591930b057'
      LIMIT 1
  6. INSERT INTO `jos_session` (`session_id`,`client_id`,`time`,`ip`)
      VALUES ('8d8aa01ccb676f53d3a147591930b057','0','1732420919','18.217.98.175')
  7. SELECT extension_id AS id,element AS "option",params,enabled
      FROM `jos_extensions`
      WHERE `type` = 'component'
      AND `element` = 'com_members'
  8. SELECT b.id, b.title
      FROM `jos_usergroups` AS `a`
      LEFT JOIN jos_usergroups AS b
      ON b.lft <= a.lft
      AND b.rgt >= a.rgt
      WHERE `a`.`id` = '1'
  9. SELECT *
      FROM `jos_viewlevels`
  10. SELECT folder AS type,element AS name,protected,params
      FROM `jos_extensions`
      WHERE `enabled` >= '1'
      AND `type` = 'plugin'
      AND `state` >= '0'
      AND `access` IN ('1','1','4')
      ORDER BY `ordering` ASC
  11. SELECT m.id,m.menutype,m.title,m.alias,m.note,m.path AS route,m.link,m.type,m.level,m.language,m.browserNav,m.access,m.params,m.home,m.img,m.template_style_id,m.component_id,m.parent_id,e.element AS component
      FROM `jos_menu` AS `m`
      LEFT JOIN jos_extensions AS e
      ON e.extension_id = m.component_id
      WHERE `m`.`published` = '1'
      AND `m`.`parent_id` > '0'
      AND `m`.`client_id` = '0'
      ORDER BY `m`.`lft` ASC
  12. SELECT extension_id AS id,element AS "option",params,enabled
      FROM `jos_extensions`
      WHERE `type` = 'component'
      AND `element` = 'com_wiki'
  13. SELECT jos_template_styles.id,jos_template_styles.home,jos_template_styles.template,jos_template_styles.params,jos_extensions.protected
      FROM `jos_template_styles`
      INNER JOIN jos_extensions
      ON jos_extensions.element = jos_template_styles.template
      WHERE `jos_template_styles`.`client_id` = '0'
      AND `jos_extensions`.`enabled` = '1'
      AND `jos_extensions`.`type` = 'template'
      AND jos_extensions.`client_id` = `jos_template_styles`.`client_id`
      ORDER BY `home` DESC
  14. SELECT extension_id AS id,element AS "option",params,enabled
      FROM `jos_extensions`
      WHERE `type` = 'component'
      AND `element` = 'com_tags'
  15. SELECT COUNT(jos_wiki_pages.id) AS count
      FROM `jos_wiki_pages`
      WHERE `jos_wiki_pages`.`scope` = 'site'
  16. SELECT *
      FROM `jos_wiki_pages`
      WHERE `jos_wiki_pages`.`state` = '1'
      AND `jos_wiki_pages`.`pagename` = 'Help:WikiFormatting'
      AND `jos_wiki_pages`.`scope` = 'site'
      AND `jos_wiki_pages`.`scope_id` = '0'
  17. SELECT *
      FROM `jos_wiki_versions`
      WHERE `jos_wiki_versions`.`id` = '3'
  18. SELECT element
      FROM `jos_extensions`
      WHERE folder='wiki'
      AND type='plugin'
      AND enabled=1
      AND element LIKE 'parser%'
      ORDER BY enabled DESC
      LIMIT 1
  19. SELECT *
      FROM `jos_wiki_pages`
      WHERE `jos_wiki_pages`.`state` = '1'
      AND `jos_wiki_pages`.`pagename` = 'MainPage'
      AND `jos_wiki_pages`.`scope` = 'site'
      AND `jos_wiki_pages`.`scope_id` = '0'
  20. SELECT *
      FROM `jos_wiki_pages`
      WHERE `jos_wiki_pages`.`state` = '1'
      AND `jos_wiki_pages`.`pagename` = 'Help:WikiMacros'
      AND `jos_wiki_pages`.`scope` = 'site'
      AND `jos_wiki_pages`.`scope_id` = '0'
  21. SELECT *
      FROM `jos_wiki_pages`
      WHERE `jos_wiki_pages`.`state` = '1'
      AND `jos_wiki_pages`.`pagename` = 'WikiPageNames'
      AND `jos_wiki_pages`.`scope` = 'site'
      AND `jos_wiki_pages`.`scope_id` = '0'
  22. SELECT *
      FROM `jos_wiki_pages`
      WHERE `jos_wiki_pages`.`state` = '1'
      AND `jos_wiki_pages`.`pagename` = 'WikiPageNames'
      AND `jos_wiki_pages`.`scope` = 'site'
      AND `jos_wiki_pages`.`scope_id` = '0'
  23. SELECT *
      FROM `jos_wiki_links`
      WHERE `jos_wiki_links`.`page_id` = '3'
  24. SELECT jos_tags_object.label,jos_tags.*
      FROM `jos_tags`
      INNER JOIN jos_tags_object
      ON jos_tags_object.tagid = jos_tags.id
      WHERE `jos_tags_object`.`tbl` = 'wiki'
      AND `jos_tags_object`.`objectid` = '3'
      AND `jos_tags`.`admin` NOT IN ('1')
      GROUP BY jos_tags_object.label,jos_tags.id
  25. SELECT m.id,m.title,m.module,m.position,m.content,m.showtitle,m.params,mm.menuid,e.protected
      FROM `jos_modules` AS `m`
      LEFT JOIN jos_modules_menu AS mm
      ON mm.moduleid = m.id
      LEFT JOIN jos_extensions AS e
      ON e.element = m.module
      AND e.client_id = m.client_id
      WHERE `m`.`published` = '1'
      AND `e`.`enabled` = '1'
      AND (`m`.`publish_up` IS NULL OR `m`.`publish_up` <= '2024-11-24 04:01:59' )
      AND (`m`.`publish_down` IS NULL OR `m`.`publish_down` >= '2024-11-24 04:01:59' )
      AND `m`.`access` IN ('1','1','4')
      AND `m`.`client_id` = '0'
      AND (`mm`.`menuid` = '86' OR `mm`.`menuid` <= '0' )
      ORDER BY `m`.`position` ASC,`m`.`ordering` ASC
  26. SELECT extension_id AS id,element AS "option",params,enabled
      FROM `jos_extensions`
      WHERE `type` = 'component'
      AND `element` = 'com_users'
  27. SELECT extension_id AS id,element AS "option",params,enabled
      FROM `jos_extensions`
      WHERE `type` = 'component'
      AND `element` = 'com_search'
  28. SELECT extension_id AS id,element AS "option",params,enabled
      FROM `jos_extensions`
      WHERE `type` = 'component'
      AND `element` = 'com_content'
  29. SELECT extension_id AS id,element AS "option",params,enabled
      FROM `jos_extensions`
      WHERE `type` = 'component'
      AND `element` = 'com_categories'
  30. UPDATE `jos_session`
      SET `data` = '__default|a:9:{s:15:\"session.counter\";i:1;s:19:\"session.timer.start\";i:1732420919;s:18:\"session.timer.last\";i:1732420919;s:17:\"session.timer.now\";i:1732420919;s:8:\"registry\";O:23:\"Hubzero\\Config\\Registry\":2:{s:7:\"\0*\0data\";O:8:\"stdClass\":1:{s:1:\"0\";s:7:\"session\";}s:9:\"separator\";s:1:\".\";}s:4:\"user\";C:17:\"Hubzero\\User\\User\":22:{a:1:{s:5:\"guest\";b:1;}}s:11:\"tracker.sid\";s:32:\"8d8aa01ccb676f53d3a147591930b057\";s:12:\"tracker.ssid\";s:32:\"8d8aa01ccb676f53d3a147591930b057\";s:12:\"tracker.rsid\";s:32:\"8d8aa01ccb676f53d3a147591930b057\";}',`time` = '1732420919',`ip` = '18.217.98.175'
      WHERE `session_id` = '8d8aa01ccb676f53d3a147591930b057'
  • onAfterInitialise Method plgSystemP3p::onAfterInitialise /core/plugins/system/p3p/p3p.php:21
  • onAfterInitialise Method plgSystemRemember::onAfterInitialise /core/plugins/system/remember/remember.php:20
  • onAfterInitialise Method plgSystemHubzero::onAfterInitialise /core/plugins/system/hubzero/hubzero.php:21
  • onAfterInitialise Method plgSystemXFeed::onAfterInitialise /core/plugins/system/xfeed/xfeed.php:21
  • onAfterInitialise Method plgSystemSupergroup::onAfterInitialise /core/plugins/system/supergroup/supergroup.php:113
  • onAfterRoute Method plgSystemJquery::onAfterRoute /core/plugins/system/jquery/jquery.php:21
  • onAfterRoute Method plgSystemSpamjail::onAfterRoute /core/plugins/system/spamjail/spamjail.php:21
  • onAfterRoute Method plgSystemIncomplete::onAfterRoute /core/plugins/system/incomplete/incomplete.php:21
  • onAfterRoute Method plgSystemUnconfirmed::onAfterRoute /core/plugins/system/unconfirmed/unconfirmed.php:21
  • onAfterRoute Method plgSystemUnapproved::onAfterRoute /core/plugins/system/unapproved/unapproved.php:21
  • onAfterRoute Method plgSystemPassword::onAfterRoute /core/plugins/system/password/password.php:21
  • onAfterDispatch Method plgSystemMobile::onAfterDispatch /core/plugins/system/mobile/mobile.php:22
  • onAfterDispatch Method plgSystemDebug::onAfterDispatch /core/plugins/system/debug/debug.php:60
  • onAfterDispatch Method PlgSystemHighlight::onAfterDispatch /core/plugins/system/highlight/highlight.php:25
  • onAfterRender Method plgSystemSef::onAfterRender /core/plugins/system/sef/sef.php:21