Structuring Pages with Wiki Markup Language
Prerequisites
You have to use the Plain Text editor to structure and format the wiki pages with the set of macros.
Context
Use this procedure to structure and format the pages with the wiki markup language (macros). The macro is a rule that determines how you can structure and modify the content of wiki pages.
Procedure
- Open the wiki page in the Plain Text editor.
- Structure the content of the page with the wiki macros.
Item
Description
Markup Example
Paragraph
Formats the content of the wiki page into a paragraph that appears between the paragraph tags. This macro has the following attributes:
-
margin-left - the unit of this attribute should be in em (a linear unit - 1/6 inch).
-
margin-right- the unit of this attribute should be in em.
-
line-height - the unit of this attribute should be in pt (point).
If the unit of these attributes is not specified, the default unit is px (pixel).
{paragraph:margin-left=3em|margin-right=3em|line-height=12pt} ABC {/paragraph}
Align
Aligns the content that appears between the align tags. You can use these attributes to define the align of the text: left, center and right.
{align:left}ABC{/align}
Embed page
Includes the content of a page with a defined ID into another page where the macro is used.
ABC {embedpage:id=1047}
Text Highlighting
Highlights the content that appears between the highlight tags. A custom highlight color can be specified by adding the color attribute to this tag.
{highlight:color=red}ABC{/highlight}
Table of content
Displays all the headings with attributes from h1 to h6 as the table of contents. The allowed values for the attributes ( h1...h6) are:
-
none
-
decimal
-
lower-alpha
-
upper-alpha
-
lower-roman
-
upper-roman
{toc:h1=decimal|h2=lower-alpha}
h1. Overview
Content for the introduction
h2. Introduction
Content for the introduction
h2. Conclusion
Content for the conclusion
h1. Summary
Content for the summary
Columns
Formats the content of the wiki page into columns that appear between the column tags.
This macro has the following attributes:
-
border- the allowed values of this attribute are true or false.
-
width- the unit of this attribute should be in % (percentage).
{columns}
{col} Column 1 {/col}
{col:border=true|width=50%} Column 2 {/col}
{/columns}
For more information about the macros, choose the Plain Text Markup Help link on the right of the Plain Text editor.
-
- You have several options for saving the page:
-
To save the new wiki page, choose Save and Continue and then continue work on the page.
-
To continue work on a page at a later time, choose Save Draft. The page is saved in the raw version and is not yet published. The raw version is only visible to its creator and to the users defined in the Specific Users field in the
Collaboration Options
Users who may edit
section. Those defined users can then see the raw version in their Draft Inbox. -
To be visible to other users, choose Publish.
-