Difference between revisions of "Help:Wikitext Cheatsheet"

From FamilySearch Wiki
Jump to: navigation, search
Line 14: Line 14:
 
|-
 
|-
 
| Block Quote  
 
| Block Quote  
| The blockquote tag will indent both margins when needed instead of the left margin only as the colon does.<br><nowiki><blockquote>text here</blockquote></nowiki>  
+
| The blockquote tag will indent both margins when needed instead of the left margin only as the colon does.<br><nowiki><blockquote> text here</blockquote></nowiki>  
|  
+
| Text text text text text text <blockquote>&nbsp;&nbsp;&nbsp; quote quote quote</blockquote>
 +
text text text text text text
 +
 
 
|-
 
|-
 
| Bold  
 
| Bold  
Line 33: Line 35:
 
<nowiki>* Two</nowiki><br><nowiki>** Two point one</nowiki><br><nowiki>* Three</nowiki>
 
<nowiki>* Two</nowiki><br><nowiki>** Two point one</nowiki><br><nowiki>* Three</nowiki>
  
| *One  
+
|  
 +
*One
 
*Two  
 
*Two  
 
**Two point one
 
**Two point one

Revision as of 12:39, 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
# 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.