Help:Wikitext Cheatsheet

From FamilySearch Wiki

(Difference between revisions)
Line 27: Line 27:
 
| Breaking Lines  
 
| Breaking Lines  
 
|  <br>  
 
|  <br>  
| you get this<br /> when breaking
+
| you get this<br>when breaking
 
|-
 
|-
 
| Bulleted list  
 
| Bulleted list  
Line 34: Line 34:
 
|-
 
|-
 
| Centered Text  
 
| Centered Text  
| &lt;div class="center" style="width:auto; margin-left:auto; margin-right:auto;"&gt;Centered text&lt;/div&gt;
+
| <nowiki><div class="center" style="width:auto; margin-left:auto; margin-right:auto;">Centered text</div></nowiki>
 
| <div style="width: auto; margin-left: auto; margin-right: auto" class="center">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Centered text</div>
 
| <div style="width: auto; margin-left: auto; margin-right: auto" class="center">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Centered text</div>
 
|-
 
|-
Line 56: Line 56:
 
|-
 
|-
 
| Indenting Text  
 
| Indenting Text  
| <nowiki>no indent (normal)<br>:first indent<br>::second indent<br>:::third indent<br></nowiki>
+
| <nowiki>no indent (normal)<br>:first indent<br>::second indent<br>:::third indent<br></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>
 
|-
 
|-
 
| Italic  
 
| Italic  
| <nowiki>''italic''</nowiki>
+
| <nowiki>''italic''</nowiki>  
 
| ''italic''
 
| ''italic''
 
|-
 
|-

Revision as of 20:55, 26 April 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<br>* Two<br>** Two point one<br>* Three<br></nowkik> | * One<br>* Two<br>** Two point one<br>* Three<br> |- | Centered Text | <nowiki><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)<br>:first indent<br>::second indent<br>:::third indent<br> no indent (normal)
:first indent
::second indent
:::third indent
Italic ''italic'' italic
Link to another Wiki page Name of page
Text to display
Numbered list # One
# Two
## Two point one
# Three
Redirect Page #REDIRECT Target page
Redirect to a Section of Another Page #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 anywhere forces the TOC to appear at that point (instead of just before the first heading). Putting anywhere forces the TOC to disappear.