Help: Processors

Processors are WikiMacros designed to provide alternative markup formats for the Wiki engine. Processors can be thought of as macro functions to process user-edited text.

Wiki processors can be used in any Wiki text throughout the wiki, for various different purposes, like:

  • syntax highlighting or for rendering text verbatim,
  • rendering Wiki markup inside a context, like inside <div> blocks or <span> or within <td> or <th> table cells,
  • using an alternative markup syntax, like raw HTML

Using Processors

To use a processor on a block of text, first delimit the lines using a Wiki code block:

{{{
The lines
that should be processed...
}}}

On the line just below the the curly braces add #! followed by the processor name

{{{
#!processorname
The lines
that should be processed...
}}}

This is the “shebang” notation, familiar to most UNIX users.

Besides their content, some Wiki processors can also accept parameters, which are then given as key=value pairs after the processor name, on the same line. If value has to contain space, as it’s often the case for the style parameter, a quoted string can be used (key=“value with space”).

As some processors are meant to process Wiki markup, it’s quite possible to nest processor blocks. You may want to indent the content of nested blocks for increased clarity, this extra indentation will be ignored when processing the content.

Available Processors

#!default Present the text verbatim in a preformatted text block. This is the same as specifying no processor name (and no #!)
#!comment Do not process the text in this section (i.e. contents exist only in the plain text – not in the rendered page).
Admonitions
#!wiki type Admonitions are used to make some text stand out or to point out something which doesn’t fit in the normal flow of the text. For more details see the Admonitions help page.

type can be caution, warning, important, note, or tip.
HTML related
#!html Insert custom HTML in a wiki page. For more details see the Wiki HTML help page.
#!htmlcomment Insert an HTML comment in a wiki page.
Code Highlighting Support
#!c
#!cpp (C++)
#!python
#!perl
#!ruby
#!php
#!asp
#!java
#!js (Javascript)
#!sql
#!xml
#!sh (Bourne/Bash shell)
The wiki includes processors to provide inline syntax highlighting for source code in various languages.

Example:

{{{
#!php
$yes = true;
if ($yes)
{
    echo 'Yes!';
}
}}}

Displays:

$yes = true;
if ($yes)
{
    echo 'Yes!';
}

See also: Wiki Formatting, Wiki HTML, Admonitions

Created on , Last modified on

Debug Console

Close16 MBRequestSessionTimelineDatabase40Events18
$_GET
Array( ) Array(

)
$_POST
Array( ) Array(

)
$_COOKIE
Array( 8512ae7d57b1396273f76fe6ed341a23 => es, 81f30cf708470b974874c8a96a6bcdb2 => a74633b75c... Array(
8512ae7d57b1396273f76fe6ed341a23 => es,
81f30cf708470b974874c8a96a6bcdb2 => a74633b75cc10d7bf975832737cc156d,
cookie => 43a25f71035b89b5,
d482552ea4a74f85af0bb3d73890dabc => 5 E 45E43105E E 2444543 7406F5D 11B 37E B4A 3 05F41134B514059 4 951135F765817 3 B5C1243 B5612 F16 3 B 2 A1B58 F515555 B56 5 2 6 7 5 1 0 F 1 2 0 F53 8 350 5 3 3 65A 9 5 65D1B 3165952 2164044 C 016 A17 25056 31A 7 7 454 1 35652 C5B53 1 95D F 7 55F F 1 A 45753 7 6 75B5251 F5C44 B4358 6 A16164A515412 24A 256515C1A55 5 35357 75353 D 0 7 8 8 2 752 4 B 7 15D A A 7 3 E5A5B5456505C16 94A
)
$_SERVER
Array( REDIRECT_HTTPS => on, REDIRECT_SCRIPT_URL => /en/wiki/Help:Processors, REDIRECT_SCRI... Array(
REDIRECT_HTTPS => on,
REDIRECT_SCRIPT_URL => /en/wiki/Help:Processors,
REDIRECT_SCRIPT_URI => http://hsscommons.rs-dev.uvic.ca/en/wiki/Help:Processors,
REDIRECT_STATUS => 200,
HTTPS => on,
SCRIPT_URL => /en/wiki/Help:Processors,
SCRIPT_URI => http://hsscommons.rs-dev.uvic.ca/en/wiki/Help:Processors,
HTTP_HOST => hsscommons.rs-dev.uvic.ca,
HTTP_USER_AGENT => Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com),
HTTP_ACCEPT => */*,
HTTP_ACCEPT_ENCODING => gzip, br, zstd, deflate,
HTTP_COOKIE => 8512ae7d57b1396273f76fe6ed341a23=es; 81f30cf708470b974874c8a96a6bcdb2=a74633b75cc10d7bf975832737cc156d; cookie=43a25f71035b89b5; d482552ea4a74f85af0bb3d73890dabc=%205%20E%2045E43105E%20E%202444543%207406F5D%2011B%2037E%20B4A%203%2005F41134B514059%204%20951135F765817%203%20B5C1243%20B5612%20F16%203%20B%202%20A1B58%20F515555%20B56%205%202%206%207%205%201%200%20F%201%202%200%20F53%208%20350%205%203%203%2065A%209%205%2065D1B%203165952%202164044%20C%20016%20A17%2025056%2031A%207%207%20454%201%2035652%20C5B53%201%2095D%20F%207%2055F%20F%201%20A%2045753%207%206%2075B5251%20F5C44%20B4358%206%20A16164A515412%2024A%20256515C1A55%205%2035357%2075353%20D%200%207%208%208%202%20752%204%20B%207%2015D%20A%20A%207%203%20E5A5B5456505C16%2094A,
HTTP_X_FORWARDED_FOR => 3.22.63.154,
HTTP_X_FORWARDED_HOST => hsscommons.rs-dev.uvic.ca,
HTTP_X_FORWARDED_PORT => 443,
HTTP_X_FORWARDED_PROTO => https,
HTTP_X_FORWARDED_SERVER => traefik-b8d8564f8-2whv9,
HTTP_X_REAL_IP => 3.22.63.154,
PATH => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin,
SERVER_SIGNATURE => ,
SERVER_SOFTWARE => Apache/2.4.62 (Debian),
SERVER_NAME => hsscommons.rs-dev.uvic.ca,
SERVER_ADDR => 10.233.98.122,
SERVER_PORT => 80,
REMOTE_ADDR => 10.233.94.22,
DOCUMENT_ROOT => /var/www/html,
REQUEST_SCHEME => http,
CONTEXT_PREFIX => ,
CONTEXT_DOCUMENT_ROOT => /var/www/html,
SERVER_ADMIN => webmaster@localhost,
SCRIPT_FILENAME => /var/www/html/index.php,
REMOTE_PORT => 53314,
REDIRECT_URL => /en/wiki/Help:Processors,
GATEWAY_INTERFACE => CGI/1.1,
SERVER_PROTOCOL => HTTP/1.1,
REQUEST_METHOD => GET,
QUERY_STRING => ,
REQUEST_URI => /en/wiki/Help:Processors,
SCRIPT_NAME => /index.php,
PHP_SELF => /index.php,
REQUEST_TIME_FLOAT => 1745167508.1617,
REQUEST_TIME => 1745167508
)
session.client.forwarded 3.22.63.154
separator .
orderBy id
orderDir asc
always
0 registerDate
1 registerIP
2 access
renew
tracker.sid a74633b75cc10d7bf975832737cc156d
tracker.ssid a74633b75cc10d7bf975832737cc156d
tracker.rsid a74633b75cc10d7bf975832737cc156d
session.token ef1dacb08ac79bb3b8980e329254e146
  • site 0.046 seconds (+0.046); 16.00 MB (+16.000) - afterInitialise
  • site 0.063 seconds (+0.016); 16.00 MB (0.000) - afterRoute
  • site 0.116 seconds (+0.054); 16.00 MB (0.000) - afterDispatch
  • site 0.129 seconds (+0.012); 16.00 MB (0.000) - beforeRenderModule mod_languages (Language Switcher)
  • site 0.144 seconds (+0.016); 16.00 MB (0.000) - afterRenderModule mod_languages (Language Switcher)
  • site 0.146 seconds (+0.002); 16.00 MB (0.000) - beforeRenderModule mod_googleanalytics (Google Analytics)
  • site 0.147 seconds (+0.001); 16.00 MB (0.000) - afterRenderModule mod_googleanalytics (Google Analytics)
  • site 0.147 seconds (+0.000); 16.00 MB (0.000) - beforeRenderModule mod_custom (Hub Footer)
  • site 0.148 seconds (+0.001); 16.00 MB (0.000) - afterRenderModule mod_custom (Hub Footer)
  • site 0.148 seconds (+0.000); 16.00 MB (0.000) - beforeRenderModule mod_wrapper (Wrapper)
  • site 0.148 seconds (+0.000); 16.00 MB (0.000) - afterRenderModule mod_wrapper (Wrapper)
  • site 0.148 seconds (+0.000); 16.00 MB (0.000) - beforeRenderModule mod_breadcrumbs (Breadcrumbs)
  • site 0.149 seconds (+0.001); 16.00 MB (0.000) - afterRenderModule mod_breadcrumbs (Breadcrumbs)
  • site 0.149 seconds (+0.000); 16.00 MB (0.000) - beforeRenderModule mod_collect (Collect)
  • site 0.149 seconds (+0.000); 16.00 MB (0.000) - afterRenderModule mod_collect (Collect)
  • site 0.149 seconds (+0.000); 16.00 MB (0.000) - beforeRenderModule mod_menu (Main Menu)
  • site 0.178 seconds (+0.029); 16.00 MB (0.000) - afterRenderModule mod_menu (Main Menu)
  • site 0.178 seconds (+0.000); 16.00 MB (0.000) - beforeRenderModule mod_languages (Language Switcher)
  • site 0.178 seconds (+0.001); 16.00 MB (0.000) - afterRenderModule mod_languages (Language Switcher)
  • site 0.179 seconds (+0.001); 16.00 MB (0.000) - onAfterRender
  • site 0.182 seconds (+0.003); 16.00 MB (0.000) - sessionStore
16 MB

40 Queries Logged: 0.070612192153931 seconds

  1. SELECT data
      FROM `jos_session`
      WHERE `session_id` = 'a74633b75cc10d7bf975832737cc156d'
  2. SELECT extension_id AS id,element AS "option",params,enabled
      FROM `jos_extensions`
      WHERE `type` = 'component'
      AND `element` = 'com_members'
  3. 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'
  4. SELECT *
      FROM `jos_viewlevels`
  5. SELECT folder AS type,element AS name,protected,params
      FROM `jos_extensions`
      WHERE `enabled` >= '1'
      AND `type` = 'plugin'
      AND `state` >= ''
      AND `access` IN ('1','1','4')
      ORDER BY `ordering` ASC
  6. SELECT extension_id AS id,element AS "option",params,enabled
      FROM `jos_extensions`
      WHERE `type` = 'component'
      AND `element` = 'com_languages'
  7. SELECT *
      FROM `jos_languages`
      WHERE `published` = '1'
      ORDER BY `ordering` ASC
  8. SELECT language,id
      FROM `jos_menu`
      WHERE `home` = '1'
      AND `published` = '1'
      AND `client_id` = ''
  9. 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` > ''
      AND `m`.`client_id` = ''
      ORDER BY `m`.`lft` ASC
  10. SELECT extension_id AS id,element AS "option",params,enabled
      FROM `jos_extensions`
      WHERE `type` = 'component'
      AND `element` = 'com_wiki'
  11. 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` = ''
      AND `jos_extensions`.`enabled` = '1'
      AND `jos_extensions`.`type` = 'template'
      AND jos_extensions.`client_id` = `jos_template_styles`.`client_id`
      ORDER BY `home` DESC
  12. SELECT extension_id AS id,element AS "option",params,enabled
      FROM `jos_extensions`
      WHERE `type` = 'component'
      AND `element` = 'com_tags'
  13. SELECT COUNT(jos_wiki_pages.id) AS count
      FROM `jos_wiki_pages`
      WHERE `jos_wiki_pages`.`scope` = 'site'
  14. SELECT *
      FROM `jos_wiki_pages`
      WHERE `jos_wiki_pages`.`state` = '1'
      AND `jos_wiki_pages`.`pagename` = 'Help:Processors'
      AND `jos_wiki_pages`.`scope` = 'site'
      AND `jos_wiki_pages`.`scope_id` = ''
  15. SELECT *
      FROM `jos_wiki_versions`
      WHERE `jos_wiki_versions`.`id` = '13'
  16. SELECT element
      FROM `jos_extensions`
      WHERE folder='wiki'
      AND type='plugin'
      AND enabled=1
      AND element LIKE 'parser%'
      ORDER BY enabled DESC
      LIMIT 1
  17. SELECT *
      FROM `jos_wiki_pages`
      WHERE `jos_wiki_pages`.`state` = '1'
      AND `jos_wiki_pages`.`pagename` = 'Help:Admonitions'
      AND `jos_wiki_pages`.`scope` = 'site'
      AND `jos_wiki_pages`.`scope_id` = ''
  18. SELECT *
      FROM `jos_wiki_pages`
      WHERE `jos_wiki_pages`.`state` = '1'
      AND `jos_wiki_pages`.`pagename` = 'Help:WikiHtml'
      AND `jos_wiki_pages`.`scope` = 'site'
      AND `jos_wiki_pages`.`scope_id` = ''
  19. 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` = ''
  20. SELECT *
      FROM `jos_wiki_pages`
      WHERE `jos_wiki_pages`.`state` = '1'
      AND `jos_wiki_pages`.`pagename` = 'WikiMacros'
      AND `jos_wiki_pages`.`scope` = 'site'
      AND `jos_wiki_pages`.`scope_id` = ''
  21. SELECT *
      FROM `jos_wiki_links`
      WHERE `jos_wiki_links`.`page_id` = '13'
  22. 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` = '13'
      AND `jos_tags`.`admin` NOT IN ('1')
      GROUP BY jos_tags_object.label,jos_tags.id
  23. SELECT extension_id AS id,element AS "option",params,enabled
      FROM `jos_extensions`
      WHERE `type` = 'component'
      AND `element` = 'com_search'
  24. SELECT extension_id AS id,element AS "option",params,enabled
      FROM `jos_extensions`
      WHERE `type` = 'component'
      AND `element` = 'com_users'
  25. SELECT extension_id AS id,element AS "option",params,enabled
      FROM `jos_extensions`
      WHERE `type` = 'component'
      AND `element` = 'com_register'
  26. 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` <= '2025-04-20 16:45:08' )
      AND (`m`.`publish_down` IS NULL OR `m`.`publish_down` >= '2025-04-20 16:45:08' )
      AND `m`.`access` IN ('1','1','4')
      AND `m`.`client_id` = ''
      AND (`mm`.`menuid` = '86' OR `mm`.`menuid` <= '' )
      AND `m`.`language` IN ('en-GB','*')
      ORDER BY `m`.`position` ASC,`m`.`ordering` ASC
  27. SELECT extension_id AS id,element AS "option",params,enabled
      FROM `jos_extensions`
      WHERE `type` = 'component'
      AND `element` = 'com_menus'
  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. SELECT extension_id AS id,element AS "option",params,enabled
      FROM `jos_extensions`
      WHERE `type` = 'component'
      AND `element` = 'com_publications'
  31. SELECT extension_id AS id,element AS "option",params,enabled
      FROM `jos_extensions`
      WHERE `type` = 'component'
      AND `element` = 'com_collections'
  32. SELECT extension_id AS id,element AS "option",params,enabled
      FROM `jos_extensions`
      WHERE `type` = 'component'
      AND `element` = 'com_events'
  33. SELECT extension_id AS id,element AS "option",params,enabled
      FROM `jos_extensions`
      WHERE `type` = 'component'
      AND `element` = 'com_blog'
  34. SELECT extension_id AS id,element AS "option",params,enabled
      FROM `jos_extensions`
      WHERE `type` = 'component'
      AND `element` = 'com_groups'
  35. SELECT extension_id AS id,element AS "option",params,enabled
      FROM `jos_extensions`
      WHERE `type` = 'component'
      AND `element` = 'com_projects'
  36. SELECT extension_id AS id,element AS "option",params,enabled
      FROM `jos_extensions`
      WHERE `type` = 'component'
      AND `element` = 'com_forum'
  37. SELECT extension_id AS id,element AS "option",params,enabled
      FROM `jos_extensions`
      WHERE `type` = 'component'
      AND `element` = 'com_answers'
  38. SELECT extension_id AS id,element AS "option",params,enabled
      FROM `jos_extensions`
      WHERE `type` = 'component'
      AND `element` = 'com_support'
  39. SELECT extension_id AS id,element AS "option",params,enabled
      FROM `jos_extensions`
      WHERE `type` = 'component'
      AND `element` = 'com_kb'
  40. UPDATE `jos_session`
      SET `data` = '__default|a:11:{s:15:\"session.counter\";i:50;s:19:\"session.timer.start\";i:1745167479;s:18:\"session.timer.last\";i:1745167507;s:17:\"session.timer.now\";i:1745167508;s:24:\"session.client.forwarded\";s:11:\"3.22.63.154\";s:8:\"registry\";O:23:\"Hubzero\\Config\\Registry\":2:{s:7:\"\0*\0data\";O:8:\"stdClass\":4:{s:1:\"0\";s:7:\"session\";s:10:\"Components\";O:8:\"stdClass\":3:{s:9:\"Resources\";O:8:\"stdClass\":1:{s:6:\"Models\";O:8:\"stdClass\":1:{s:4:\"Type\";O:8:\"stdClass\":2:{s:7:\"orderby\";s:4:\"type\";s:8:\"orderdir\";s:3:\"asc\";}}}s:7:\"Members\";O:8:\"stdClass\":1:{s:6:\"Models\";O:8:\"stdClass\":1:{s:7:\"Profile\";O:8:\"stdClass\":4:{s:5:\"Field\";O:8:\"stdClass\":2:{s:7:\"orderby\";s:8:\"ordering\";s:8:\"orderdir\";s:3:\"asc\";}s:6:\"Option\";O:8:\"stdClass\":2:{s:7:\"orderby\";s:8:\"ordering\";s:8:\"orderdir\";s:3:\"asc\";}s:7:\"orderby\";s:8:\"ordering\";s:8:\"orderdir\";s:3:\"asc\";}}}s:4:\"Blog\";O:8:\"stdClass\":1:{s:6:\"Models\";O:8:\"stdClass\":1:{s:5:\"Entry\";O:8:\"stdClass\":2:{s:7:\"orderby\";s:10:\"publish_up\";s:8:\"orderdir\";s:4:\"desc\";}}}}s:4:\"Page\";O:8:\"stdClass\":2:{s:5:\"start\";d:0;s:5:\"
      limit\";i:20;}s:5:\"Entry\";O:8:\"stdClass\":2:{s:5:\"start\";d:0;s:5:\"
      limit\";i:20;}}s:9:\"separator\";s:1:\".\";}s:4:\"user\";O:17:\"Hubzero\\User\\User\":1:{s:5:\"guest\";b:1;}s:11:\"tracker.sid\";s:32:\"a74633b75cc10d7bf975832737cc156d\";s:12:\"tracker.ssid\";s:32:\"a74633b75cc10d7bf975832737cc156d\";s:12:\"tracker.rsid\";s:32:\"a74633b75cc10d7bf975832737cc156d\";s:13:\"session.token\";s:32:\"ef1dacb08ac79bb3b8980e329254e146\";}',`time` = '1745167508',`ip` = '10.233.94.22'
      WHERE `session_id` = 'a74633b75cc10d7bf975832737cc156d'
  • onAfterInitialise Method plgSystemLanguageFilter::onAfterInitialise /app/plugins/system/languagefilter/languagefilter.php:186
  • 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
  • onAfterInitialise Method plgSystemReferrerpolicy::onAfterInitialise /core/plugins/system/referrerpolicy/referrerpolicy.php:21
  • 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 /app/plugins/system/password/password.php:21
  • onAfterDispatch Method plgSystemMobile::onAfterDispatch /core/plugins/system/mobile/mobile.php:22
  • onAfterDispatch Method plgSystemLanguageFilter::onAfterDispatch /app/plugins/system/languagefilter/languagefilter.php:554
  • 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