Help:Wikitext Cheatsheet

From FamilySearch Wiki

(Difference between revisions)
Line 86: Line 86:
 
| Numbered list  
 
| Numbered list  
 
| <nowiki># One</nowiki><br><nowiki># Two</nowiki><br><nowiki>## Two point one</nowiki><br><nowiki># Three</nowiki>  
 
| <nowiki># One</nowiki><br><nowiki># Two</nowiki><br><nowiki>## Two point one</nowiki><br><nowiki># Three</nowiki>  
| # One<br># Two<br>## Two point one<br># Three<br>
+
|  
 +
#one
 +
#two<br>spanning more lines<br>doesn't break numbering
 +
#three
 +
##three point one  
 +
##three point two
 
|-
 
|-
 
| Redirect Page  
 
| Redirect Page  

Revision as of 12:45, 12 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>
Text text text text text text
    quote quote quote

text text text text text text

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 ====

Level 2

Level 3

Level 4

Indenting Text no indent (normal)
:first indent
::second indent
::::multiple indent
no indent (normal)
first indent
second indent
Multiple 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
  1. one
  2. two
    spanning more lines
    doesn't break numbering
  3. three
    1. three point one
    2. three point two
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.