Help:Wikitext examples: Difference between revisions

Content deleted Content added
m Undid revision 256152500 by Zackmarvincoulange (talk)
Formatting: 44x whitespace, 3x heading-style, 2x HTML entity, heading-nesting (using Advisor.js)
Line 1:
For basic information see [[Help:Editing]].
{{H:h|Editor toc}}
=== Basic text formatting ===
You can format the page using Wikitext special characters.
 
Line 10:
|-
|
You can ''italicize text'' by putting 2
apostrophes on each side.
 
3 apostrophes will '''bold the text'''.
 
5 apostrophes will '''bold''' and ''italicize''
'''''the text'''''.
 
(Using 4 apostrophes doesn't do anything special -- <br>they are just '''' left over ones'''' that are included as part of the text.)
|<pre>
You can ''italicize text'' by putting 2
apostrophes on each side.
 
3 apostrophes will '''bold the text'''.
 
5 apostrophes will '''bold''' and ''italicize''
Line 87:
- Five tildes gives the date/time alone: 07:46, 27 November 2005 (UTC) <br/>
|<pre>
You should "sign" your comments
on talk pages:
- Three tildes gives your
signature: ~~~
- Four tildes give your
signature plus date/time: ~~~~
- Five tildes gives the
date/time alone: ~~~~~
</pre>
Line 108:
|
Put text in a <tt>typewriter
font</tt>. The same font is
generally used for <code>
computer code</code>.
|<pre>
Put text in a <tt>typewriter
font</tt>. The same font is
generally used for <code>
computer code</code>.
Line 150:
|
<blockquote>
The '''blockquote''' command formats block
quotations, typically by surrounding them
with whitespace and a slightly different font.
</blockquote>
|<pre>
<blockquote>
The '''blockquote''' command formats block
quotations, typically by surrounding them
with whitespace and a slightly different font.
</blockquote>
Line 163:
|-
|
Invisible comments to editors (&lt;!-- --&gt;)
appear only while editing the page.
<!-- Note to editors: blah blah blah. -->
Line 183:
<div style="font-size:150%;border-bottom:1px solid #000000;">Section headings</div>
 
''Headings'' organize your writing into
sections. The Wiki software can automatically
generate a [[Help:table of contents|table of contents]] from them.
 
Line 221:
*: Previous item continues.
** A newline
* in a list
marks the end of the list.
*Of course you can start again.
Line 230:
*: Previous item continues.
** A newline
* in a list
marks the end of the list.
*Of course you can start again.
Line 259:
: And even a third
 
Begin with a semicolon. One item per line;
a newline can appear before the colon, but
using a space before the colon improves
parsing.
|<pre>
Line 272:
: And even a third
 
Begin with a semicolon. One item per line;
a newline can appear before the colon, but
using a space before the colon improves
parsing.
</pre>
Line 284:
*#* or break lines<br>in lists.
*#; definition lists
*#: can be
*#:; nested : too
|<pre>
Line 292:
*#* or break lines<br>in lists.
*#; definition lists
*#: can be
*#:; nested : too
</pre>
Line 347:
References: <references/>
 
For details, see [[Wikipedia:Footnotes]]
and [[Help:Footnotes]].
</pre>
Line 533:
|}
 
=== Just show what I typed ===
 
A few different kinds of formatting will tell the Wiki to display things as you typed them.
Line 543:
|
<nowiki>
The nowiki tag ignores
[[Wiki]] ''markup''.
It reformats text by
removing
newlines and multiple
spaces.
It still interprets special
characters: &rarr;
</nowiki>
|<pre>
&lt;nowiki&gt;
The nowiki tag ignores
[[Wiki]] ''markup''.
It reformats text by
removing
newlines and multiple
Line 572:
text.
It still interprets special
characters: &rarr;
</pre>
|<pre>
Line 590:
Putting a space at the
beginning of each
line stops the text
from being
reformatted. It still
interprets [[Wiki]]
''markup'' and special
Line 604:
line stops the text
from being
reformatted. It still
interprets [[Wiki]]
''markup'' and special
Line 611:
|}
 
=== Images, tables, video, and sounds ===
 
After uploading, just enter the filename, highlight it and press the "embedded image"-button of the edit_toolbar.
Line 657:
|-
|
Use '''media:''' links to link
directly to sounds or videos:
[[media:Classical guitar scale.ogg|A sound file]]
|<pre>
Line 668:
|
{| border="1" cellspacing="0" cellpadding="5" align="center"
! This
! is
|-
| a
| table
|-
|}
Line 679:
! This
! is
|-
| a
| table
Line 702:
|}
 
=== Templates ===
 
'''[[Help:Template|Templates]]''' are segments of Wiki markup that are meant to be copied automatically ("transcluded") into a page.