Help:Formatting

(Difference between revisions)
(Other formatting)
 
(4 intermediate revisions not shown)
Line 1: Line 1:
-
You can format your text using wiki markup. This consists of normal characters like asterisks, single quotes or equation marks which have a special function in the wiki, sometimes depending on their position. For example, to format a word in ''italic'', you include it in two single quotes like <code><nowiki>''this''</nowiki></code>
+
You can format your text easily using wiki markup. This consists of normal characters like asterisks, single quotes or equation marks which have a special function in the wiki, sometimes depending on their position. For example, to format a word in ''italic'', you include it in two single quotes like <code><nowiki>''this''</nowiki></code>
-
== Text formatting markup ==
+
== Text Formatting Markup ==
-
{| class="wikitable"
+
<table>
-
! Description !! You type !! You get
+
<tr style="background-color:#d1d1d1;">
-
|-
+
<td colspan="5" style="text-align:center" id="applyanywhere">
-
! colspan="3" style="background:#ABE" | character (inline) formatting – ''applies anywhere''
+
====Formatting That Applies Anywhere====
-
|-
+
</td>
-
|Italic text
+
</tr>
-
| <code><nowiki>''italic''</nowiki></code>
+
<tr valign="top" style="background-color:#e1e1e1;">
-
|''italic''
+
<td>'''Description'''</td>
-
|-
+
<td>&nbsp;&nbsp;</td>
-
| Bold text
+
<td>'''You type'''</td>
-
| <code><nowiki>'''bold'''</nowiki></code>
+
<td>&nbsp;&nbsp;</td>
-
|'''bold'''
+
<td>'''You get'''  </td>
-
|-
+
</tr>
-
| Bold and italic
+
<tr valign="top">
-
| <code><nowiki>'''''bold & italic'''''</nowiki></code>
+
<td>Italic text</td>
-
|'''''bold & italic'''''
+
<td>&nbsp;&nbsp;</td>
-
|-
+
<td><tt><nowiki>''italic''</nowiki></tt></td>
-
|Escape wiki markup
+
<td>&nbsp;&nbsp;</td>
-
| <code><nowiki><nowiki>no ''markup''&lt;/nowiki></nowiki></code>
+
<td>''italic'' </td>
-
|<nowiki>no ''markup''</nowiki>
+
</tr>
-
|-
+
<tr valign="top" style="background-color:#f1f1f1;">
-
! colspan="3" style="background:#ABE" | section formatting – ''only at the beginning of the line''
+
<td> Bold text</td>
-
|-
+
<td>&nbsp;&nbsp;</td>
-
|Headings of different levels
+
<td><tt><nowiki>'''bold'''</nowiki></tt></td>
-
| <pre>=level 1=
+
<td>&nbsp;&nbsp;</td>
-
==level 2==
+
<td>'''bold''' </td>
-
===level 3===
+
</tr>
-
====level 4====
+
<tr valign="top">
-
=====level 5=====
+
<td> Bold and italic</td>
-
======level 6======</pre>
+
<td>&nbsp;&nbsp;</td>
-
An article with 4 or more headings automatically creates a [[wikipedia:Wikipedia:Section#Table of contents (TOC)|table of contents]].
+
<td><tt><nowiki>'''''bold & italic'''''</nowiki></tt></td>
 +
<td>&nbsp;&nbsp;</td>
 +
<td>'''''bold & italic''''' </td>
 +
</tr>
 +
<tr valign="top" style="background-color:#f1f1f1;">
 +
<td>Hyperlink to wiki page <br/></td>
 +
<td>&nbsp;&nbsp;</td>
 +
<td><tt><nowiki>[[Home]]</nowiki></tt> <br/></td>
 +
<td>&nbsp;&nbsp;</td>
 +
<td>[[Home]] </td>
 +
</tr>
 +
<tr valign="top">
 +
<td>Hyperlink to wiki page with different link
 +
text&mdash;use <tt>|</tt> to separate text</td>
 +
<td>&nbsp;&nbsp;</td>
 +
<td><tt><nowiki>[[Home|Main doc page]]</nowiki></tt></td>
 +
<td>&nbsp;&nbsp;</td>
 +
<td>[[Home|Main doc page]] </td>
 +
</tr>
 +
<tr valign="top" style="background-color:#f1f1f1;">
 +
<td>Hyperlink to external web page</td>
 +
<td>&nbsp;&nbsp;</td>
 +
<td><tt><nowiki>http://www.sun.com</nowiki></tt></td>
 +
<td>&nbsp;&nbsp;</td>
 +
<td>http://www.sun.com </td>
 +
</tr>
 +
<tr valign="top">
 +
<td>Hyperlink to external web page with
 +
different link text&mdash;''space'' separates text</td>
 +
<td>&nbsp;&nbsp;</td>
 +
<td><tt><nowiki>[http://www.sun.com Sun Microsystems]</nowiki></tt></td>
 +
<td>&nbsp;&nbsp;</td>
 +
<td>[http://www.sun.com Sun Microsystems]</td>
 +
</tr>
 +
<tr  valign="top" style="background-color:#f1f1f1;">
-
|<!-- hack to prevent TOC viewing for h1 - h6 elements: their style is hardcopied here -->
+
<tr valign="top">
-
<div style="font-size: 188%; margin: 0; padding-top: .5em; padding-bottom: .17em; border-bottom: 1px solid #aaa">Level 1</div>
+
<td>Anchor definition. Use the id attribute with an HTML tag that takes this attribute, such as <tt>&lt;span&gt;</tt> or <tt>&lt;div&gt;</tt>.</td>
-
<div style="font-size: 150%; margin: 0; padding-top: .5em; padding-bottom: .17em; border-bottom: 1px solid #aaa">Level 2</div>
+
<td>&nbsp;&nbsp;</td>
-
<div style="font-size: 132%; font-weight: bold">Level 3</div><!--
+
<td><tt>&lt;span id="anchor_to_link_to"&gt;optional text&lt;/span&gt;</tt></td>
-
--><b>Level 4</b><!--
+
<td>&nbsp;&nbsp;</td>
-
--><div style="font-size: 86%; font-weight: bold">Level 5</div><!--
+
<td><span id="anchor_to_link_to">optional text</span></td>
-
--><b style="font-size: 80%">Level 6</b>
+
</tr>
-
|-
+
<tr valign="top" style="background-color:#f1f1f1;">
-
|Horizontal rule
+
<td>Hyperlink to anchor<br/></td>
-
| <code>----</code>
+
<td>&nbsp;&nbsp;</td>
-
|
+
<td><tt><nowiki>[[#anchor_to_link_to|go to anchor]]</nowiki></tt> <br/></td>
-
----
+
<td>&nbsp;&nbsp;</td>
-
|-
+
<td>[[#anchor_to_link_to|go to anchor above]]</td>
-
|Bullet list
+
</tr>
-
|
+
<tr valign="top">
-
<pre>
+
<td>Inline image. Use <tt>|</tt> to separate options, which include <tt>thumb</tt> for an 80x80 pixel thumbnail, <tt>99px</tt> to size the image to 99 by 99 pixels square, <tt>66x99px</tt> to size the image to 66px wide by 99px high, <tt>left</tt> or <tt>right</tt> to float the image left or right, <tt>box</tt> to created a boxed image.</td>
-
* one
+
<td>&nbsp;&nbsp;</td>
-
* two
+
<td><tt><nowiki>[[image:aracari-sm.png]]</nowiki></tt></td>
-
* three
+
<td>&nbsp;&nbsp;</td>
-
** three point one
+
<td>[[image:aracari-sm.png]]</td>
-
** three point two
+
</tr>
-
</pre>
+
<tr valign="top"  style="background-color:#f1f1f1;">
-
Inserting a blank line will end the first list and start another.
+
<td>Inline image with <tt>thumb</tt>, <tt>right</tt>, and <tt>box</tt>. See [[MediaWikiSamples#Images|Media Wiki Sampler: Images]] for more examples.</td>
-
|
+
<td>&nbsp;&nbsp;</td>
-
* one
+
<td><tt><nowiki>[[image:aracari.png|thumb|right|box]]</nowiki></tt></td>
-
* two
+
<td>&nbsp;&nbsp;</td>
-
* three
+
<td>[[image:aracari.png|thumb|right|box]] </td>
-
** three point one
+
</tr>
-
** three point two
+
<tr valign="top">
-
|-
+
<td>Escape wiki markup</td>
-
|Numbered list
+
<td>&nbsp;&nbsp;</td>
-
|
+
<td><tt>&lt;nowiki&gt;<nowiki>no ''markup''</nowiki>&lt;/nowiki&gt;</tt> </td>
-
<pre>
+
<td>&nbsp;&nbsp;</td>
-
# one
+
<td><nowiki>no ''markup''</nowiki> </td>
-
# two<br />spanning more lines<br />doesn't break numbering
+
</tr>
-
# three
+
<tr  valign="top"  style="background-color:#f1f1f1;">
-
## three point one
+
<td>Table of Contents: Use two underscores before <tt>TOC</tt> and two after. The table of contents is inserted at the location of this identifier and lists all headings defined with wiki heading tags (<nowiki>=, ==, ===</nowiki>, and so on). If you want to exclude a heading, such as the main heading, use HTML tags instead of wiki tags. For example, <tt>&lt;h1&gt;Main Heading&lt;/h1&gt;</tt>.</td>
-
## three point two
+
<td>&nbsp;&nbsp;</td>
-
</pre>
+
<td><tt><nowiki>__TOC__</nowiki></tt></td>
-
|
+
<td>&nbsp;&nbsp;</td>
-
# one
+
<td>__TOC__</td>
-
# two<br />spanning more lines<br />doesn't break numbering
+
</tr>
-
# three
+
<tr valign="top">
-
## three point one
+
<td colpsan="5">&nbsp;</td>
-
## three point two
+
</tr>
-
|-
+
<tr valign="top" style="background-color:#d1d1d1;">
-
|Definition list
+
<td colspan="5" style="text-align:center" id="beginning">
-
|<pre>
+
-
;item 1
+
-
: definition 1
+
-
;item 2
+
-
: definition 2-1
+
-
: definition 2-2
+
-
</pre>
+
-
|
+
-
;item 1
+
-
: definition 1
+
-
;item 2
+
-
: definition 2-1
+
-
: definition 2-2
+
-
|-
+
-
| Adopting definition list to indent text
+
-
|
+
-
<pre>: Single indent
+
-
:: Double indent
+
-
::::: Multiple indent</pre>
+
-
This workaround may be controversial from the viewpoint of accessibility.
+
-
|
+
-
: Single indent
+
-
:: Double indent
+
-
::::: Multiple indent
+
-
|-
+
-
| Mixture of different types of list
+
-
|
+
-
<pre>
+
-
# one
+
-
# two
+
-
#* two point one
+
-
#* two point two
+
-
# three
+
-
#; three item one
+
-
#: three def one
+
-
# four
+
-
#: four def one
+
-
#: this rather looks like the continuation of # four
+
-
#: and thus often used instead of <br />
+
-
# five
+
-
## five sub 1
+
-
### five sub 1 sub 1
+
-
## five sub 2
+
-
;item 1
+
====Apply Only at Beginning of Line====
-
:* definition 1-1
+
-
:* definition 1-2
+
-
:
+
-
;item 2
+
-
:# definition 2-1
+
-
:# definition 2-2
+
-
</pre>
+
-
The usage of <code>#:</code> and <code>*:</code> for breaking a line within an item may also be controversial.
+
-
|
+
-
# one
+
-
# two
+
-
#* two point one
+
-
#* two point two
+
-
# three
+
-
#; three item one
+
-
#: three def one
+
-
# four
+
-
#: four def one
+
-
#: this rather looks like the continuation of <code># four</code>
+
-
#: often used instead of <code>&lt;br /></code>
+
-
# five
+
-
## five sub 1
+
-
### five sub 1 sub 1
+
-
## five sub 2
+
-
;item 1
+
-
:* definition 1-1
+
-
:* definition 1-2
+
-
:
+
-
;item 2
+
-
:# definition 2-1
+
-
:# definition 2-2
+
-
|-
+
-
|-
+
-
|Preformatted text
+
-
|
+
-
<pre>
+
-
preformatted text is done with
+
-
a '''space''' at the
+
-
''beginning'' of the line
+
-
</pre>
+
-
This way of preformatting only applies to section formatting, and character formatting markups are still effective.
+
-
|
+
-
preformatted text is done with
+
-
a '''space''' at the
+
-
''beginning'' of the line
+
-
|}
+
-
== Paragraphs ==
+
</td>
-
MediaWiki ignores normal line breaks. To start a new paragraph, leave an empty line. You can force a line break within a paragraph with the HTML tags <code>&lt;br /></code>.
+
</tr>
 +
<tr valign="top"  style="background-color:#e1e1e1;">
 +
<td>'''Description'''</td>
 +
<td>&nbsp;&nbsp;</td>
 +
<td>'''You type'''</td>
 +
<td>&nbsp;&nbsp;</td>
 +
<td>'''You get''' </td>
 +
</tr>
 +
<tr valign="top">
 +
<td> Indented text</td>
 +
<td>&nbsp;&nbsp;</td>
 +
<td><tt><nowiki>:Indented text</nowiki></tt></td>
 +
<td>&nbsp;&nbsp;</td>
 +
<td>&nbsp;&nbsp;&nbsp;&nbsp;Indented text</td>
 +
</tr>
 +
<tr style="background-color:#f1f1f1;">
 +
<td>Headings of various levels</td>
 +
<td>&nbsp;&nbsp;</td>
 +
<td><tt><nowiki>=level 1=</nowiki></tt></td>
 +
<td>&nbsp;&nbsp;</td>
 +
<td><h1>Level 1</h1></td>
 +
</tr>
 +
<tr> 
 +
<td>&nbsp; </td>
 +
<td>&nbsp;&nbsp;</td>
 +
<td><tt><nowiki>==level 2==</nowiki></tt></td>
 +
<td>&nbsp;&nbsp;</td>
 +
<td><h2>Level 2</h2></td>
 +
</tr>
 +
<tr style="background-color:#f1f1f1;"> 
 +
<td>&nbsp;</td>
 +
<td>&nbsp;&nbsp;</td>
 +
<td><tt><nowiki>===level 3===</nowiki></tt></td>
 +
<td>&nbsp;&nbsp;</td>
 +
<td><h3>Level 3</h3></td>
 +
</tr>
 +
<tr>
 +
<td>&nbsp;</td>
 +
<td>&nbsp;&nbsp;</td>
 +
<td><tt><nowiki>====level 4====</nowiki></tt><br /></td>
 +
<td>&nbsp;&nbsp;</td>
 +
<td><h4>Level 4</h4> <br /></td>
 +
</tr>
 +
<tr style="background-color:#f1f1f1;">
 +
<td>Horizontal rule <br /></td>
 +
<td>&nbsp;&nbsp;</td>
 +
<td><tt><nowiki>----</nowiki></tt> &nbsp;</td>
 +
<td>&nbsp;&nbsp;</td>
 +
<td>
 +
<hr /></td>
 +
</tr>
 +
<tr  valign="top">
 +
<td>Bulleted list</td>
 +
<td>&nbsp;&nbsp;</td>
 +
<td><tt><nowiki>*</nowiki> first item</tt><br />
 +
<tt><nowiki>*</nowiki> second item</tt><br />
 +
<tt><nowiki>**</nowiki> first sub-item</tt><br />
 +
<tt><nowiki>**</nowiki> second sub-item</tt><br />
 +
<tt><nowiki>***</nowiki> first sub-sub-item</tt><br />
 +
<tt><nowiki>***</nowiki> second sub-sub-item</tt></td>
 +
<td>&nbsp;&nbsp;</td>
 +
<td>
 +
* first item
 +
* second item
 +
** first sub-item
 +
** second sub-item
 +
*** first sub-sub-item
 +
*** second sub-sub-item</td>
 +
</tr>
 +
<tr valign="top" style="background-color:#f1f1f1;">
 +
<td>Numbered list</td>
 +
<td>&nbsp;&nbsp;</td>
 +
<td><tt><nowiki>#</nowiki> Step 1</tt><br />
 +
<tt><nowiki>#</nowiki> Step 2<nowiki><br /></nowiki></tt>
 +
<tt>more on two<nowiki><br /></nowiki></tt>
 +
<tt>yet more on two</tt><br />
 +
<tt><nowiki>#</nowiki> Step 3</tt><br />
 +
<tt><nowiki>##</nowiki> Sub-step 1</tt><br />
 +
<tt><nowiki>##</nowiki> Sub-step 2</tt></td>
 +
<td>&nbsp;&nbsp;</td>
 +
<td>
 +
# Step 1
 +
# Step 2<br />more on two<br />yet more on two
 +
# Step 3
 +
## Sub-step 1
 +
## Sub-step 2</td>
 +
</tr>
 +
<tr valign="top">
 +
<td> Mixture of bulleted<br /> and numbered lists<br /><br /><br /><br /></td>
 +
<td>&nbsp;&nbsp;</td>
 +
<td><tt><nowiki>#</nowiki> Step 1</tt><br />
 +
<tt><nowiki>#</nowiki> Step 2</tt><br />
 +
<tt><nowiki>#*</nowiki> Sub-item</tt><br />
 +
<tt><nowiki>#*</nowiki> Sub-item</tt>
 +
<br/><br/>
 +
<tt><nowiki>*</nowiki> Bullet 1</tt><br />
 +
<tt><nowiki>*</nowiki> Bullet 2</tt><br />
 +
<tt><nowiki>*#</nowiki> Sub-step 1</tt><br />
 +
<tt><nowiki>*#</nowiki> Sub-step 2</tt></td>
 +
<td>&nbsp;&nbsp;</td>
 +
<td>
 +
# Step 1
 +
# Step 2
 +
#* Sub-item
 +
#* Sub-item
-
== HTML ==
+
* Bullet 1
-
Some [[wikipedia:HTML|HTML]] tags are allowed in MediaWiki, for example <code>&lt;code></code>, <code>&lt;div></code>, <code><nowiki><span></nowiki></code> and <code><nowiki><font></nowiki></code>. These apply anywhere you insert them.
+
* Bullet 2
-
 
+
*# Sub-step 1
-
{| class="wikitable"
+
*# Sub-step 2</td>
-
!Description
+
</tr>
-
!You type
+
<tr valign="top" style="background-color:#f1f1f1;">
-
!You get
+
<td>Definition list</td>
 +
<td>&nbsp;&nbsp;</td>
 +
<td><tt><nowiki>;</nowiki>Term</tt><br />
 +
<tt><nowiki>:</nowiki>Definition 1</tt><br />
 +
<tt><nowiki>:</nowiki>Definition 2</tt></td>
 +
<td>&nbsp;&nbsp;</td>
 +
<td>
 +
<dl>
 +
<dt>Term
 +
</dt>
 +
<dd>Definition 1
 +
</dd>
 +
<dd>Definition 2
 +
</dd>
 +
</dl></td>
 +
</tr>
 +
<tr  valign="top">
 +
<td>Preformatted text can be done either with a &lt;pre&gt; tag or with a space at the beginning of each line of text.
 +
</td>
 +
<td>&nbsp;&nbsp;</td>
 +
<td>&lt;pre&gt;
 +
This text is preformatted <br/>
 +
and has the same number of<br/>
 +
lines as the source has line breaks.<br/>
 +
&lt;/pre&gt;
 +
<br/>
 +
<br/>
 +
<tt>&nbsp;This preformatted text </tt><br/>
 +
<tt>&nbsp;has a space at the</tt><br />
 +
<tt>&nbsp;beginning of each line</tt><br/>
 +
</td>
 +
<td>&nbsp;&nbsp;</td>
 +
<td><pre>
 +
This text is preformatted
 +
and has the same number of
 +
lines as the source has line breaks.</pre>
 +
<pre> this preformatted text
 +
has a space at the
 +
beginning of each line</pre></td>
 +
</tr>
 +
<tr valign="top" style="background-color:#f1f1f1;">
 +
<td>
 +
A table with borders, a header row, a simple row, and a row with the valign attribute defined.</td>
 +
<td>&nbsp;&nbsp;</td>
 +
<td><br />
 +
<tt><nowiki>{|- border="1"</nowiki></tt><br />
 +
<tt><nowiki>! Heading 1</nowiki></tt><br />
 +
<tt><nowiki>! Heading 2</nowiki></tt><br />
 +
<tt><nowiki>|-</nowiki></tt><br />
 +
<tt><nowiki>| cell 1</nowiki></tt><br />
 +
<tt><nowiki>| cell 2</nowiki></tt><br />
 +
<tt><nowiki>|- valign="top"</nowiki></tt><br />
 +
<tt><nowiki>| single line</nowiki></tt><br />
 +
<tt><nowiki>| two lines<br />of content</nowiki></tt><br />
 +
<tt><nowiki>|}</nowiki></tt></td>
 +
<td>&nbsp;&nbsp;</td>
 +
<td><br />
 +
{|- border="1"
 +
! Heading 1
 +
! Heading 2
|-
|-
-
| Strikethrough
+
| cell 1
-
| <code>&lt;del>Strikethrough&lt;/del></code> or <code>&lt;s>Strikethrough&lt;/s></code>
+
| cell 2
-
|<del>Strikethrough</del>
+
|- valign="top"
-
|- style="white-space:nowrap"
+
| single line
-
|Fixed width text
+
| two lines<br />of content
-
| <code>&lt;tt>Fixed width text&lt;/tt></code> or <code>&lt;code>source code&lt;/code></code>
+
|}</td>
-
| <tt>Fixed width text</tt>
+
</tr>
-
|-
+
</table>
-
|Blockquotes
+
 
-
| <code>
+
-
text text text text text text text text text text text text
+
-
text text text text text text text text text text text text
+
-
&lt;blockquote>  quote quote quote quote quote quote &lt;/blockquote>
+
-
text text text text text text text text text text text text
+
-
</code>
+
-
| text text text text text text text text text text text text text text text text text text text text text text text text <blockquote>  quote quote quote quote quote quote </blockquote> text text text text text text text text text text text text
+
-
|-
+
-
|Comment
+
-
| <code>&lt;!-- This is a comment --></code>
+
-
Text can only be viewed in the edit window.
+
-
|
+
-
<!-- This is a real invisible comment -->
+
-
|-
+
-
|Completely preformatted text
+
-
|
+
-
<code><nowiki><pre>this way, all markups are '''ignored'''</pre></nowiki></code>
+
-
|
+
-
<pre> this way, all markups are '''ignored'''.</pre>
+
-
|
+
-
|-
+
-
|'''Customised''' preformatted text
+
-
|
+
-
<code><nowiki><pre style="CSS text">this way, all markups are '''ignored''' and formated with a CSS text</pre></nowiki></code>
+
-
|
+
-
<pre style="white-space:pre-wrap;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word;overflow:auto;">
+
-
this way for instance, all '''ignored''' markups take into account the navigator size, by automatically adding some carriage returns dynamically to it.</pre>
+
-
|}
+
== Other formatting ==
== Other formatting ==
Beyond the text formatting markup shown above, here are some other formatting references:
Beyond the text formatting markup shown above, here are some other formatting references:
-
 
+
* http://wiki.netbeans.org/IssuezillaLinkPlugin
*[[Mediawikiwiki:Help:Links|Links]]
*[[Mediawikiwiki:Help:Links|Links]]
* [[Mediawikiwiki:Help:Images|Images]]
* [[Mediawikiwiki:Help:Images|Images]]
* [[Mediawikiwiki:Help:Tables|Tables]]
* [[Mediawikiwiki:Help:Tables|Tables]]

Current revision as of 09:00, 17 January 2013

You can format your text easily using wiki markup. This consists of normal characters like asterisks, single quotes or equation marks which have a special function in the wiki, sometimes depending on their position. For example, to format a word in italic, you include it in two single quotes like ''this''

Text Formatting Markup

Formatting That Applies Anywhere

Description    You type    You get
Italic text    ''italic''    italic
Bold text    '''bold'''    bold
Bold and italic    '''''bold & italic'''''    bold & italic
Hyperlink to wiki page
   [[Home]]
   Home
Hyperlink to wiki page with different link text—use | to separate text    [[Home|Main doc page]]    Main doc page
Hyperlink to external web page    http://www.sun.com    http://www.sun.com
Hyperlink to external web page with different link text—space separates text    [http://www.sun.com Sun Microsystems]    Sun Microsystems
Anchor definition. Use the id attribute with an HTML tag that takes this attribute, such as <span> or <div>.    <span id="anchor_to_link_to">optional text</span>    optional text
Hyperlink to anchor
   [[#anchor_to_link_to|go to anchor]]
   go to anchor above
Inline image. Use | to separate options, which include thumb for an 80x80 pixel thumbnail, 99px to size the image to 99 by 99 pixels square, 66x99px to size the image to 66px wide by 99px high, left or right to float the image left or right, box to created a boxed image.    [[image:aracari-sm.png]]    image:aracari-sm.png
Inline image with thumb, right, and box. See Media Wiki Sampler: Images for more examples.    [[image:aracari.png|thumb|right|box]]   
box
Escape wiki markup    <nowiki>no ''markup''</nowiki>    no ''markup''
Table of Contents: Use two underscores before TOC and two after. The table of contents is inserted at the location of this identifier and lists all headings defined with wiki heading tags (=, ==, ===, and so on). If you want to exclude a heading, such as the main heading, use HTML tags instead of wiki tags. For example, <h1>Main Heading</h1>.    __TOC__   

Contents

 

Apply Only at Beginning of Line

Description    You type    You get
Indented text    :Indented text        Indented text
Headings of various levels    =level 1=   

Level 1

     ==level 2==   

Level 2

     ===level 3===   

Level 3

     ====level 4====
  

Level 4


Horizontal rule
   ----     
Bulleted list    * first item

* second item
** first sub-item
** second sub-item
*** first sub-sub-item

*** second sub-sub-item
  
  • first item
  • second item
    • first sub-item
    • second sub-item
      • first sub-sub-item
      • second sub-sub-item
Numbered list    # Step 1

# Step 2<br /> more on two<br /> yet more on two
# Step 3
## Sub-step 1

## Sub-step 2
  
  1. Step 1
  2. Step 2
    more on two
    yet more on two
  3. Step 3
    1. Sub-step 1
    2. Sub-step 2
Mixture of bulleted
and numbered lists



   # Step 1

# Step 2
#* Sub-item
#* Sub-item

* Bullet 1
* Bullet 2
*# Sub-step 1

*# Sub-step 2
  
  1. Step 1
  2. Step 2
    • Sub-item
    • Sub-item
  • Bullet 1
  • Bullet 2
    1. Sub-step 1
    2. Sub-step 2
Definition list    ;Term

:Definition 1

:Definition 2
  

Term </dt>
Definition 1 </dd>
Definition 2 </dd>

Preformatted text can be done either with a <pre> tag or with a space at the beginning of each line of text.    <pre>

This text is preformatted
and has the same number of
lines as the source has line breaks.
</pre>

 This preformatted text
 has a space at the
 beginning of each line

  
This text is preformatted
and has the same number of
lines as the source has line breaks.
 this preformatted text 
 has a space at the 
 beginning of each line
A table with borders, a header row, a simple row, and a row with the valign attribute defined.   

{|- border="1"
! Heading 1
! Heading 2
|-
| cell 1
| cell 2
|- valign="top"
| single line
| two lines<br />of content

|}
  
Heading 1 Heading 2
cell 1 cell 2
single line two lines
of content


Other formatting

Beyond the text formatting markup shown above, here are some other formatting references:

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo