Page Contents

9. Special Content

A list of special content markups

In addition to basic formatting and links, there are a variety of special content directs that can be embedded on a page.

Child Page List

Sample Markup

Page List

The page list markup allows the user to create a list of pages with images and briefs automatically displayed. The user must provide a list of these pages after the page-list: link directive separated by a comma.

An optional title can be specified. By default the title is "Read More"

Sample Markup
[[page-list:text-formatting,links,images|Read More]]

Page Brief

The page brief markup allows the user to display a full page link with image and brief.

Sample Markup

Embed Page Content

Image Gallery

A gallery link when used alone will display a gallery of images attached to the page. An optional first parameter can be specified to change the title. By default, the title will appear as "Attached Images".

Sample Markup
[[gallery|Additional Images]]

Embed Hidden Content

Content blocks (directives) can be hidden using the parameters directive.

This hidden content can later be rendered by embedding it with self: or just :.

Sample Markup
! id:"hidden-content-1", hide This content block is hidden where it is defined, but will appear in the table! | Some Text | [[:hidden-content-1]] | Some more text.
Some Text

This content block is hidden where it is defined, but will appear in the table!

Some more text.
Note:This system of defining hidden content with an id and then embedding it later is very useful when creating large complex tables, and is currently the only way to use directives inside of a table.

User Panels

User panels can be displayed based on the user id, and will link to the user's profile page.

Style Sample Markup Sample Result
Small [[user:1]]
Large [[user:1|large]]

YouTube Videos

YouTube videos can be embedded on a page by extracting the YouTube video ID from a link and placing it in a YouTube content directive.

Tip:The video ID can be extracted from the URL when viewing a video on YouTube.
Look for v=??? in the URL and copy the ??? part into the markup like this [[youtube:???]]. Be sure not to include the v= itself, and stop when you see an ampersand & in the URL. ^^^^^^^^^^^ Start after v= & and beyond should not be included

In this example, the portion we want to copy out is WF1PHE4gizs
Sample Markup