Difference between revisions of "Help:Editing"

From CDOT Wiki
Jump to: navigation, search
 
(copied the editing help from mdc)
Line 1: Line 1:
MDC has some great info check out [http://developer.mozilla.org/en/docs/MDC:Wiki_Markup_Reference Wiki Markup Reference]
+
= Basics =
 +
== Sections, Paragraphs, Newlines ==
 +
{| class="fullwidth-table"
 +
|-
 +
|class="header" width="50%"|Result
 +
|class="header" width="50%"|Markup
 +
|-
 +
 
 +
|-
 +
|class="header" width="50%" colspan="2"|Sections
 +
|-
 +
 
 +
|-
 +
|
 +
 
 +
<!-- This code prevents confusion in the section editing feature-->
 +
 
 +
<b><font style="font-size:160%"> Section </font></b>
 +
----
 +
 
 +
<b><font style="font-size:140%"> Sub-section </font></b>
 +
----
 +
 
 +
<b><font style="font-size:120%"> Sub-sub-section</font></b>
 +
 
 +
<b><font style="font-size:100%"> Sub-sub-sub-section</font></b>
 +
 
 +
If your document needs more than four section levels, it is recommended that you break it up into smaller pages and link those together.
 +
|
 +
<pre>
 +
= Section =
 +
 
 +
== Sub-section ==
 +
 
 +
=== Sub-sub-section ===
 +
 
 +
==== Sub-sub-sub=section ====
 +
</pre>
 +
|-
 +
|-
 +
|class="header" width="50%" colspan="2"|Paragraphs and Newlines
 +
|-
 +
 
 +
|-
 +
|
 +
A single carriage-return between
 +
lines does nothing.
 +
 
 +
Leaving a blank line
 +
 
 +
indicates a new paragraph.
 +
 
 +
You can<br />
 +
use "br" tags<br />
 +
to force<br />
 +
a newline.
 +
|
 +
<pre>
 +
A single carriage-return between
 +
lines does nothing.
 +
 
 +
Leaving a blank line
 +
 
 +
indicates a new paragraph.
 +
 
 +
You can<br />
 +
use "br" tags<br />
 +
to force<br />
 +
a newline.
 +
</pre>
 +
|-
 +
|}
 +
 
 +
== Text Formatting ==
 +
{| class="fullwidth-table"
 +
|-
 +
|class="header" width="50%"|Result
 +
|class="header" width="50%"|Markup
 +
|-
 +
 
 +
|-
 +
|class="header" width="50%" colspan="2"|Text Formatting
 +
|-
 +
 
 +
|-
 +
|
 +
''italic'' or ''emphasis''
 +
|
 +
<pre>
 +
''italic'' or ''emphasis''
 +
</pre>
 +
|-
 +
 
 +
|-
 +
|
 +
'''bold''' or '''strong'''
 +
|
 +
<pre>
 +
'''bold''' or '''strong'''
 +
</pre>
 +
|-
 +
 
 +
|-
 +
|
 +
'''''bold italic''''' or '''''very strong'''''
 +
|
 +
<pre>
 +
'''''bold italic''''' or '''''very strong'''''
 +
</pre>
 +
|-
 +
 
 +
|-
 +
|
 +
Here is some <code>in-line code</code> as an example.
 +
|
 +
<pre>
 +
Here is some <code>in-line code</code> as an example.
 +
</pre>
 +
|-
 +
 
 +
|-
 +
|
 +
<pre>
 +
This is how
 +
    to do code
 +
    blocks.
 +
</pre>
 +
|
 +
<pre>
 +
&lt;pre&gt;
 +
This is how
 +
    to do code
 +
    blocks.
 +
&lt;/pre&gt;
 +
</pre>
 +
|-
 +
 
 +
|-
 +
|
 +
<blockquote>
 +
Blockquotes - this is a blockquote.
 +
</blockquote>
 +
|
 +
<pre>
 +
<blockquote>
 +
Blockquotes - this is a blockquote.
 +
</blockquote>
 +
</pre>
 +
|-
 +
 
 +
|-
 +
|
 +
<small>Small text.</small>
 +
|
 +
<pre>
 +
<small>Small text.</small>
 +
</pre>
 +
|-
 +
 
 +
|-
 +
|
 +
<big>Big text.</big>
 +
|
 +
<pre>
 +
<big>Big text.</big>
 +
</pre>
 +
|-
 +
 
 +
|-
 +
|
 +
<strike>Strikeout.</strike>
 +
|
 +
<pre>
 +
<strike>Strikeout.</strike>
 +
</pre>
 +
|-
 +
 
 +
|-
 +
|
 +
<u>Underlined.</u>
 +
|
 +
<pre>
 +
<u>Underlined.</u>
 +
</pre>
 +
|-
 +
 
 +
|-
 +
|
 +
<sup>Super</sup>Script.
 +
|
 +
<pre>
 +
<sup>Super</sup>Script.
 +
</pre>
 +
|-
 +
 
 +
|-
 +
|
 +
<sub>Sub</sub>Script.
 +
|
 +
<pre>
 +
<sub>Sub</sub>Script.
 +
</pre>
 +
|-
 +
|}
 +
 
 +
== Lists ==
 +
{| class="fullwidth-table"
 +
|-
 +
|class="header" width="50%"|Result
 +
|class="header" width="50%"|Markup
 +
|-
 +
 
 +
|-
 +
|class="header" colspan="2"|Bulleted Lists
 +
|-
 +
 
 +
|-
 +
|
 +
* Manuals
 +
** Reference
 +
** Guide
 +
* Articles
 +
** Tutorials
 +
*** JavaScript
 +
*** HTML
 +
*** CSS
 +
** Tips & Tricks
 +
* FAQs
 +
 
 +
List bullets, indenting, and so forth can be changed via CSS.
 +
|
 +
<pre>
 +
* Manuals
 +
** Reference
 +
** Guide
 +
* Articles
 +
** Tutorials
 +
*** JavaScript
 +
*** HTML
 +
*** CSS
 +
** Tips & Tricks
 +
* FAQs
 +
</pre>
 +
|-
 +
 
 +
|-
 +
|class="header" colspan="2"|Numbered Lists
 +
|-
 +
 
 +
|-
 +
|
 +
# Manuals
 +
## Reference
 +
## Guide
 +
# Articles
 +
## Tutorials
 +
### JavaScript
 +
### HTML
 +
### CSS
 +
## Tips & Tricks
 +
# FAQs
 +
 
 +
List numbers and styling can be changed via CSS.
 +
|
 +
<pre>
 +
# Manuals
 +
## Reference
 +
## Guide
 +
# Articles
 +
## Tutorials
 +
### JavaScript
 +
### HTML
 +
### CSS
 +
## Tips & Tricks
 +
# FAQs
 +
</pre>
 +
|-
 +
|}
 +
 
 +
== Links ==
 +
{| class="fullwidth-table"
 +
|-
 +
|class="header" width="50%"|Result
 +
|class="header" width="50%"|Markup
 +
|-
 +
 
 +
|-
 +
|class="header" colspan="2"|Internal Links
 +
|-
 +
 
 +
|-
 +
|
 +
'''Simple internal link to another page...'''
 +
 
 +
April 1st is [[April Fool's Day]].
 +
 
 +
|
 +
<pre>
 +
April 1st is [[April Fool's Day]].
 +
</pre>
 +
|-
 +
 
 +
|-
 +
|
 +
'''Internal link where the target page title is different than the link text...'''
 +
 
 +
[[April Fool's Day|April 1st]] happens to be Dria's birthday.
 +
 
 +
|
 +
<pre>
 +
[[April Fool's Day|April 1st]] happens to be Dria's birthday.
 +
</pre>
 +
|-
 +
 
 +
|-
 +
|
 +
'''Internal link to a specific section of another page...'''
 +
 
 +
[[April Fool's Day#Birthdays|Some April Fool Birthdays]].
 +
 
 +
|
 +
<pre>
 +
[[April Fool's Day#Birthdays|Some April Fool Birthdays]].
 +
</pre>
 +
|-
 +
 
 +
|-
 +
|
 +
'''Endings are blended into the link...'''
 +
 
 +
In April, the [[crocus]]es begin to bloom.
 +
 
 +
|
 +
<pre>
 +
In April, the [[crocus]]es begin to bloom.
 +
</pre>
 +
|-
 +
 
 +
|-
 +
|
 +
'''Adding a signature that links to your User page...'''
 +
 
 +
[[User:Dria|Dria]]
 +
 
 +
or
 +
 
 +
[[User:Dria|Dria]] 13:39, 15 Mar 2005 (EST)
 +
 
 +
|
 +
<pre>
 +
~~~
 +
 
 +
or
 +
 
 +
~~~~
 +
</pre>
 +
|-
 +
 
 +
|-
 +
|class="header" colspan="2"|External Links
 +
|-
 +
 
 +
|-
 +
|
 +
'''Straight URL linking...'''
 +
 
 +
http://www.mozilla.org
 +
|
 +
<pre>
 +
http://www.mozilla.org
 +
</pre>
 +
|-
 +
 
 +
|-
 +
|
 +
'''External Link with different link text...'''
 +
 
 +
[http://www.mozilla.org Mozilla Project]
 +
|
 +
<pre>
 +
[http://www.mozilla.org Mozilla Project]
 +
</pre>
 +
|-
 +
 
 +
|-
 +
|
 +
'''Link to bug in Mozilla's Bugzilla...'''
 +
 
 +
{{bug|322603}}
 +
|
 +
<pre>
 +
{{bug|322603}}
 +
</pre>
 +
|-
 +
 
 +
|-
 +
|class="header" colspan="2"|Interwiki Links
 +
|-
 +
 
 +
|-
 +
|
 +
TBD
 +
|
 +
TBD
 +
|-
 +
 
 +
|}
 +
 
 +
== Comments ==
 +
<table class="fullwidth-table">
 +
<td class="header" width="50%">Result</td>
 +
<td class="header" width="50%">Markup</td>
 +
</tr>
 +
<tr>
 +
<td>
 +
The comment here is not shown
 +
in the result.  It is exactly the
 +
same as an HTML comment.
 +
 
 +
Use comments to leave notes and
 +
instructions for other writers,
 +
editors, and reviewers.
 +
 
 +
<!--- Here's the comment. --->
 +
</td>
 +
<td>
 +
<pre>
 +
The comment here is not shown
 +
in the result.  It is exactly the
 +
same as an HTML comment.
 +
 
 +
Use comments to leave notes and
 +
instructions for other writers,
 +
editors, and reviewers.
 +
 
 +
<!--- Here's the comment. --->
 +
</pre>
 +
</td>
 +
</tr>
 +
</table>
 +
 
 +
= Advanced markup =
 +
== Tables ==
 +
{| class="fullwidth-table"
 +
|-
 +
|class="header" width="50%"|Result
 +
|class="header" width="50%"|Markup
 +
|-
 +
 
 +
|-
 +
|class="header" colspan="2"|Table Markup
 +
|-
 +
 
 +
|-
 +
|colspan="2"|
 +
You can use regular HTML table markup to do wiki tables, or you can use the wiki markup.  The wiki table markup uses fewer characters, but that's about the only real advantage.  Use what you're most comfortable with.
 +
|-
 +
|-
 +
|
 +
<table class="standard-table">
 +
  <tr>
 +
    <th>heading 1</th>
 +
    <th>heading 2</th>
 +
  </tr>
 +
  <tr>
 +
    <td>cell 1</td>
 +
    <td>cell 2</td>
 +
  </tr>
 +
</table>
 +
|
 +
<pre>
 +
<table class="standard-table">
 +
  <tr>
 +
    <th>heading 1</th>
 +
    <th>heading 2</th>
 +
  </tr>
 +
  <tr>
 +
    <td>cell 1</td>
 +
    <td>cell 2</td>
 +
  </tr>
 +
</table>
 +
</pre>
 +
|-
 +
|-
 +
|
 +
{| class="standard-table"
 +
|-
 +
|class="header"|heading 1
 +
|class="header"|heading 2
 +
|-
 +
|-
 +
|cell 1
 +
|cell 2
 +
|-
 +
|}
 +
 
 +
|
 +
<pre>
 +
{| class="standard-table"
 +
|-
 +
|class="header"|heading 1
 +
|class="header"|heading 2
 +
|-
 +
|-
 +
|cell 1
 +
|cell 2
 +
|-
 +
|}
 +
</pre>
 +
 
 +
|-
 +
|}
 +
 
 +
== Images ==
 +
{| class="fullwidth-table"
 +
|-
 +
|class="header" width="50%"|Result
 +
|class="header" width="50%"|Markup
 +
|-
 +
 
 +
|-
 +
|class="header" colspan="2"|Images
 +
|-
 +
 
 +
|-
 +
|
 +
'''Inline image...'''
 +
 
 +
[[Image:Firefox-logo.png]]
 +
|
 +
<pre>
 +
[[Image:Firefox-logo.png]]
 +
</pre>
 +
|-
 +
 
 +
|-
 +
|
 +
'''Inline image with alt text...'''
 +
 
 +
[[Image:Firefox-logo.png|Firefox - Take back the web.]]
 +
|
 +
<pre>
 +
[[Image:Firefox-logo.png|Firefox - Take back the web.]]
 +
</pre>
 +
|-
 +
 
 +
|-
 +
|
 +
'''Thumbnail image with alt text...'''
 +
 
 +
[[Image:Flower.jpg|thumb|Flower macro shot.]]
 +
|
 +
<pre>
 +
[[Image:Flower.jpg|thumb|Flower macro shot.]]
 +
</pre>
 +
|-
 +
 
 +
|-
 +
|
 +
'''Link to a picture...'''
 +
 
 +
[[media:Flower.jpg|Flower macro shot.]]
 +
|
 +
<pre>
 +
[[media:Flower.jpg|Flower macro shot.]]
 +
</pre>
 +
|-
 +
 
 +
|}
 +
 
 +
== Categories ==
 +
 
 +
Every page in the wiki should be included in at least one [http://meta.wikimedia.org/wiki/Help:Category MediaWiki Category]. To add a category to a page, use the following syntax:
 +
 
 +
[[Category:''CategoryName'']]
 +
 
 +
These category links should be put at the bottom of the page after the content.  Add as many Category links as appropriate.  For example, a tutorial about how to use Venkman could be in the "Venkman", "Tools", and "Tutorials" categories.
 +
 
 +
All categories, in turn, should be put in [[:Category:All Categories]].
 +
 
 +
== Reference to versions in other languages ==
 +
It is always nice when there are references to the page's versions written in other languages. For example, to insert in this page a reference to this page's version in portuguese, you simply need to add the following syntax at the end of this page:
 +
 
 +
<pre>
 +
[[pt:Referência de Marcação Wiki]]
 +
</pre>
 +
 
 +
In other words, you simply need to add the internal link to the desired site with the prefix which refers to the page's language.
 +
 
 +
The reference to other language's pages also works with category pages.
 +
 
 +
== Force Ignore of Wiki Markup ==
 +
 
 +
If you need a particular piece of wiki markup ignored by the parser, simply enclose it in "nowiki" tags, like so:
 +
 
 +
<pre>
 +
&lt;nowiki&gt;'''this wiki markup will not be interpreted'''&lt;/nowiki&gt;
 +
</pre>
 +
 
 +
<nowiki>'''this wiki markup will not be interpreted'''</nowiki>
 +
 
 +
== HTML in Wikitext ==
 +
 
 +
The following tags are currently allowed in wiki markup: 
 +
{| border="0" cellpadding="5"
 +
| valign="top"|
 +
* [[Wikipedia:HTML_element#Presentational_markup|&lt;b&gt;]]
 +
* [[Wikipedia:HTML_element#Presentational_markup|&lt;big&gt;]]
 +
* [[Wikipedia:HTML_element#Text_containers|&lt;blockquote&gt;]]
 +
* [[Wikipedia:HTML_element#Others|&lt;br&gt;]]
 +
* [[Wikipedia:HTML_element#Tables|&lt;caption&gt;]]
 +
* &lt;center&gt;
 +
* &lt;cite&gt;
 +
* [[Wikipedia:HTML_element#Logical_markup|&lt;code&gt;]]
 +
* [[Wikipedia:HTML_element#Lists|&lt;dd&gt;]]
 +
* [[Wikipedia:HTML_element#Other_containers|&lt;div&gt;]]
 +
* [[Wikipedia:HTML_element#Lists|&lt;dl&gt;]]
 +
* [[Wikipedia:HTML_element#Lists|&lt;dt&gt;]]
 +
* [[Wikipedia:HTML_element#Logical_markup|&lt;em&gt;]]
 +
* [[Wikipedia:HTML_element#Presentational_markup|&lt;font&gt;]]
 +
* [[Wikipedia:HTML_element#Headings|&lt;h1&gt;]]
 +
| valign="top"|
 +
* [[Wikipedia:HTML_element#Headings|&lt;h2&gt;]]
 +
* [[Wikipedia:HTML_element#Headings|&lt;h3&gt;]]
 +
* [[Wikipedia:HTML_element#Headings|&lt;h4&gt;]]
 +
* [[Wikipedia:HTML_element#Headings|&lt;h5&gt;]]
 +
* [[Wikipedia:HTML_element#Headings|&lt;h6&gt;]]
 +
* [[Wikipedia:HTML_element#Other_containers|&lt;hr&gt;]]
 +
* [[Wikipedia:HTML_element#Presentational_markup|&lt;i&gt;]]
 +
* [[Wikipedia:HTML_element#Lists|&lt;li&gt;]]
 +
* [[Wikipedia:HTML_element#Lists|&lt;ol&gt;]]
 +
* [[Wikipedia:HTML_element#Text_containers|&lt;p&gt;]]
 +
* [[Wikipedia:HTML_element#Text_containers|&lt;pre&gt;]]
 +
* &lt;rb&gt;
 +
* &lt;rp&gt;
 +
* &lt;rt&gt;
 +
* &lt;ruby&gt;
 +
| valign="top"|
 +
* [[Wikipedia:HTML_element#Presentational_markup|&lt;s&gt;]]
 +
* [[Wikipedia:HTML_element#Presentational_markup|&lt;small&gt;]]
 +
* [[Wikipedia:HTML_element#Presentational_markup|&lt;strike&gt;]]
 +
* [[Wikipedia:HTML_element#Logical_markup|&lt;strong&gt;]]
 +
* [[Wikipedia:HTML_element#Presentational_markup|&lt;sub&gt;]]
 +
* [[Wikipedia:HTML_element#Presentational_markup|&lt;sup&gt;]]
 +
* [[Wikipedia:HTML_element#Tables|&lt;table&gt;]]
 +
* [[Wikipedia:HTML_element#Tables|&lt;td&gt;]]
 +
* [[Wikipedia:HTML_element#Tables|&lt;th&gt;]]
 +
* [[Wikipedia:HTML_element#Tables|&lt;tr&gt;]]
 +
* [[Wikipedia:HTML_element#Presentational_markup|&lt;tt&gt;]]
 +
* [[Wikipedia:HTML_element#Presentational_markup|&lt;u&gt;]]
 +
* [[Wikipedia:HTML_element#Lists|&lt;ul&gt;]]
 +
* [[Wikipedia:HTML_element#Logical_markup|&lt;var&gt;]]
 +
* [[Wikipedia:HTML_element#Others|&lt;!-- ... --&gt;]]
 +
|}
 +
 
 +
== Special Characters ==
 +
 
 +
<table class="fullwidth-table">
 +
<tr>
 +
<td class="header" width="50%">Result</td>
 +
<td class="header" width="50%">Markup</td>
 +
</tr>
 +
<tr valign="top">
 +
<td>
 +
'''Umlauts and accents:'''
 +
 
 +
è é ê ë ì í
 +
 
 +
&Agrave; &Aacute; &Acirc; &Atilde; &Auml; &Aring; <br/>
 +
&AElig; &Ccedil; &Egrave; &Eacute; &Ecirc; &Euml; <br/>
 +
&Igrave; &Iacute;
 +
&Icirc; &Iuml; &Ntilde; &Ograve; <br/>
 +
&Oacute; &Ocirc; &Otilde;
 +
&Ouml; &Oslash; &Ugrave; <br/>
 +
&Uacute; &Ucirc; &Uuml; &szlig;
 +
&agrave; &aacute; <br/>
 +
&acirc; &atilde; &auml; &aring; &aelig;
 +
&ccedil; <br/>
 +
&egrave; &eacute; &ecirc; &euml; &igrave; &iacute;<br/>
 +
&icirc; &iuml; &ntilde; &ograve; &oacute; &ocirc; <br/>
 +
&oelig; &otilde;
 +
&ouml; &oslash; &ugrave; &uacute; <br/>
 +
&ucirc; &uuml; &yuml;
 +
</td>
 +
<td><pre><nowiki>
 +
 
 +
è é ê ë ì í
 +
 
 +
&amp;Agrave; &amp;Aacute; &amp;Acirc; &amp;Atilde; &amp;Auml; &amp;Aring;
 +
&amp;AElig; &amp;Ccedil; &amp;Egrave; &amp;Eacute; &amp;Ecirc; &amp;Euml;
 +
&amp;Igrave; &amp;Iacute; &amp;Icirc; &amp;Iuml; &amp;Ntilde; &amp;Ograve;
 +
&amp;Oacute; &amp;Ocirc; &amp;Otilde; &amp;Ouml; &amp;Oslash; &amp;Ugrave;
 +
&amp;Uacute; &amp;Ucirc; &amp;Uuml; &amp;szlig; &amp;agrave; &amp;aacute;
 +
&amp;acirc; &amp;atilde; &amp;auml; &amp;aring; &amp;aelig; &amp;ccedil;
 +
&amp;egrave; &amp;eacute; &amp;ecirc; &amp;euml; &amp;igrave; &amp;iacute;
 +
&amp;icirc; &amp;iuml; &amp;ntilde; &amp;ograve; &amp;oacute; &amp;ocirc;
 +
&amp;oelig; &amp;otilde; &amp;ouml; &amp;oslash; &amp;ugrave; &amp;uacute;
 +
&amp;ucirc; &amp;uuml; &amp;yuml;</nowiki></pre></td>
 +
</tr>
 +
<tr valign=top>
 +
<td>
 +
'''Punctuation:'''<br/>
 +
&iquest; &iexcl; &laquo; &raquo; &sect; &para;<br/>
 +
&dagger; &Dagger; &bull; - &ndash; &mdash;
 +
</td>
 +
<td><pre><nowiki>
 +
&amp;iquest; &amp;iexcl; &amp;laquo; &amp;raquo; &amp;sect; &amp;para;
 +
&amp;dagger; &amp;Dagger; &amp;bull; - &amp;ndash; &amp;mdash;</nowiki></pre></td>
 +
</tr>
 +
<tr valign="top">
 +
<td>
 +
'''Commercial symbols:'''<br/>
 +
&trade; &copy; &reg; &cent; &euro; &yen; <br/>
 +
&pound; &curren;</td>
 +
<td><pre><nowiki>
 +
&amp;trade; &amp;copy; &amp;reg; &amp;cent; &amp;euro; &amp;yen;
 +
&amp;pound; &amp;curren;
 +
</nowiki></pre></td>
 +
</tr>
 +
<tr valign="top"><td>'''Greek characters:''' <br/>
 +
&alpha; &beta; &gamma; &delta; &epsilon; &zeta; <br/>
 +
&eta; &theta; &iota; &kappa; &lambda; &mu; &nu; <br/>
 +
&xi; &omicron; &pi; &rho;  &sigma; &sigmaf; <br/>
 +
&tau; &upsilon; &phi; &chi; &psi; &omega;<br/>
 +
&Gamma; &Delta; &Theta; &Lambda; &Xi; &Pi; <br/>
 +
&Sigma; &Phi; &Psi; &Omega;
 +
</td>
 +
<td><pre><nowiki>
 +
&amp;alpha; &amp;beta; &amp;gamma; &amp;delta; &amp;epsilon; &amp;zeta;
 +
&amp;eta; &amp;theta; &amp;iota; &amp;kappa; &amp;lambda; &amp;mu; &amp;nu;
 +
&amp;xi; &amp;omicron; &amp;pi; &amp;rho;  &amp;sigma; &amp;sigmaf;
 +
&amp;tau; &amp;upsilon; &amp;phi; &amp;chi; &amp;psi; &amp;omega;
 +
&amp;Gamma; &amp;Delta; &amp;Theta; &amp;Lambda; &amp;Xi; &amp;Pi;
 +
&amp;Sigma; &amp;Phi; &amp;Psi; &amp;Omega;
 +
</nowiki></pre></td>
 +
</tr>
 +
<tr valign="top">
 +
<td>
 +
'''Math characters:''' <br/>
 +
&int; &sum; &prod; &radic; &minus; &plusmn; &infin;<br/>
 +
&asymp; &prop; &equiv; &ne; &le; &ge;<br/>
 +
&times; &middot; &divide; &part; &prime; &Prime;<br/>
 +
&nabla; &permil; &deg; &there4; &alefsym; &oslash;<br/>
 +
&isin; &notin; &cap; &cup; &sub; &sup; &sube; &supe;<br/>
 +
&not; &and; &or; &exist; &forall; &rArr; &hArr;<br/>
 +
&rarr; &harr; &uarr;<br/>
 +
</td>
 +
<td valign="middle"><pre><nowiki>
 +
&amp;int; &amp;sum; &amp;prod; &amp;radic; &amp;minus; &amp;plusmn; &amp;infin;
 +
&amp;asymp; &amp;prop; &amp;equiv; &amp;ne; &amp;le; &amp;ge;
 +
&amp;times; &amp;middot; &amp;divide; &amp;part; &amp;prime; &amp;Prime;
 +
&amp;nabla; &amp;permil; &amp;deg; &amp;there4; &amp;alefsym; &amp;oslash;
 +
&amp;isin; &amp;notin; &amp;cap; &amp;cup; &amp;sub; &amp;sup; &amp;sube; &amp;supe;
 +
&amp;not; &amp;and; &amp;or; &amp;exist; &amp;forall; &amp;rArr; &amp;hArr;
 +
&amp;rarr; &amp;harr; &amp;uarr;
 +
</nowiki></pre></td>
 +
</tr>
 +
<tr valign="top"><td><i>x</i><sup>2</sup>&nbsp;&nbsp;&nbsp;&ge;&nbsp;&nbsp;&nbsp;0 true.
 +
*To space things out, use non-breaking spaces - <tt>&amp;nbsp;</tt>.
 +
*<tt>&amp;nbsp;</tt> also prevents line breaks in the middle of text, this is useful in formulas.
 +
</td>
 +
<td><pre><nowiki>
 +
<i>x</i><sup>2</sup>&amp;nbsp;&amp;nbsp;&amp;ge;&amp;nbsp;&amp;nbsp;0 true.
 +
</nowiki></pre></td>
 +
</tr>
 +
</table>
 +
 
 +
 
 +
 
 +
= Useful Firefox extensions =
 +
 
 +
* [http://wikipedia.mozdev.org/ Wikipedia Firefox Extension] that adds a tag-helper toolbar.  It's very cool, and seems to work ok with Firefox 1.0.3.
 +
* [http://en.wikipedia.org/wiki/Wikipedia:Text_editor_support External text editor support for Firefox and Mediawiki.]
 +
 
 +
= Other references =
 +
 
 +
== Devmo-specific ==
 +
* [[Help:Custom CSS Classes|Custom CSS classes]] defined for all Devmo pages.
 +
* [[Help:Custom Templates|Notable Mediawiki templates]] created for use on Devmo, with explanations.
 +
* [[MDC:Policies and guidelines|Devmo policies and guidelines]]:
 +
** If you're not sure how to name your page, see [[MDC:Page Naming Guide|Page naming guide]].
 +
** [[MDC:Disambiguation]]
 +
 
 +
== External ==
 +
 
 +
* [http://en.wikipedia.org/wiki/Wikipedia:How_to_edit_a_page Wikipedia: How to edit a page]
 +
* [http://en.wikipedia.org/wiki/Wikipedia:Manual_of_Style Wikipedia: Manual of Style]
 +
* [http://meta.wikimedia.org/wiki/Help:Contents MediaWiki Handbook]

Revision as of 11:56, 15 September 2006

Basics

Sections, Paragraphs, Newlines

Result Markup
Sections


Section


Sub-section


Sub-sub-section

Sub-sub-sub-section

If your document needs more than four section levels, it is recommended that you break it up into smaller pages and link those together.

= Section =

== Sub-section ==

=== Sub-sub-section ===

==== Sub-sub-sub=section ====
Paragraphs and Newlines

A single carriage-return between lines does nothing.

Leaving a blank line

indicates a new paragraph.

You can
use "br" tags
to force
a newline.

A single carriage-return between
lines does nothing.

Leaving a blank line

indicates a new paragraph.

You can<br />
use "br" tags<br />
to force<br />
a newline.

Text Formatting

Result Markup
Text Formatting

italic or emphasis

''italic'' or ''emphasis''

bold or strong

'''bold''' or '''strong'''

bold italic or very strong

'''''bold italic''''' or '''''very strong'''''

Here is some in-line code as an example.

Here is some <code>in-line code</code> as an example.
This is how
    to do code
    blocks.
<pre>
This is how
    to do code
    blocks.
</pre>

Blockquotes - this is a blockquote.

<blockquote>
Blockquotes - this is a blockquote.
</blockquote>

Small text.

<small>Small text.</small>

Big text.

<big>Big text.</big>

Strikeout.

<strike>Strikeout.</strike>

Underlined.

<u>Underlined.</u>

SuperScript.

<sup>Super</sup>Script.

SubScript.

<sub>Sub</sub>Script.

Lists

Result Markup
Bulleted Lists
  • Manuals
    • Reference
    • Guide
  • Articles
    • Tutorials
      • JavaScript
      • HTML
      • CSS
    • Tips & Tricks
  • FAQs

List bullets, indenting, and so forth can be changed via CSS.

* Manuals
** Reference
** Guide
* Articles
** Tutorials
*** JavaScript
*** HTML
*** CSS
** Tips & Tricks
* FAQs
Numbered Lists
  1. Manuals
    1. Reference
    2. Guide
  2. Articles
    1. Tutorials
      1. JavaScript
      2. HTML
      3. CSS
    2. Tips & Tricks
  3. FAQs

List numbers and styling can be changed via CSS.

# Manuals
## Reference
## Guide
# Articles
## Tutorials
### JavaScript
### HTML
### CSS
## Tips & Tricks
# FAQs

Links

Result Markup
Internal Links

Simple internal link to another page...

April 1st is April Fool's Day.

April 1st is [[April Fool's Day]].

Internal link where the target page title is different than the link text...

April 1st happens to be Dria's birthday.

[[April Fool's Day|April 1st]] happens to be Dria's birthday.

Internal link to a specific section of another page...

Some April Fool Birthdays.

[[April Fool's Day#Birthdays|Some April Fool Birthdays]].

Endings are blended into the link...

In April, the crocuses begin to bloom.

In April, the [[crocus]]es begin to bloom.

Adding a signature that links to your User page...

Dria

or

Dria 13:39, 15 Mar 2005 (EST)

~~~

or

~~~~
External Links

Straight URL linking...

http://www.mozilla.org

http://www.mozilla.org

External Link with different link text...

Mozilla Project

[http://www.mozilla.org Mozilla Project]

Link to bug in Mozilla's Bugzilla...

Template:Bug

{{bug|322603}}
Interwiki Links

TBD

TBD

Comments

</tr>

Result Markup

The comment here is not shown in the result. It is exactly the same as an HTML comment.

Use comments to leave notes and instructions for other writers, editors, and reviewers.

The comment here is not shown
in the result.  It is exactly the
same as an HTML comment.

Use comments to leave notes and
instructions for other writers,
editors, and reviewers.

<!--- Here's the comment. --->

Advanced markup

Tables

Result Markup
Table Markup

You can use regular HTML table markup to do wiki tables, or you can use the wiki markup. The wiki table markup uses fewer characters, but that's about the only real advantage. Use what you're most comfortable with.

heading 1 heading 2
cell 1 cell 2
<table class="standard-table">
  <tr>
    <th>heading 1</th>
    <th>heading 2</th>
  </tr>
  <tr>
    <td>cell 1</td>
    <td>cell 2</td>
  </tr>
</table>
heading 1 heading 2
cell 1 cell 2
{| class="standard-table"
|-
|class="header"|heading 1
|class="header"|heading 2
|-
|-
|cell 1
|cell 2
|-
|}

Images

Result Markup
Images

Inline image...

File:Firefox-logo.png

[[Image:Firefox-logo.png]]

Inline image with alt text...

Firefox - Take back the web.

[[Image:Firefox-logo.png|Firefox - Take back the web.]]

Thumbnail image with alt text...

File:Flower.jpg
Flower macro shot.
[[Image:Flower.jpg|thumb|Flower macro shot.]]

Link to a picture...

Flower macro shot.

[[media:Flower.jpg|Flower macro shot.]]

Categories

Every page in the wiki should be included in at least one MediaWiki Category. To add a category to a page, use the following syntax:

These category links should be put at the bottom of the page after the content. Add as many Category links as appropriate. For example, a tutorial about how to use Venkman could be in the "Venkman", "Tools", and "Tutorials" categories.

All categories, in turn, should be put in Category:All Categories.

Reference to versions in other languages

It is always nice when there are references to the page's versions written in other languages. For example, to insert in this page a reference to this page's version in portuguese, you simply need to add the following syntax at the end of this page:

[[pt:Referência de Marcação Wiki]]

In other words, you simply need to add the internal link to the desired site with the prefix which refers to the page's language.

The reference to other language's pages also works with category pages.

Force Ignore of Wiki Markup

If you need a particular piece of wiki markup ignored by the parser, simply enclose it in "nowiki" tags, like so:

<nowiki>'''this wiki markup will not be interpreted'''</nowiki>

'''this wiki markup will not be interpreted'''

HTML in Wikitext

The following tags are currently allowed in wiki markup:

Special Characters

Result Markup

Umlauts and accents:

è é ê ë ì í

À Á Â Ã Ä Å
Æ Ç È É Ê Ë
Ì Í Î Ï Ñ Ò
Ó Ô Õ Ö Ø Ù
Ú Û Ü ß à á
â ã ä å æ ç
è é ê ë ì í
î ï ñ ò ó ô
œ õ ö ø ù ú
û ü ÿ


è é ê ë ì í

&Agrave; &Aacute; &Acirc; &Atilde; &Auml; &Aring;
&AElig; &Ccedil; &Egrave; &Eacute; &Ecirc; &Euml;
&Igrave; &Iacute; &Icirc; &Iuml; &Ntilde; &Ograve;
&Oacute; &Ocirc; &Otilde; &Ouml; &Oslash; &Ugrave;
&Uacute; &Ucirc; &Uuml; &szlig; &agrave; &aacute;
&acirc; &atilde; &auml; &aring; &aelig; &ccedil;
&egrave; &eacute; &ecirc; &euml; &igrave; &iacute;
&icirc; &iuml; &ntilde; &ograve; &oacute; &ocirc;
&oelig; &otilde; &ouml; &oslash; &ugrave; &uacute;
&ucirc; &uuml; &yuml;

Punctuation:
¿ ¡ « » § ¶
† ‡ • - – —

&iquest; &iexcl; &laquo; &raquo; &sect; &para;
&dagger; &Dagger; &bull; - &ndash; &mdash;

Commercial symbols:
™ © ® ¢ € ¥

£ ¤
&trade; &copy; &reg; &cent; &euro; &yen;
&pound; &curren;
Greek characters:

α β γ δ ε ζ
η θ ι κ λ μ ν
ξ ο π ρ σ ς
τ υ φ χ ψ ω
Γ Δ Θ Λ Ξ Π
Σ Φ Ψ Ω

&alpha; &beta; &gamma; &delta; &epsilon; &zeta;
&eta; &theta; &iota; &kappa; &lambda; &mu; &nu;
&xi; &omicron; &pi; &rho;  &sigma; &sigmaf;
&tau; &upsilon; &phi; &chi; &psi; &omega;
&Gamma; &Delta; &Theta; &Lambda; &Xi; &Pi;
&Sigma; &Phi; &Psi; &Omega;

Math characters:
∫ ∑ ∏ √ − ± ∞
≈ ∝ ≡ ≠ ≤ ≥
× · ÷ ∂ ′ ″
∇ ‰ ° ∴ ℵ ø
∈ ∉ ∩ ∪ ⊂ ⊃ ⊆ ⊇
¬ ∧ ∨ ∃ ∀ ⇒ ⇔
→ ↔ ↑

&int; &sum; &prod; &radic; &minus; &plusmn; &infin;
&asymp; &prop; &equiv; &ne; &le; &ge; 
&times; &middot; &divide; &part; &prime; &Prime;
&nabla; &permil; &deg; &there4; &alefsym; &oslash;
&isin; &notin; &cap; &cup; &sub; &sup; &sube; &supe;
&not; &and; &or; &exist; &forall; &rArr; &hArr;
&rarr; &harr; &uarr;
x2   ≥   0 true.
  • To space things out, use non-breaking spaces - &nbsp;.
  • &nbsp; also prevents line breaks in the middle of text, this is useful in formulas.
<i>x</i><sup>2</sup>&nbsp;&nbsp;&ge;&nbsp;&nbsp;0 true.


Useful Firefox extensions

Other references

Devmo-specific

External