Difference between revisions of "Help:Wikitext markup"

From AVENwiki
Jump to: navigation, search
(Internal links: avenization)
 
(16 intermediate revisions by 4 users not shown)
Line 1: Line 1:
== [[w:wikitext|Wikitext]] markup — making your page look the way you want==
+
:<small>< back to [[Help:Contents]]</small>
See also [[Help:Editing]].
+
 
 +
== [http://en.wikipedia.org/wiki/Wikipedia:Wikitext Wikitext] markup &mdash; making your page look the way you want==
 
<!-- This is the part everybody wants, therefore some argue that it should be transcluded and not just linked.-->
 
<!-- This is the part everybody wants, therefore some argue that it should be transcluded and not just linked.-->
*If you want to try out things without danger of doing any harm, you can do so in the [[{{ns:4}}:Sandbox]].
+
*If you want to try out things without danger of doing any harm, you can do so in the [[AVENwiki:Sandbox|sandbox]].
*More information on [[Help:Html in wikitext|HTML tags in wikitext]]
 
  
 
=== Organizing your writing &mdash; sections, paragraphs, lists and lines ===
 
=== Organizing your writing &mdash; sections, paragraphs, lists and lines ===
Line 41: Line 41:
 
*Don't skip levels (for example, second-level followed by fourth-level).
 
*Don't skip levels (for example, second-level followed by fourth-level).
 
*A [[#Table of contents|table of contents]] will automatically be added to an article that has four or more sections.  
 
*A [[#Table of contents|table of contents]] will automatically be added to an article that has four or more sections.  
*If appropriate, place subsections in an appropriate order. If listing countries, for example, place them in alphabetical order rather than, say, relative to population of [[w:OECD|OECD]] countries, or some random order.
+
*If appropriate, place subsections in an appropriate order. If listing countries, for example, place them in alphabetical order rather than, say, relative to population of [http://en.wikipedia.org/wiki/OECD OECD] countries, or some random order.
 
*If you want to keep headings out of the TOC you have to use HTML heading tags and close them without using a slash e.g. <nowiki><h4>heading too low level to be in the toc of large page<h4></nowiki>.
 
*If you want to keep headings out of the TOC you have to use HTML heading tags and close them without using a slash e.g. <nowiki><h4>heading too low level to be in the toc of large page<h4></nowiki>.
 
|<pre><nowiki>
 
|<pre><nowiki>
Line 54: Line 54:
 
|-
 
|-
 
|
 
|
;[[w:newline|Newline]]:
+
;[http://en.wikipedia.org/wiki/Wikipedia:NEWLINE Newline]:
  
 
A single
 
A single
Line 72: Line 72:
  
 
You can make the wikitext more readable by putting in newlines.
 
You can make the wikitext more readable by putting in newlines.
You might find this causes future problems &mdash; see [[w:Wikipedia:Don't use line breaks]] for details.
+
You might find this causes future problems &mdash; see [http://en.wikipedia.org/wiki/Wikipedia:Don%27t_use_line_breaks Don't use line breaks] for details.
  
* When used in a list, a newline ''does'' affect the layout (See [[Help:List]]).
+
* When used in a list, a newline ''does'' affect the layout (See [http://en.wikipedia.org/wiki/Help:List Help:List]).
 
|<pre><nowiki>
 
|<pre><nowiki>
  
Line 91: Line 91:
  
 
* Please use this sparingly.
 
* Please use this sparingly.
* Close markup between lines; do not start a [[Help:Link|link]] or ''italics'' or '''bold''' on one line and close it on the next.
+
* Close markup between lines; do not start a [http://en.wikipedia.org/wiki/Help:Link link] or ''italics'' or '''bold''' on one line and close it on the next.
 
|<pre><nowiki>You can break lines<br>
 
|<pre><nowiki>You can break lines<br>
 
without starting a new paragraph.</nowiki></pre>
 
without starting a new paragraph.</nowiki></pre>
Line 160: Line 160:
 
:A colon at the start of a line indents a paragraph.
 
:A colon at the start of a line indents a paragraph.
 
A manual newline starts a new paragraph.
 
A manual newline starts a new paragraph.
* This is often used for discussion on [[Help:Talk page|Talk page]]s.
+
* This is often used for discussion on [http://en.wikipedia.org/wiki/Help:Talk_page Talk pages].
 
In the case of a semicolon and some text in front of the colon, the first colon starts a new line (indented as before) even though it is in the wikitext not at the start of the line, see definition list.
 
In the case of a semicolon and some text in front of the colon, the first colon starts a new line (indented as before) even though it is in the wikitext not at the start of the line, see definition list.
 
|<pre><nowiki>: A colon indents a line or paragraph.
 
|<pre><nowiki>: A colon indents a line or paragraph.
Line 185: Line 185:
 
|<pre><nowiki><center>Centered text.</center></nowiki></pre>
 
|<pre><nowiki><center>Centered text.</center></nowiki></pre>
 
|-
 
|-
|A [[w:horizontal dividing line|horizontal dividing line]]:  
+
|A horizontal dividing line:  
 
this is above it...
 
this is above it...
 
----
 
----
Line 199: Line 199:
  
 
=== Links, URLs ===
 
=== Links, URLs ===
More information at [[Help:Link]]
+
More information at [http://en.wikipedia.org/wiki/Help:Link Help:Link]
 
==== Internal links ====
 
==== Internal links ====
 
General notes:
 
General notes:
Line 227: Line 227:
 
|
 
|
 
;Section of page
 
;Section of page
*[[Meetup List#United States]]  
+
*[[Attraction#Sexual Attraction]]
*[[Meetup List#Australia]]
+
*[[Attraction#Romantic Attraction]]
 
If the section doesn't exist, the link goes to the top of the page.
 
If the section doesn't exist, the link goes to the top of the page.
 
If there are multiple sections by the same name, link to specific ones by adding how many times that header has already appeared (e.g. if there are 3 sections entitled "Example header," and you wish to link to the third one, then use <nowiki>[[#Example section 3]]</nowiki>.  
 
If there are multiple sections by the same name, link to specific ones by adding how many times that header has already appeared (e.g. if there are 3 sections entitled "Example header," and you wish to link to the third one, then use <nowiki>[[#Example section 3]]</nowiki>.  
 
|
 
|
 
<pre><nowiki>
 
<pre><nowiki>
*[[Meetup List#United States]]
+
*[[Attraction#Sexual Attraction]]
*[[Meetup List#Australia]]
+
*[[Attraction#Romantic Attraction]]
 
</nowiki></pre>
 
</nowiki></pre>
 
|-
 
|-
 
|
 
|
;[[Help:Piped link|Piped link]]
+
;[http://en.wikipedia.org/wiki/Help:Piped_link Piped link]
 
Use a pipe "'''|'''" to create a '''link label''':  
 
Use a pipe "'''|'''" to create a '''link label''':  
*[[Help:Link|About Links]]
+
*[[Dive_in|Main Contents]]
 
|<pre><nowiki>
 
|<pre><nowiki>
*[[Help:Link|About Links]]
+
*[[Dive_in|Main Contents]]
 
</nowiki></pre>
 
</nowiki></pre>
 
|-
 
|-
 
|'''"blank" pipes''' hide:
 
|'''"blank" pipes''' hide:
*Parentheses: [[kingdom (biology)|kingdom]].
+
*Parentheses: [[Asexuality (forum section)|Asexuality]].
*Colon: [[m:Requests for adminship|Requests for adminship]].
+
*Colon: [[User:Wikimaster|Wikimaster]].
 
After you save, the server automatically fills in the link label.
 
After you save, the server automatically fills in the link label.
|<pre><nowiki>*Parentheses: [[kingdom (biology)|]].  
+
|<pre><nowiki>*Parentheses: [[Asexuality (forum section)|]].  
*Colon: [[m:Requests for adminship|]].</nowiki></pre>
+
*Colon: [[User:Wikimaster|]].</nowiki></pre>
 
|-
 
|-
 
|
 
|
Line 267: Line 267:
 
;Link to yourself
 
;Link to yourself
 
Please "sign" comments on talk pages:
 
Please "sign" comments on talk pages:
: Your user name: [[User:Karl Wick|Karl Wick]]
+
: Your user name: [[User:Wikimaster|Wikimaster]]
: Your user name plus timestamp: [[User:Karl Wick|Karl Wick]] 08:10 Oct 5, 2002 (UTC)
+
: Your user name plus timestamp: [[User:Wikimaster|Wikimaster]] 20:05, 22 December 2008 (EST) (UTC)
: Five tildes give a timestamp: 17:55, 12 April 2006 (UTC)
+
: Five tildes give a timestamp: 20:05, 22 December 2008 (EST)
 
The server will fill in the link after you save.
 
The server will fill in the link after you save.
 
|<pre><nowiki>Please "sign" comments on talk pages:
 
|<pre><nowiki>Please "sign" comments on talk pages:
Line 278: Line 278:
 
|-
 
|-
 
|
 
|
;[[Help:Redirect|Redirect]]s
+
;[http://en.wikipedia.org/wiki/Help:Redirect Redirects]
 
one article title to another with this special link.
 
one article title to another with this special link.
|<pre><nowiki>#REDIRECT [[United States]]</nowiki></pre>
+
|<pre><nowiki>#REDIRECT [[Asexuality]]</nowiki></pre>
 
|-
 
|-
 
|
 
|
<!--hiding these for now since I don't think they apply
+
<!--hiding these until we enable the features
 
;"Magic" links
 
;"Magic" links
 
* [[w:ISBN|ISBN]] links to books: ISBN 0123456789X (See [[Help:ISBN links]]
 
* [[w:ISBN|ISBN]] links to books: ISBN 0123456789X (See [[Help:ISBN links]]
Line 291: Line 291:
 
RFC 123</nowiki></pre>
 
RFC 123</nowiki></pre>
 
|-
 
|-
|
+
|-->
 
;Media links
 
;Media links
 
To include links to non-image uploads such as sounds, use a "media" link.
 
To include links to non-image uploads such as sounds, use a "media" link.
Line 301: Line 301:
 
;Category listing links (these appear at page bottom and list the page in the Category)
 
;Category listing links (these appear at page bottom and list the page in the Category)
 
To list a page in a Category and have a link to the Category at page bottom.<br />
 
To list a page in a Category and have a link to the Category at page bottom.<br />
[[Category:English documentation]]
+
[[Category:AVENwiki basic information]]
|<pre><nowiki>[[Category:English documentation]]
+
|<pre><nowiki>[[Category:AVENwiki basic information]]
 
</nowiki></pre>
 
</nowiki></pre>
 
|-
 
|-
Line 308: Line 308:
 
;Category non-listing links (these appear inline ''without'' listing the page in the Category)
 
;Category non-listing links (these appear inline ''without'' listing the page in the Category)
 
To link to a Category without causing the page to be listed in the category, '''add a colon'''<br />
 
To link to a Category without causing the page to be listed in the category, '''add a colon'''<br />
[[:Category:English documentation]]
+
[[:Category:AVENwiki basic information]]
|<pre><nowiki>[[:Category:English documentation]]
+
|<pre><nowiki>[[:Category:AVENwiki basic information]]
</nowiki></pre>
 
|-
 
| -->
 
;Dates:
 
Use links for dates, so everyone can set their own display order. Use [[Special:Preferences]] to change your own date display setting.<br />
 
[[July 20]] [[1969]]
 
[[20 July]] [[1969]]
 
and [[1969]]-[[07-20]]
 
|<pre><nowiki>
 
[[July 20]] [[1969]]
 
[[20 July]] [[1969]]
 
and [[1969]]-[[07-20]]
 
 
</nowiki></pre>
 
</nowiki></pre>
 
|-
 
|-
 
|
 
|
 
;Special pages
 
;Special pages
"What links here" etc. can be linked as:<br />
+
"What links here" etc. can be linked as:<br>
[[Special:Whatlinkshere/Help:Editing]]
+
[[Special:Whatlinkshere/Help:Wikitext markup]]
 
|<pre><nowiki>
 
|<pre><nowiki>
[[Special:Whatlinkshere/Help:Editing]]
+
[[Special:Whatlinkshere/Help:Wikitext markup]]
 
</nowiki></pre>
 
</nowiki></pre>
 
|}
 
|}
Line 335: Line 323:
 
====External links====
 
====External links====
 
{| border="1" cellpadding="2" cellspacing="0"
 
{| border="1" cellpadding="2" cellspacing="0"
 +
|-
 +
!What it looks like
 +
!What you type
 
|-
 
|-
 
|[http://www.asexuality.org AVEN], [http://www.asexuality.org]
 
|[http://www.asexuality.org AVEN], [http://www.asexuality.org]
Line 459: Line 450:
 
</table>
 
</table>
  
===Disabling wikitext interpretation and/or reformatting===
+
===Just show what I typed===
&lt;nowiki&gt; and &lt;pre&gt; tags can tell the server and the browser to display things as you typed them.
 
<table border="1" cellpadding="2" cellspacing="0">
 
<tr>
 
<th>What it looks like</th>
 
<th>What you type</th>
 
</tr>
 
<tr align="top">
 
<td>
 
  
'''regular'''
+
A few different kinds of formatting will tell the wiki to display things as you typed them.
  
* interpret special characters
+
{| border="1" cellpadding="2" cellspacing="0"
* interpret special wiki markup
+
|-
* reformat text (remove single newlines and multiple spaces, perform automatic wrapping)
+
!What it looks like
* a double newline gives a new paragraph
+
!What you type
 
+
|-
arrow      &rarr;
+
|
 
+
<nowiki>
''italics''
+
The nowiki tag ignores wiki ''markup''.
[[link]]
+
It reformats text by removing
</td>
+
newlines    and multiple spaces.
<td valign="bottom">
+
It still interprets special
<pre><nowiki>arrow      &amp;rarr;
+
characters: &amp;rarr;
 
+
</nowiki>
''italics''
+
|<pre>
[[link]]</nowiki></pre>
+
&lt;nowiki&gt;
</td>
+
The nowiki tag ignores wiki ''markup''.
</tr>
+
It reformats text by removing
<tr>
+
newlines    and multiple spaces.
<td valign="bottom">
+
It still interprets special
'''&lt;nowiki>'''
+
characters: &amp;rarr;
* interpret special characters
+
&lt;/nowiki&gt;
* don't interpret special wiki markup
+
</pre>
* reformat text
+
|-
* ignore even a double newline (no new paragraph); hence has to be applied separately for each paragraph
+
|
''can be applied in-line:'' <nowiki>
+
<pre>
arrow      &rarr;
+
The pre tag ignores [[Wiki]] ''markup''.
 
+
It also doesn't    reformat text.
''italics''
+
It still interprets special characters: &amp;rarr;
[[link]]
+
</pre>
</nowiki> ''[[normal]] again''
+
|
</td>
+
<pre>
<td valign="bottom">
+
&lt;pre&gt;
<pre><nowiki>
+
The pre tag ignores [[Wiki]] ''markup''.
''can be applied in-line:'' <nowiki>
+
It also doesn't     reformat text.
arrow      &amp;rarr;
+
It still interprets special characters: &amp;rarr;
 
+
&lt;/pre&gt;
''italics''
 
[[link]]
 
</nowiki></nowiki>''[[normal]] again''</pre>
 
 
 
</td>
 
</tr>
 
 
 
<tr>
 
<td>
 
'''&lt;pre>'''  
 
* interpret special characters
 
* don't interpret special wiki markup
 
* don't reformat text (no wrapping)
 
* allows CSS for HTML element pre; the default skin gives a box
 
* uses a fixed-width font, as specified in the browser settings
 
 
 
<pre>arrow      &rarr;
 
 
 
''italics''
 
[[link]]
 
 
</pre>
 
</pre>
</td>
+
|-
<td valign="bottom">
+
|
<pre><nowiki><pre>arrow      &amp;rarr;
+
Leading spaces are another way to preserve formatting.
 
 
''italics''
 
[[link]]</pre></nowiki></pre>
 
</td>
 
</tr>
 
  
<tr>
+
Putting a space at the beginning of each
<td>
+
line stops the text  from being reformatted.
'''leading space'''
+
It still interprets wiki ''markup'' and
* interpret special characters
+
special characters: &rarr;
* interpret special wiki markup
+
|<pre>
* don't reformat text (no wrapping)
+
Leading spaces are another way to preserve formatting.
* produces HTML element pre, therefore the font and CSS are the same as when using pre; the default skin gives a box
 
  
  arrow      &rarr;
+
  Putting a space at the beginning of each
   
+
  line stops the text  from being reformatted.
  ''italics''
+
  It still interprets wiki ''markup'' and
  [[link]]
+
  special characters: &rarr
 
</pre>
 
</pre>
 +
|-
 +
|
  
IF a line of plain text starts with a space
+
Invisible comments to editors <nowiki>(<!-- -->)</nowiki>
  it will be formatted exactly
+
only appear while editing the page.
    as typed
+
So nothing shows up between '''here''' <!-- comment here -->'''and here'''
  in a  font
 
  in a grey dotted-outline box
 
  lines won't wrap
 
ENDIF
 
this is useful for:
 
  * pasting preformatted text;
 
  * algorithm descriptions;
 
  * program source code
 
  * ASCII art;
 
  * chemical structures;
 
  
WARNING If you make it wide,
+
Public comments should go on the ''talk page''.
you force the whole page to be wide and
+
|<pre>
hence less readable. Never start ordinary lines with spaces.<br>
 
<center>(see also below)</center><td>
 
<pre> <nowiki>arrow      &amp;rarr;
 
  
''italics''
+
Invisible comments to editors (<!-- -->)
[[link]]</nowiki></pre>
+
only appear while editing the page.
 +
So nothing shows up between '''here''' <!-- comment here -->'''and here'''
  
<pre><nowiki> IF a line of plain text starts with a space
+
Public comments should go on the ''talk page''.
  it will be formatted exactly
+
</pre>
    as typed
+
|}
  in a fixed-width font
 
  in a grey dotted-outline box
 
  lines won't wrap
 
ENDIF
 
this is useful for:
 
  * pasting preformatted text
 
  * algorithm descriptions
 
  * program source code
 
  * ASCII art
 
  * chemical structures
 
  * poetry
 
</nowiki></pre>
 
</td>
 
</tr>
 
  
 +
===Special characters===
  
<tr>
 
<td>
 
'''typewriter font'''
 
 
(does not work beyond the end of a paragraph):
 
 
<tt>arrow      &rarr;</tt>
 
 
<tt>''italics''</tt>
 
<tt>[[link]]
 
 
New paragraph.</tt>
 
 
</td>
 
<td valign="bottom">
 
<pre><nowiki><tt>arrow      &amp;rarr;</tt>
 
 
<tt>''italics''</tt>
 
<tt>[[link]]</nowiki>
 
 
New paragraph.</tt></pre>
 
</td>
 
</tr>
 
  
 +
<table border="1" cellpadding="2" cellspacing="0">
 
<tr>
 
<tr>
<td>
+
<th>What it looks like</th>
;Show special character codes:
+
<th>What you type</th>
 
 
&amp;rarr;
 
</td>
 
<td valign="bottom">
 
<pre>&amp;amp;rarr;</pre>
 
</td>
 
</tr>
 
 
 
<tr>
 
<td>
 
;Comments
 
The text between '''here'''
 
<!-- comment here -->
 
'''and here''' won't be displayed
 
</td>
 
<td>
 
<pre><nowiki>The text between '''here'''
 
<!-- comment here -->
 
'''and here''' won't be displayed</nowiki></pre>
 
</td>
 
 
</tr>
 
</tr>
</table>
 
 
===Special characters===
 
<table border="1" cellpadding="2" cellspacing="0">
 
 
<tr valign="top">
 
<tr valign="top">
 
<td>
 
<td>
'''Umlauts and accents:''' (See [[Help:Special characters]])<br/>
+
'''Umlauts and accents:''' (See [http://en.wikipedia.org/wiki/Help:Special characters Help:Special characters])<br/>
 
À Á Â Ã Ä Å
 
À Á Â Ã Ä Å
 
Æ Ç È É Ê Ë
 
Æ Ç È É Ê Ë
Line 813: Line 701:
 
<tr valign="bottom">
 
<tr valign="bottom">
 
<td>
 
<td>
;transclusion
+
;Transclusion
 
:Including the contents of another page into the current page.  
 
:Including the contents of another page into the current page.  
 
<div style="border: 1pt dashed blue; background : grey; padding: 1em 1em;">
 
<div style="border: 1pt dashed blue; background : grey; padding: 1em 1em;">
Line 823: Line 711:
 
<tr valign="bottom">
 
<tr valign="bottom">
 
<td>
 
<td>
;[[Help:Template|template]]
+
;[http://en.wikipedia.org/wiki/Help:Template Template]
 
A special kind of page designed for transclusion.   
 
A special kind of page designed for transclusion.   
These pages are found in the '''Template:''' [[help:namespace|namespace]]
+
These pages are found in the '''Template:''' [http://www.asexuality.org/wiki/index.php?title=Special%3AAllpages&from=&namespace=10 namespace]
Templates can even take parameters.
+
Templates can even take parameters, by using <pre><nowiki>{{templatename|value}}</nowiki></pre>
 
When you edit a page, all the templates used on the page are listed below the edit box.
 
When you edit a page, all the templates used on the page are listed below the edit box.
 
<div style="border: 1pt dashed blue; background : grey; padding: 1em 1em;">
 
<div style="border: 1pt dashed blue; background : grey; padding: 1em 1em;">
{{H:title|hovertext|This is underlined}}</div></td>
+
{{JFF}}</div></td>
 
<td>
 
<td>
<pre><nowiki>{{H:title|hovertext|This is underlined}}</nowiki></pre></td></tr>
+
<pre><nowiki>{{JFF}}</nowiki></pre></td></tr>
 
</table>
 
</table>
 
{{h:f|enname=Advanced editing}}
 

Latest revision as of 14:26, 10 October 2013

< back to Help:Contents

Wikitext markup — making your page look the way you want

  • If you want to try out things without danger of doing any harm, you can do so in the sandbox.

Organizing your writing — sections, paragraphs, lists and lines

What it looks like What you type
Sections and subsections

Start sections with header lines

Note: Single equal signs give the highest level heading, like the page title; usually projects have the convention not to use them.


New section

Subsection

Sub-subsection

  • Start with a second-level heading (==); don't use first-level headings (=).
  • Don't skip levels (for example, second-level followed by fourth-level).
  • A table of contents will automatically be added to an article that has four or more sections.
  • If appropriate, place subsections in an appropriate order. If listing countries, for example, place them in alphabetical order rather than, say, relative to population of OECD countries, or some random order.
  • If you want to keep headings out of the TOC you have to use HTML heading tags and close them without using a slash e.g. <h4>heading too low level to be in the toc of large page<h4>.

== New section ==

=== Subsection ===

==== Sub-subsection ====
Newline

A single newline has no effect on the layout.

But an empty line starts a new paragraph, or ends a list or indented part. (<p> disables this paragraphing until </p> or the end of the section)

(In Cologne Blue two newlines and a div tag give just one newline; in the order newline, div tag, newline, the result is two newlines.)

A semicolon at the start of a line is not rendered, but has the effect of rendering the newline. A colon in such a line is not rendered, but has the effect of starting a new, indented line, see definition list.

You can make the wikitext more readable by putting in newlines. You might find this causes future problems — see Don't use line breaks for details.

  • When used in a list, a newline does affect the layout (See Help:List).

A single
newline
has no
effect on the
layout.

But an empty line
starts a new paragraph.
You can break lines
without starting a new paragraph.

(The HTML tag <br> is sufficient. The system produces the XHTML code <br />.)

  • Please use this sparingly.
  • Close markup between lines; do not start a link or italics or bold on one line and close it on the next.
You can break lines<br>
without starting a new paragraph.
  • Unordered Lists are easy to do:
    • start every line with a star
      • more stars means deeper levels
  • A newline
  • in a list

marks the end of the list.

  • Of course
  • you can
  • start again.
* Unordered Lists are easy to do:
** start every line with a star
*** more stars means deeper levels
*A newline
*in a list  
marks the end of the list.
*Of course
*you can
*start again.

  1. Numbered lists are also good
    1. very organized
    2. easy to follow
  2. A newline
  3. in a list

marks the end of the list.

  1. New numbering starts
  2. with 1.
# Numbered lists are also good
## very organized
## easy to follow
#A newline
#in a list  
marks the end of the list.
#New numbering starts
#with 1.
  • You can even do mixed lists
    1. and nest them
      • or break lines
        in lists
* You can even do mixed lists
*# and nest them
*#* or break lines<br>in lists
Definition list
word 
definition of the word
longer phrase
phrase defined
; word : definition of the word
; longer phrase 
: phrase defined
  • One item per line; a newline can appear before the colon, but using a space before the colon improves parsing.
indenting
A colon at the start of a line indents a paragraph.

A manual newline starts a new paragraph.

In the case of a semicolon and some text in front of the colon, the first colon starts a new line (indented as before) even though it is in the wikitext not at the start of the line, see definition list.

: A colon indents a line or paragraph.
A manual newline starts a new paragraph.

When there is a need for separating a block of text

the blockquote command will indent both margins when needed instead of the left margin only as the colon does.

This is useful for (as the name says) inserting blocks of quoted (and cited) text.

<blockquote>
The '''blockquote''' command will indent 
both margins when needed instead of the 
left margin only as the colon does.  
</blockquote>
Centered text.
  • Please note the US-English spelling of "center".
<center>Centered text.</center>
A horizontal dividing line:

this is above it...


...and this is below it.

If you don't use a section header, you don't get a TOC entry.

A horizontal dividing line: 
this is above it...
----
...and this is below it.

Links, URLs

More information at Help:Link

Internal links

General notes:

  • Enclose the target name in double square brackets — "[[" and "]]"
  • First letter of target name is automatically capitalized
  • Spaces are represented as underscores (but don't do underscores yourself)
  • Links to nonexistent pages are shown in red — Starting A New Page tells about creating the page.
  • When the mouse cursor "hovers" over the link, you see a "hover box" containing... hover over links below to see.
What it looks like What you type
Basic

Sue is reading the FAQ (or FAQs).

Sue is reading the 
[[FAQ]]
(or [[FAQ]]s).
Basic + Text formatting

You can also italicize/etc. links: e.g., AVEN.

 ''[[AVEN]]'' 
Section of page

If the section doesn't exist, the link goes to the top of the page. If there are multiple sections by the same name, link to specific ones by adding how many times that header has already appeared (e.g. if there are 3 sections entitled "Example header," and you wish to link to the third one, then use [[#Example section 3]].

*[[Attraction#Sexual Attraction]]
*[[Attraction#Romantic Attraction]]
Piped link

Use a pipe "|" to create a link label:

*[[Dive_in|Main Contents]]
"blank" pipes hide:

After you save, the server automatically fills in the link label.

*Parentheses: [[Asexuality (forum section)|]]. 
*Colon: [[User:Wikimaster|]].
Links to nonexistent pages

A red link (like this one) points to a page that doesn't exist yet.

guide and the naming conventions page for your project.
A red link ([[like this one]]) points to a page
that doesn't exist yet.
Link to yourself

Please "sign" comments on talk pages:

Your user name: Wikimaster
Your user name plus timestamp: Wikimaster 20:05, 22 December 2008 (EST) (UTC)
Five tildes give a timestamp: 20:05, 22 December 2008 (EST)

The server will fill in the link after you save.

Please "sign" comments on talk pages:
: Your user name: ~~~
: Your user name plus timestamp: ~~~~
: Five tildes give a timestamp: ~~~~~
Redirects

one article title to another with this special link.

#REDIRECT [[Asexuality]]
Media links

To include links to non-image uploads such as sounds, use a "media" link.
Sound

[[media:Sg_mrob.ogg|Sound]]
Category listing links (these appear at page bottom and list the page in the Category)

To list a page in a Category and have a link to the Category at page bottom.

[[Category:AVENwiki basic information]]
Category non-listing links (these appear inline without listing the page in the Category)

To link to a Category without causing the page to be listed in the category, add a colon
Category:AVENwiki basic information

[[:Category:AVENwiki basic information]]
Special pages

"What links here" etc. can be linked as:
Special:Whatlinkshere/Help:Wikitext markup

[[Special:Whatlinkshere/Help:Wikitext markup]]

External links

What it looks like What you type
AVEN, [1]
[http://www.asexuality.org AVEN],
[http://www.asexuality.org]
Email Example,

[2]

[mailto:email@example.com Email Example],
[mailto:email@example.com]
Or just give the URL: http://www.asexuality.org.
  • In the URL all symbols must be among: A-Z a-z 0-9 ._\/~%- &#?!=()@ \x80-\xFF. If a URL contains a different character it should be converted; for example, ^ has to be written %5e. A blank space can also be converted into an underscore.
Or just give the URL:
http://www.asexuality.org.

.

Text formatting — controlling how it looks

What it looks like What you type

Emphasize (italics), strongly (bold), very strongly (bold italics). (These are double and triple apostrophes, not double quotes.)

Note: this can also be applied to links (e.g., AVEN).

''Emphasize'', '''strongly''',
'''''very strongly'''''.

''[[AVEN]]''

You can also write italic and bold. This is useful in mathematical formulas where you need specific font styles rather than emphasis.

F = ma

(The difference between these two methods is not very important for graphical browsers, so most people ignore it). But it may make a big difference for the visually impaired ;-)

You can also write <i>italic</i> and <b>bold</b>.
This is useful in mathematical formulas where you 
need specific font styles rather than emphasis.
:<b>F</b> = <i>m</i><b>a</b>

You can also write in small caps.

You can also write 
<span style="font-variant:small-caps">
in small caps</span>.
A typewriter font, sometimes used for

technical terms and computer code.

A typewriter font, sometimes used for 
<tt>technical terms</tt> and <code>computer code</code>.
  • For semantic reasons, using <code> where applicable is preferable to using <tt>.
You can use small text for captions.
You can use <small>small text</small> 
for captions.
You can strike out deleted material

and underline new material.

You can also mark deleted material and inserted material using logical markup rather than visual markup.

  • When editing regular articles, just make your changes and do not mark them up in any special way.
  • When editing your own previous remarks in talk pages, it is sometimes appropriate to mark up deleted or inserted material.
You can <strike>strike out deleted material</strike>
and <u>underline new material</u>.

You can also mark <del>deleted material</del> and
<ins>inserted material</ins> using logical markup
rather than visual markup.
Subscript: x2

Superscript: x2 or x²

Most browsers have an easier time formatting lines with &sup2; than with <sup>2</sup>

ε0 = 8.85 × 10−12 C² / J m.

1 hectare = 1 E4 m²

Subscript: x<sub>2</sub>
Superscript: x<sup>2</sup> or x&sup2;
&epsilon;<sub>0</sub> =
8.85 &times; 10<sup>&minus;12</sup>
C&sup2; / J m.

1 hectare = 1 E4 m&sup2

Just show what I typed

A few different kinds of formatting will tell the wiki to display things as you typed them.

What it looks like What you type

The nowiki tag ignores wiki ''markup''. It reformats text by removing newlines and multiple spaces. It still interprets special characters: &rarr;

<nowiki>
The nowiki tag ignores wiki ''markup''.
It reformats text by removing
newlines    and multiple spaces.
It still interprets special
characters: &rarr;
</nowiki>
The pre tag ignores [[Wiki]] ''markup''.
It also doesn't     reformat text.
It still interprets special characters: &rarr;
<pre>
The pre tag ignores [[Wiki]] ''markup''.
It also doesn't     reformat text.
It still interprets special characters: &rarr;
</pre>

Leading spaces are another way to preserve formatting.

Putting a space at the beginning of each
line stops the text   from being reformatted.
It still interprets wiki markup and
special characters: →
Leading spaces are another way to preserve formatting.

 Putting a space at the beginning of each
 line stops the text   from being reformatted.
 It still interprets wiki ''markup'' and
 special characters: &rarr

Invisible comments to editors (<!-- -->) only appear while editing the page. So nothing shows up between here and here

Public comments should go on the talk page.


Invisible comments to editors (<!-- -->) 
only appear while editing the page.
So nothing shows up between '''here''' <!-- comment here -->'''and here'''

Public comments should go on the ''talk page''.

Special characters

What it looks like What you type

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

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


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

&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:
∫ ∑ ∏ √ − ± ∞ ≈ ∝ ≡ ≠ ≤ ≥ × · ÷ ∂ ′ ″ ∇ ‰ ° ∴ ø ∈ ∩ ∪ ⊂ ⊃ ⊆ ⊇ ¬ ∧ ∨ ∃ ∀ ⇒ ⇔ → ↔ ↑

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

Problem symbols:

ℵ ∉

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

&int; &sum; &prod; &radic; &minus; &plusmn; &infin;
&asymp; &prop; &equiv; &ne; &le; &ge; 
&times; &middot; &divide; &part; &prime; &Prime;
&nabla; &permil; &deg; &there4; &oslash;
&isin; &cap; &cup; &sub; &sup; &sube; &supe;
&not; &and; &or; &exist; &forall; &rArr; &hArr;
&rarr; &harr; &uarr;

Problem symbols:

ℵ ∉

&alefsym; &notin;

Including another page — transclusion and templates

Changing a transcluded file will change every file that transcludes it.

Transclusion
Including the contents of another page into the current page.
This transclusion demo is a little bit of text from the page Help:Transclusion Demo to be included into any file.
{{:Help:Transclusion Demo}}
Template

A special kind of page designed for transclusion. These pages are found in the Template: namespace

Templates can even take parameters, by using
{{templatename|value}}

When you edit a page, all the templates used on the page are listed below the edit box.

This article explains an inside joke used on the AVEN forums, especially the Just For Fun board.
It does not describe any actual facts, nor does it represent the beliefs of asexuals as a whole.
{{JFF}}