http://wiki.webos-internals.org/index.php?title=Help:Formatting&feed=atom&action=historyHelp:Formatting - Revision history2024-03-28T17:21:07ZRevision history for this page on the wikiMediaWiki 1.35.1http://wiki.webos-internals.org/index.php?title=Help:Formatting&diff=2465&oldid=prevX1011: removing public domain copyright notice2009-07-26T10:26:08Z<p>removing public domain copyright notice</p>
<table class="diff diff-contentalign-left diff-editfont-monospace" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 10:26, 26 July 2009</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1" >Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">{{PD Help Page}}</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>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></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>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></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
</table>X1011http://wiki.webos-internals.org/index.php?title=Help:Formatting&diff=70&oldid=prevWikiSysop: 1 revision(s)2009-07-16T03:51:25Z<p>1 revision(s)</p>
<p><b>New page</b></p><div>{{PD Help Page}}<br />
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><br />
<br />
== Text formatting markup ==<br />
{| class="wikitable"<br />
! style="width:15%" |Description<br />
! style="width:45%" |You type<br />
! style="width:40%" |You get<br />
|-<br />
! colspan="3" align="center" style="background:#A7C1F2" | character formatting - ''applies anywhere''<br />
|-<br />
|Italic text<br />
|<pre>''italic''</pre><br />
|''italic''<br />
|-<br />
| Bold text<br />
|<pre>'''bold'''</pre><br />
|'''bold'''<br />
|-<br />
| Bold and italic<br />
|<pre>'''''bold & italic'''''</pre><br />
|'''''bold & italic'''''<br />
|-<br />
|Escape wiki markup<br />
|<br />
<pre>&lt;nowiki>no ''markup''</nowiki></pre><br />
|<nowiki>no ''markup''</nowiki><br />
|-<br />
! colspan="3" align="center" style="background:#A7C1F2"| section formatting - ''only at the beginning of the line''<br />
|-<br />
|Headings of different levels <br />
|<br />
<pre>=level 1=<br />
==level 2==<br />
===level 3===<br />
====level 4====<br />
=====level 5=====<br />
======level 6======</pre><br />
An article with four or more headings will automatically create a [http://en.wikipedia.org/wiki/Wikipedia:Section#Table_of_contents_.28TOC.29 table of contents].<br />
<br />
|<br />
<!-- little hack to prevent TOC viewing --><br />
<div style="font-size: 188%; margin: 0; padding-top: .5em; padding-bottom: .17em; border-bottom: 1px solid #aaa;">Level 1</div><br />
<div style="font-size: 150%; margin: 0; padding-top: .5em; padding-bottom: .17em; border-bottom: 1px solid #aaa;">Level 2</div><br />
<div style="font-size: 132%; border-bottom: none; font-weight: bold;">Level 3</div><br />
<div style="font-size: 100%; border-bottom: none; font-weight: bold;">Level 4</div><br />
<div style="font-size: 86%; border-bottom: none; font-weight: bold;">Level 5</div><br />
<div style="font-size: 80%; border-bottom: none; font-weight: bold;">Level 6</div><br />
|-<br />
|Horizontal rule<br />
|<br />
<pre>----</pre><br />
|<br />
----<br />
|-<br />
|Bullet list<br />
|<br />
<pre><br />
* one<br />
* two<br />
* three<br />
** three point one<br />
** three point two<br />
</pre><br />
Inserting a blank line will end the first list and start another.<br />
|<br />
* one<br />
* two<br />
* three<br />
** three point one<br />
** three point two<br />
|-<br />
|Numbered list<br />
|<br />
<pre><br />
# one<br />
# two<br />spanning several lines<br />without breaking the numbering<br />
# three<br />
## three point one<br />
## three point two<br />
</pre><br />
|<br />
# one<br />
# two<br />spanning several lines<br />without breaking the numbering<br />
# three<br />
## three point one<br />
## three point two<br />
|-<br />
|Definition list<br />
|<br />
<pre><br />
;item 1<br />
:definition 1<br />
;item 2<br />
:definition 2-1<br />
:definition 2-2<br />
</pre><br />
|<br />
;item 1<br />
:definition 1<br />
;item 2<br />
:definition 2-1<br />
:definition 2-2<br />
|-<br />
| Adopting definition list to indent text<br />
|<br />
<pre>:Single indent<br />
::Double indent<br />
:::::Multiple indent</pre><br />
This adoption may be controversial from the viewpoint of accessibility.<br />
|<br />
:Single indent<br />
::Double indent<br />
:::::Multiple indent<br />
|-<br />
| Mixture of different types of list<br />
|<br />
<pre><br />
# one<br />
# two<br />
#* two point one<br />
#* two point two<br />
# three<br />
#; three item one<br />
#: three def one<br />
# four<br />
#: four def one<br />
#: this rather looks like the continuation of # four<br />
#: and thus often used instead of <br /><br />
# five<br />
## five sub 1<br />
### five sub 1 sub 1<br />
## five sub 2<br />
;item 1<br />
:* definition 1-1<br />
:* definition 1-2<br />
:<br />
;item 2<br />
:# definition 2-1<br />
:# definition 2-2<br />
</pre><br />
The usage of <code>#:</code> and <code>*:</code> for breaking a line within an item may also be controversial.<br />
|<br />
# one<br />
# two<br />
#* two point one<br />
#* two point two<br />
# three<br />
#; three item one<br />
#: three def one<br />
# four<br />
#: four def one<br />
#: this rather looks like the continuation of <code># four</code><br />
#: and thus often used instead of <code><nowiki><br /></nowiki></code><br />
# five<br />
## five sub 1<br />
### five sub 1 sub 1<br />
## five sub 2<br />
;item 1<br />
:* definition 1-1<br />
:* definition 1-2<br />
:<br />
;item 2<br />
:# definition 2-1<br />
:# definition 2-2<br />
|-<br />
|-<br />
|Preformatted text<br />
|<br />
<pre><br />
preformatted text is done with<br />
a '''space''' at the <br />
''beginning'' of the line<br />
</pre><br />
This way of preformatting only applies to section formatting, and character formatting markups are still effective.<br />
|<br />
preformatted text is done with<br />
a '''space''' at the <br />
''beginning'' of the line<br />
|}<br />
<br />
== Paragraphs ==<br />
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><nowiki><br /></nowiki></code>.<br />
<br />
== HTML ==<br />
Some [[wikipedia:HTML|HTML]] tags are allowed in MediaWiki, for example <code><nowiki><code></nowiki></code>, <code><nowiki><div></nowiki></code>, <code><nowiki><span></nowiki></code> and <code><nowiki><font></nowiki></code>. These apply anywhere you insert them.<br />
<br />
{| class="wikitable"<br />
!Description<br />
!You type<br />
!You get<br />
|-<br />
| Strikethrough<br />
|<pre><del>Strikethrough</del></pre><br />
|<del>Strikethrough</del><br />
|-<br />
|Fixed width text<br />
|<br />
<pre><tt>Fixed width text</tt></pre><br />
|<br />
<tt>Fixed width text</tt><br />
|-<br />
|Blockquotes<br />
|<br />
<pre><br />
text text text text text text text text text text text text<br />
text text text text text text text text text text text text<br />
<blockquote> quote quote quote quote quote quote </blockquote><br />
text text text text text text text text text text text text<br />
</pre><br />
|<br />
text text text text text text text text text text text text<br />
text text text text text text text text text text text text<br />
<blockquote> quote quote quote quote quote quote </blockquote><br />
text text text text text text text text text text text text<br />
|-<br />
|Comment<br />
|<br />
<pre><!--This is comment--></pre><br />
<br />
Text can only be viewed in the edit window.<br />
|<br />
<!--This is comment--><br />
|-<br />
|Completely preformatted text<br />
|<br />
<pre><pre>this way, all markups are '''ignored'''&lt;/pre></pre><br />
|<br />
<pre><br />
this way, all markups are '''ignored'''</pre><br />
|}<br />
{{Admin tip|tip=If you trust your users you can allow full HTML by setting <code>{{mediawiki|Manual:$wgRawHtml|$wgRawHtml}} = true;</code> in {{mediawiki|Manual:LocalSettings.php|LocalSettings.php}}.}}<br />
<br />
== Other formatting ==<br />
Beyond the text formatting markup shown above, here are some other formatting references:<br />
*[[Help:Links|Links]]<br />
*[[Help:Images|Images]]<br />
*[[Help:Tables|Tables]]<br />
<br />
{{Languages}}<br />
<br />
[[Category:Help|Formatting]]</div>WikiSysop