Help:Wikitext Cheatsheet

From FamilySearch Wiki

(Difference between revisions)
Line 56: Line 56:
 
|-
 
|-
 
| Headings  
 
| Headings  
 +
| <nowiki>== Level 2 ==</nowiki><br><nowiki>=== Level 3 ===</nowiki><br><nowiki>==== Level 4 ====</nowiki>
 
|  
 
|  
| == Level 2 ==<br>=== Level 3 ===<br>==== Level 4 ====<br>
 
 
|-
 
|-
 
| Indenting Text  
 
| Indenting Text  
| <nowiki>no indent (normal)<br>:first indent<br>::second indent<br>:::third indent<br></nowiki>  
+
| <nowiki>no indent (normal)</nowiki><br><nowiki>:first indent</nowiki><br><nowiki>::second indent</nowiki><br><nowiki>:::third indent</nowiki>  
 
| no indent (normal)<br>:first indent<br>::second indent<br>:::third indent<br>
 
| no indent (normal)<br>:first indent<br>::second indent<br>:::third indent<br>
 
|-
 
|-

Revision as of 22:26, 9 May 2011

Description You Type You Get
Add a Page to a Category
Add an Image [[File:xxxxx.png|thumb|alt=Alt text|Caption]] picture
Block Quote The blockquote tag will indent both margins when needed instead of the left margin only as the colon does.
<blockquote>text here</blockquote>
Bold '''bold''' bold
Bold and italic '''''bold and italic''''' bold & italic
Breaking Lines  <br> you get this
when breaking
Bulleted list * One

* Two
** Two point one
* Three

*One
  • Two
    • Two point one
  • Three
Centered Text

<div class="center" style="width:auto; margin-left:auto; margin-right:auto;">Centered text</div> 

        Centered text
Insert Horizontal line  ----

above the line


below the line

Headings == Level 2 ==
=== Level 3 ===
==== Level 4 ====
Indenting Text no indent (normal)
:first indent
::second indent
:::third indent
no indent (normal)
:first indent
::second indent
:::third indent
Italic ''italic'' italic
Link to another Wiki page [[Name of page]]
[[Name of page|Text to display]]
Name of page
Text to display
Numbered list # One
# Two
## Two point one
# Three
# One
# Two
## Two point one
# Three
Redirect Page #REDIRECT [[Target page]] #REDIRECT Target page
Redirect to a Section of Another Page #REDIRECT [[Target page#anchorName]] #REDIRECT Target page#anchorName
Signature ~~~~ evancol 16:21, 26 April 2011 (UTC)
Table of contents When a page has at least four headings, a table of contents (TOC) will appear in front of the first header (after the lead). Putting __TOC__ anywhere forces the TOC to appear at that point (instead of just before the first heading). Putting __NOTOC__ anywhere forces the TOC to disappear.