Wikitext Cheatsheet: Difference between revisions

From FamilySearch Wiki
No edit summary
No edit summary
Line 1: Line 1:
<!--lone div tag to move right sidebar to bottom---------------------------->
<!--lone div tag to move right sidebar to bottom---------------------------->  
<div>
<div><!--opening table tag for entire document----------------------------------> <div style="border:5px solid darkred; border-radius:10px; background:#FFE4B5; width:95%; height:50%; text-align:center; padding:10px; margin-bottom:10px; box-shadow:5px 5px 3px #888888"><span style="font-size:36px; font-family:arial; padding:10px">WIKITEXT Spickzettel</span><br>Condensed Führung zu Wikitext Codierung
<!--opening table tag for entire document---------------------------------->
<div style="border:5px solid darkred; border-radius:10px; background:#FFE4B5; width:870px; height:100%; text-align:center; padding:10px; margin-bottom:10px; box-shadow:5px 5px 3px #888888"><span style="font-size:36px; font-family:arial; padding:10px">WIKITEXT CHEATSHEET</span><br>Condensed guild to Wikitext coding<p style="text-align; color:red; margin-bottom:0px">''Click on sort icon to put list in alphabetical order''</p></div>


<table class="sortable" style="width:900px; height:100%; border:2px solid green">
</div>
<tr style="background:#FFE4B5">
{| style="width:900px; height:100%; border:2px solid green" class="sortable"
<th style="width:150px; border:1px solid black; font-size:18px; padding:10px">Description</th>
|- style="background:#FFE4B5"
<th style="width:50%; border:1px solid black; font-size:18px; padding:10px">Type</th>
! style="width:150px; border:1px solid black; font-size:18px; padding:10px" | Description
<th style="border:1px solid black; font-size:18px; padding:10px">You Get</th>
! style="width:50%; border:1px solid black; font-size:18px; padding:10px" | Type
</tr>
! style="border:1px solid black; font-size:18px; padding:10px" | You Get
<!--headers---------------------------------------------------->
|-
<tr>
| style="border:1px solid black" | [[Help:Wiki University Wikitext--Headers|Headers]]
<td style="border:1px solid black">[[Help:Wiki University Wikitext--Headers|Headers]]</td>
| style="border:1px solid black" | <nowiki>==Header 2==</nowiki><br><nowiki>===Header 3===</nowiki>
<td style="border:1px solid black"><nowiki>==Header 2==</nowiki><br><nowiki>===Header 3===</nowiki></td>
| style="border:1px solid black" | <div style="font-family:new times roman; font-size:2em">Header 2</div><div style="font-family:new times roman; font-size:1.6em; margin-top:5px">Header 3</div>
<td style="border:1px solid black"><div style="font-family:new times roman; font-size:2em">Header 2</div><div style="font-family:new times roman; font-size:1.6em; margin-top:5px">Header 3</div></td>
|-
</tr>
| style="border:1px solid black" | [[Help:Wiki University Wikitext--Lists#Unordered_Lists|Lists - unordered]]
<!--lists- unordered---------------------------------------------------------->
| style="border:1px solid black" | <nowiki>*Item one</nowiki><br><nowiki>*Item two</nowiki><br><nowiki>*Item three</nowiki>
<tr>
| style="border:1px solid black" |
<td style="border:1px solid black">[[Help:Wiki University Wikitext--Lists#Unordered Lists|Lists - unordered]]</td>
*Item one
<td style="border:1px solid black"><nowiki>*Item one</nowiki><br><nowiki>*Item two</nowiki><br><nowiki>*Item three</nowiki></td>
*Item two
<td style="border:1px solid black">
*item three
*Item one
 
*Item two
|-
*item three</td>
| style="border:1px solid black" | [[Help:Wiki University Wikitext--Lists#Ordered_Lists|Lists - ordered]]
</tr>
| style="border:1px solid black" | <nowiki>#Item one</nowiki><br><nowiki>#Item two</nowiki><br><nowiki>#Item three</nowiki>
<!--lists-ordered---------------------------------------------------------->
| style="border:1px solid black" |
<tr>
#Item one  
<td style="border:1px solid black">[[Help:Wiki University Wikitext--Lists#Ordered Lists|Lists - ordered]]</td>
#Item two  
<td style="border:1px solid black"><nowiki>#Item one</nowiki><br><nowiki>#Item two</nowiki><br><nowiki>#Item three</nowiki></td>
#item three
<td style="border:1px solid black">
 
#Item one
|-
#Item two
| style="border:1px solid black" | [[Help:Wiki University Wikitext--Links#Internal_Links|Links - internal]]
#item three</td>
| style="border:1px solid black" | <font color="red"><nowiki>[[</nowiki></font>Missouri Genealogy<font color="red"><nowiki>|</nowiki></font>Missouri<font color="red"><nowiki>]]</nowiki></font><br>''Double square brackets - Name of article - pipe - Name of link''
</tr>
| style="border:1px solid black" | [[Missouri Genealogy|Missouri]]
<!--links-internal----------------------------------------------------->
|-
<tr>
| style="border:1px solid black" | [[Help:Wiki University Wikitext--Links#External_Links|Links - external]]
<td style="border:1px solid black">[[Help:Wiki University Wikitext--Links#Internal Links|Links - internal]]</td>
| style="border:1px solid black" | <font color="red"><nowiki>[</nowiki></font><nowiki>https://</nowiki>familysearch.org<font color="red">''(space)''</font>Family Search<font color="red"><nowiki>]</nowiki></font><br>''Single square brackets - Name of article - space - Name of link''
<td style="border:1px solid black"><font color="red"><nowiki>[[</nowiki></font>Missouri Genealogy<font color="red"><nowiki>|</nowiki></font>Missouri<font color="red"><nowiki>]]</nowiki></font><br>''Double square brackets - Name of article - pipe - Name of link''</td>
| style="border:1px solid black" | [https://familysearch.org/ Family Search]<br>''Notice little box and arrow at the end of the name of the link.''
<td style="border:1px solid black">[[Missouri Genealogy|Missouri]]</td>
|-
</tr>
| style="border:1px solid black" | [[Help:Wiki University Wikitext--Comments|Comments]]
<!--links-external-------------------------------------------------->
| style="border:1px solid black" | <font color="red"><nowiki><!--</nowiki></font>Comment goes here between dashes<font color="red"><nowiki>--></nowiki></font><br>''(At least <font color="red">two</font> dashes are required on either side of the comment)''
<tr>
| style="border:1px solid black" | ''(No comments should appear)''
<td style="border:1px solid black">[[Help:Wiki University Wikitext--Links#External Links|Links - external]]</td><td style="border:1px solid black">
|-
<font color="red"><nowiki>[</nowiki></font><nowiki>https://</nowiki>familysearch.org<font color="red">''(space)''</font>Family Search<font color="red"><nowiki>]</nowiki></font><br>''Single square brackets - Name of article - space - Name of link''</td>
| style="border:1px solid black" | [[Help:Wiki University Wikitext--Categories|Categories]]
<td style="border:1px solid black">[https://familysearch.org/ Family Search]<br>''Notice little box and arrow at the end of the name of the link.''</td>
| style="border:1px solid black" | <font color="red"><nowiki>[[Category:</nowiki></font>name of category<font color="red">]]</font>
</tr>
| style="border:1px solid black" | <nowiki>[[Category:Name of Category]]</nowiki>
<!--comments-------------------------------------------------------->
|-
<tr>
| style="border:1px solid black" | [[Help:Wiki University Wikitext--Images|Images]]
<td style="border:1px solid black">[[Help:Wiki University Wikitext--Comments|Comments]]</td>
| style="border:1px solid black" | <font color="red"><nowiki>[[File:</nowiki></font>name of image<font color="red">&#124;</font>location on page<font color="red">&#124;</font>width<font color="red">&#124;</font>caption<font color="red">]]</font>
<td style="border:1px solid black"><font color="red"><nowiki><!--</nowiki></font>Comment goes here between dashes<font color="red"><nowiki>--></nowiki></font><br>''(At least <font color="red">two</font> dashes are required on either side of the comment)''</td>
| style="border:1px solid black" | IMAGE
<td style="border:1px solid black">''(No comments should appear)''</td>
|-
</tr>
| style="border:1px solid black" | [[Help:Wiki University Wikitext--Paragraphs|Paragraph]]
<!--categories------------------------------------------------------->
| style="border:1px solid black" | <font color="red"><nowiki><p></nowiki></font>Lorem ipsum ....<font color="red"><nowiki></p></nowiki></font>
<tr>
| style="border:1px solid black" |
<td style="border:1px solid black">[[Help:Wiki University Wikitext--Categories|Categories]]</td>
|-
<td style="border:1px solid black"><font color="red"><nowiki>[[Category:</nowiki></font>name of category<font color="red">]]</font></td>
| style="border:1px solid black" | [[Help:Wiki University Wikitext--Changing Fonts#Inline_styling|In-line style]]
<td style="border:1px solid black"><nowiki>[[Category:Name of Category]]</nowiki></td>
| style="border:1px solid black" | <nowiki><p style="</nowiki><font color="red">property:change"&gt;</font>Lorem ipsum ....<nowiki></p></nowiki>
</tr>
| style="border:1px solid black" |
<!--images-------------------------------------------------------->
|-
<tr>
| style="border:1px solid black" | [[Help:Wiki University Wikitext--Sizing Fonts|font-size]]
<td style="border:1px solid black">[[Help:Wiki University Wikitext--Images|Images]]</td>
| style="border:1px solid black" | <nowiki><p style="</nowiki><font color="red">font-size:16pt</font>"&gt;Lorem ipsum ....<nowiki></p></nowiki>
<td style="border:1px solid black"><font color="red"><nowiki>[[File:</nowiki></font>name of image</font><font color="red">|</font>location on page<font color="red">|</font>width<font color="red">|</font>caption<font color="red">]]</font></td>
| style="border:1px solid black" |  
<td style="border:1px solid black">IMAGE</td>
Lorem ipsum .....
</tr>
 
<!--paragraphs--------------------------------------------------->
|-
<tr>
| style="border:1px solid black" | [[Help:Wiki University Wikitext--Changing Fonts|font-family]]
<td style="border:1px solid black">[[Help:Wiki University Wikitext--Paragraphs|Paragraph]]</td>
| style="border:1px solid black" | <nowiki><p style="</nowiki><font color="red">font-family:times new roman</font>"&gt;Lorem ipsum ....<nowiki></p></nowiki>
<td style="border:1px solid black"><font color="red"><nowiki><p></nowiki></font>Lorem ipsum ....<font color="red"><nowiki></p></nowiki></font></td>
| style="border:1px solid black" |
<td style="border:1px solid black"></td>
Lorem ipsum .....
</tr>
 
<!--inline style--------------------------------------------------->
|-
<tr>
| style="border:1px solid black" | [[Help:Wiki University Wikitext--Font Colors|font-color]]
<td style="border:1px solid black">[[Help:Wiki University Wikitext--Changing Fonts#Inline styling|In-line style]]</td>
| style="border:1px solid black" | <nowiki><p style="</nowiki><font color="red">color:blue</font>"&gt;Lorem ipsum ....<nowiki></p></nowiki>
<td style="border:1px solid black"><nowiki><p style="</nowiki><font color="red">property:change"></font>Lorem ipsum ....<nowiki></p></nowiki></td>
''[http://www.w3schools.com/html/html_colornames.asp Click here] for all acceptable colors''
<td style="border:1px solid black"></td>
 
</tr>
| style="border:1px solid black" |
<!--font-size--------------------------------------------------------->
Lorem ipsum .....
<tr>
 
<td style="border:1px solid black">[[Help:Wiki University Wikitext--Sizing Fonts|font-size]]</td>
|-
<td style="border:1px solid black"><nowiki><p style="</nowiki><font color="red">font-size:16pt</font>">Lorem ipsum ....<nowiki></p></nowiki></td>
| style="border:1px solid black" | [[Help:Wiki University Wikitext--Font Bold-Italics#Bold_fonts|bold text]]
<td style="border:1px solid black"><p style="font-size:14pt">Lorem ipsum .....</p></td>
| style="border:1px solid black" | <nowiki><p></nowiki><font color="red"><nowiki>'''</nowiki></font>Lorem ipsum ....<font color="red"><nowiki>'''</nowiki></font><nowiki></p></nowiki>
</tr>
| style="border:1px solid black" | '''Lorem ipsum ....'''
<!--font-family--------------------------------------------------------->
|-
<tr>
| style="border:1px solid black" | [[Help:Wiki University Wikitext--Font Bold-Italics#Italicized_fonts|italicized text]]
<td style="border:1px solid black">[[Help:Wiki University Wikitext--Changing Fonts|font-family]]</td>
| style="border:1px solid black" | <nowiki><p></nowiki><font color="red"><nowiki>''</nowiki></font>Lorem ipsum ....<font color="red"><nowiki>''</nowiki></font><nowiki></p></nowiki>
<td style="border:1px solid black"><nowiki><p style="</nowiki><font color="red">font-family:times new roman</font>">Lorem ipsum ....<nowiki></p></nowiki></td>
| style="border:1px solid black" | ''Lorem ipsum ....''
<td style="border:1px solid black"><p style="font-family:new times roman">Lorem ipsum .....</p></td>
|-
</tr>
| style="border:1px solid black" | [[Help:Wiki University Wikitext--Multi-attributes|multiple attributes]]
<!--font color------------------------------------------------------>
| style="border:1px solid black" | <nowiki><p style="</nowiki><font color="red">font-family:times new roman; font-size:14pt; color:blue</font>"&gt;Lorem ipsum ....<nowiki></p></nowiki>
<tr>
''Note the semi-colon between attributes''
<td style="border:1px solid black">[[Help:Wiki University Wikitext--Font Colors|font-color]]</td>
 
<td style="border:1px solid black"><nowiki><p style="</nowiki><font color="red">color:blue</font>">Lorem ipsum ....<nowiki></p></nowiki><p>''[http://www.w3schools.com/html/html_colornames.asp Click here] for all acceptable colors''</p></td>
| style="border:1px solid black" |
<td style="border:1px solid black"><p style="color:blue">Lorem ipsum .....</p></td>
Lorem ipsum ....
</tr>
 
<!--bold------------------------------------------------------>
|-
<tr>
| style="border:1px solid black" | [[Help:Wiki University Wikitext--Backgrounds|backgrounds]]
<td style="border:1px solid black">[[Help:Wiki University Wikitext--Font Bold-Italics#Bold fonts|bold text]]</td>
| style="border:1px solid black" | <nowiki><p style="</nowiki><font color="red">background:lightgray</font>"&gt;Lorem ipsum ....<nowiki></p></nowiki>  
<td style="border:1px solid black"><nowiki><p></nowiki><font color="red"><nowiki>'''</nowiki></font>Lorem ipsum ....<font color="red"><nowiki>'''</nowiki></font><nowiki></p></nowiki></td>
''[http://www.w3schools.com/html/html_colornames.asp Click here] for all acceptable colors''
<td style="border:1px solid black">'''Lorem ipsum ....'''</td>
 
</tr>
| style="border:1px solid black" |
<!--italic-------------------------------------------------------->
Lorem ipsum ....
<tr>
 
<td style="border:1px solid black">[[Help:Wiki University Wikitext--Font Bold-Italics#Italicized fonts|italicized text]]</td>
|-
<td style="border:1px solid black"><nowiki><p></nowiki><font color="red"><nowiki>''</nowiki></font>Lorem ipsum ....<font color="red"><nowiki>''</nowiki></font><nowiki></p></nowiki></td>
| style="border:1px solid black" | [[Help:Wiki University Wikitext--Padding|padding]]
<td style="border:1px solid black">''Lorem ipsum ....''</td>
| style="border:1px solid black" | <nowiki><p style="</nowiki><font color="red">padding:10px</font>"&gt;Lorem ipsum ....<nowiki></p></nowiki>  
</tr>
*''Padding is the '''space between the contents and the border''' whether the border is '''visible or not'''''.
<!--multiple attributes------------------------------------------------>
*''Can pad on just one or more sides: <font color="red">top</font>, <font color="red">right</font>, <font color="red">bottom</font> and <font color="red">left</font>.''
<tr>
*''Example: <font color="red"><nowiki>padding-top:10px</nowiki></font>''
<td style="border:1px solid black">[[Help:Wiki University Wikitext--Multi-attributes|multiple attributes]]</td>
 
<td style="border:1px solid black"><nowiki><p style="</nowiki><font color="red">font-family:times new roman; font-size:14pt; color:blue</font>">Lorem ipsum ....<nowiki></p></nowiki><p>''Note the semi-colon between attributes''</p></td>
| style="border:1px solid black" | <div style="border:1px solid black; padding:10px">Content ....</div><div style="border:1px solid black; padding:10px">Content ....</div>
<td style="border:1px solid black"><p style="font-family:times new roman; font-size:14pt; color:blue">Lorem ipsum ....</p></td>
|-
</tr>
| style="border:1px solid black" | [[Help:Wiki University Wikitext--Margins|Margins]]
<!--background-------------------------------------------------->
| style="border:1px solid black" | <nowiki><p style="</nowiki><font color="red">margin:10px</font>"&gt;Lorem ipsum ....<nowiki></p></nowiki>  
<tr>
*''Margins is the '''space between borders''' whether the borders are '''visible or not'''''.
<td style="border:1px solid black">[[Help:Wiki University Wikitext--Backgrounds|backgrounds]]</td>
*''Margins can be on just one or more sides: <font color="red">top</font>, <font color="red">right</font>, <font color="red">bottom</font> and <font color="red">left</font>.''
<td style="border:1px solid black"><nowiki><p style="</nowiki><font color="red">background:lightgray</font>">Lorem ipsum ....<nowiki></p></nowiki>
<p>''[http://www.w3schools.com/html/html_colornames.asp Click here] for all acceptable colors''</p></td>
<td style="border:1px solid black"><p style="background:lightgray">Lorem ipsum ....</p></td>
</tr>
<!--padding--------------------------------------------------------->
<tr>
<td style="border:1px solid black">[[Help:Wiki University Wikitext--Padding|padding]]</td>
<td style="border:1px solid black"><nowiki><p style="</nowiki><font color="red">padding:10px</font>">Lorem ipsum ....<nowiki></p></nowiki>
*''Padding is the '''space between the contents and the border''' whether the border is '''visible or not'''''.
*''Can pad on just one or more sides: <font color="red">top</font>, <font color="red">right</font>, <font color="red">bottom</font> and <font color="red">left</font>.
*''Example: <font color="red"><nowiki>padding-top:10px</nowiki></font>''</td>
<td style="border:1px solid black"><div style="border:1px solid black; padding:10px">Content ....</div><div style="border:1px solid black; padding:10px">Content ....</div></td>
</tr>
<!--margins-------------------------------------------------------->
<tr>
<td style="border:1px solid black">[[Help:Wiki University Wikitext--Margins|Margins]]</td>
<td style="border:1px solid black"><nowiki><p style="</nowiki><font color="red">margin:10px</font>">Lorem ipsum ....<nowiki></p></nowiki>
*''Margins is the '''space between borders''' whether the borders are '''visible or not'''''.
*''Margins can be on just one or more sides: <font color="red">top</font>, <font color="red">right</font>, <font color="red">bottom</font> and <font color="red">left</font>.
*''Example: <font color="red"><nowiki>margin-top:10px</nowiki></font>''
*''Example: <font color="red"><nowiki>margin-top:10px</nowiki></font>''
[[File:Tip New.jpg|75px|left]]''Without borders, the spacing between contents looks about the same whether you use padding or margins. Just be aware of the effects of these attributes if you are using borders around your content''.</td>
[[Image:Tip New.jpg|left|75px|Tip New.jpg]]''Without borders, the spacing between contents looks about the same whether you use padding or margins. Just be aware of the effects of these attributes if you are using borders around your content''.
<td style="border:1px solid black"><div style="border:1px solid black; margin:10px">Contents....</div>
| style="border:1px solid black" | <div style="border:1px solid black; margin:10px">Contents....</div> <div style="border:1px solid black; margin:10px">Contents ....</div>  
<div style="border:1px solid black; margin:10px">Contents ....</div>
*''Please note: '''Margins overlap.'''''
*''Please note: '''Margins overlap.'''''</td>
 
</tr>
|-
<!--div tag------------------------------------------------------------>
| style="border:1px solid black" | [[Help:Wiki University Wikitext--Div Tag - Introduction|div tag]]
<tr>
| style="border:1px solid black" | <nowiki><div style="</nowiki><font color="red">font-family:times new roman; font-size:14pt; color:blue</font>"&gt;Lorem ipsum ....<nowiki></div></nowiki><div>''No builtin margins or padding as in paragraph tags''</div>
<td style="border:1px solid black">[[Help:Wiki University Wikitext--Div Tag - Introduction|div tag]]</td>
| style="border:1px solid black" | <div style="font-family:times new roman; font-size:14pt; color:blue">Lorem ipsum ....</div>
<td style="border:1px solid black"><nowiki><div style="</nowiki><font color="red">font-family:times new roman; font-size:14pt; color:blue</font>">Lorem ipsum ....<nowiki></div></nowiki><div>''No builtin margins or padding as in paragraph tags''</div></td>
|-
<td style="border:1px solid black"><div style="font-family:times new roman; font-size:14pt; color:blue">Lorem ipsum ....</div></td>
| style="border:1px solid black" | [[Help:Wiki University Wikitext--Borders|borders]]
</tr>
| style="border:1px solid black" | <nowiki><div style="</nowiki><font color="red">border:1px solid black</font>"&gt;Lorem ipsum ....<nowiki></div></nowiki>  
<!--borders------------------------------------------------------>
*''The border property is in three parts.''  
<tr>
*''First part is the width of the border line in pixels.''  
<td style="border:1px solid black">[[Help:Wiki University Wikitext--Borders|borders]]</td>
*''Second part is the [http://www.w3schools.com/css/css_border.asp kind of line], whether solid, dashed, dotted, etc.''  
<td style="border:1px solid black"><nowiki><div style="</nowiki><font color="red">border:1px solid black</font>">Lorem ipsum ....<nowiki></div></nowiki>
*''The border property is in three parts.''
*''First part is the width of the border line in pixels.''
*''Second part is the [http://www.w3schools.com/css/css_border.asp kind of line], whether solid, dashed, dotted, etc.''
*''Third is the color of the border.''
*''Third is the color of the border.''
</td>
 
<td style="border:1px solid black"><p style="border:1px solid black">Lorem ipsum ....</p></td>
| style="border:1px solid black" |
</tr>
Lorem ipsum ....
<!--borders - rounded corners--------------------------------------------------->
 
<tr>
|-
<td style="border:1px solid black">[[Help:Wiki University Wikitext--Borders#Border radius|border radius]]</td>
| style="border:1px solid black" | [[Help:Wiki University Wikitext--Borders#Border_radius|border radius]]
<td style="border:1px solid black"><nowiki><p style="</nowiki><font color="red">border:1px solid black; border-radius:5px</font>">Lorem ipsum ....<nowiki></p></nowiki>
| style="border:1px solid black" | <nowiki><p style="</nowiki><font color="red">border:1px solid black; border-radius:5px</font>"&gt;Lorem ipsum ....<nowiki></p></nowiki>  
*''Can place border radius on one or more corners''.''
*''Can place border radius on one or more corners''  
*''Example: border-radius-top-right''.</td>
*''Example: border-radius-top-right''.
<td style="border:1px solid black"><p style="font-family:times new roman; font-size:14pt; color:blue; border:1px solid black; border-radius:5px">Lorem ipsum ....</p></td>
 
</tr>
| style="border:1px solid black" |
<!--border - shadow---------------------------------------------------->
Lorem ipsum ....
<tr>
 
<td style="border:1px solid black">[[Help:Wiki University Wikitext--Borders#Border shadow|border shadow]]</td>
|-
<td style="border:1px solid black"><nowiki><p style="</nowiki><font color="red">border:1px solid black; box-shadow:5px 5px 3px lightgray</font>">Lorem ipsum ....<nowiki></p></nowiki>
| style="border:1px solid black" | [[Help:Wiki University Wikitext--Borders#Border_shadow|border shadow]]
*''First number is the distance from bottom of border to bottom edge of shadow.''
| style="border:1px solid black" | <nowiki><p style="</nowiki><font color="red">border:1px solid black; box-shadow:5px 5px 3px lightgray</font>"&gt;Lorem ipsum ....<nowiki></p></nowiki>  
*''Second number is the distance from right edge of border to right edge of shadow.''
*''First number is the distance from bottom of border to bottom edge of shadow.''  
*''Third number is height of object above plain of the page.''
*''Second number is the distance from right edge of border to right edge of shadow.''  
*''Fourth is the color of the shadow''.</td>
*''Third number is height of object above plain of the page.''  
<td style="border:1px solid black"><p style="font-family:times new roman; font-size:14pt; color:blue; border:1px solid black; box-shadow:5px 5px 3px lightgray; width:200px">Lorem ipsum ....</p></td>
*''Fourth is the color of the shadow''.
</tr>
 
<!--width and height-------------------------------------------------->
| style="border:1px solid black" |
<tr>
Lorem ipsum ....
<td style="border:1px solid black">[[Help:Wiki University Wikitext--Width and Height|width and height]]</td>
 
<td style="border:1px solid black"><nowiki><p style="</nowiki><font color="red">width:200px; height:50px</font>">Lorem ipsum ....<nowiki></p></nowiki></td>
|-
<td style="border:1px solid black"><p style="font-family:times new roman; font-size:14pt; color:blue; border:1px solid black; width:200px; height:50px">Lorem ipsum ....</p></td>
| style="border:1px solid black" | [[Help:Wiki University Wikitext--Width and Height|width and height]]
</tr>
| style="border:1px solid black" | <nowiki><p style="</nowiki><font color="red">width:200px; height:50px</font>"&gt;Lorem ipsum ....<nowiki></p></nowiki>
<!--alignment - horizontal----------------------------------------------->
| style="border:1px solid black" |
<tr>
Lorem ipsum ....
<td style="border:1px solid black">[[Help:Wiki University Wikitext--Alignment#Centering titles|Alignment - horizontal]]</td>
 
<td style="border:1px solid black"><nowiki><p style="</nowiki><font color="red">text-align:center</font>">Lorem ipsum ....<nowiki></p></nowiki>
|-
*''Can align in center and right''.
| style="border:1px solid black" | [[Help:Wiki University Wikitext--Alignment#Centering_titles|Alignment - horizontal]]
*''Default alignment is left.''</td>
| style="border:1px solid black" | <nowiki><p style="</nowiki><font color="red">text-align:center</font>"&gt;Lorem ipsum ....<nowiki></p></nowiki>  
<td style="border:1px solid black"><p style="font-family:times new roman; font-size:14pt; color:blue; border:1px solid black; text-align:center">Lorem ipsum ....</p></td>
*''Can align in center and right''.  
</tr>
*''Default alignment is left.''
<!--alignment - vertical------------------------------------------------->
 
<tr>
| style="border:1px solid black" |
<td style="border:1px solid black">[[Help:Wiki University Wikitext--Alignment#Vertical alignment|alignment - vertical]]</td>
Lorem ipsum ....
<td style="border:1px solid black"><nowiki><p style="</nowiki><font color="red">height:50px; line-height:50px</font>">Lorem ipsum ....<nowiki></p></nowiki>
 
*''Line height has to equal height of container.''</td>
|-
<td style="border:1px solid black"><p style="font-family:times new roman; font-size:14pt; color:blue; border:1px solid black; height:50px; line-height:50px">Lorem ipsum ....</p></td>
| style="border:1px solid black" | [[Help:Wiki University Wikitext--Alignment#Vertical_alignment|alignment - vertical]]
</tr>
| style="border:1px solid black" | <nowiki><p style="</nowiki><font color="red">height:50px; line-height:50px</font>"&gt;Lorem ipsum ....<nowiki></p></nowiki>  
<!--tables--------------------------------------------------------->
*''Line height has to equal height of container.''
<tr>
 
<td style="border:1px solid black">[[Help:Wiki University Wikitext--Tables|Tables]]</td>
| style="border:1px solid black" |
<td style="border:1px solid black">
Lorem ipsum ....
<table>
 
<tr>
|-
<td style="width:20px"><font color="red"><nowiki>{|</nowiki></font></td><td>Beginning table tag</td>
| style="border:1px solid black" | [[Help:Wiki University Wikitext--Tables|Tables]]
</tr>
| style="border:1px solid black" |
<tr>
{|
<td style="width:20px"><font color="red"><nowiki>|+</nowiki></font></td><td>Table caption</td>
|-
</tr><tr>
| style="width:20px" | <font color="red"><nowiki>{|</nowiki></font>
<td style="width:20px"><font color="red"><nowiki>|-</nowiki></font></td><td>Row tag</td>
| Beginning table tag
</tr><tr>
|-
<td style="width:20px"><font color="red"><nowiki>!</nowiki></font></td><td>Column heading</td>
| style="width:20px" | <font color="red"><nowiki>|+</nowiki></font>
</tr><tr>
| Table caption
<td style="width:20px"><font color="red"><nowiki>|</nowiki></font></td><td>Cell tag</td>
|-
</tr><tr>
| style="width:20px" | <font color="red"><nowiki>|-</nowiki></font>
<td style="width:20px"><font color="red"><nowiki>|}</nowiki></font></td><td>Ending table tag</td>
| Row tag
</tr>
|-
</table>
| style="width:20px" | <font color="red"><nowiki>!</nowiki></font>
*''To add styling to each of these wikitext table tags, use inline styling.''
| Column heading
|-
| style="width:20px" | <font color="red"><nowiki>|</nowiki></font>
| Cell tag
|-
| style="width:20px" | <font color="red"><nowiki>|}</nowiki></font>
| Ending table tag
|}
 
*''To add styling to each of these wikitext table tags, use inline styling.''  
*''Example: <font color="red"><nowiki>{| style="border:1px solid black; width:200px"</nowiki></font>''
*''Example: <font color="red"><nowiki>{| style="border:1px solid black; width:200px"</nowiki></font>''


</td>
| style="border:1px solid black" |
<td style="border:1px solid black"></td>
|-
</tr>
| style="border:1px solid black" | [[Help:Wiki University Wikitext--Tables - Placement|Text Wrapping (floating)]]
<!--Text Wrapping----------------------------------------------------->
| style="border:1px solid black" | <nowiki><p style="</nowiki><font color="red">float:right</font>"&gt;Lorem ipsum ....<nowiki></p></nowiki>
<tr>
| style="border:1px solid black" | [[Image:Ireland Cemeteries 1.jpg|right|100px|Ireland Cemeteries 1.jpg]]
<td style="border:1px solid black">[[Help:Wiki University Wikitext--Tables - Placement|Text Wrapping (floating)]]</td>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sit amet iaculis metus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Fusce elementum efficitur faucibus.
<td style="border:1px solid black"><nowiki><p style="</nowiki><font color="red">float:right</font>">Lorem ipsum ....<nowiki></p></nowiki></td>
 
<td style="border:1px solid black">
|-
[[File:Ireland Cemeteries 1.jpg|100px|right]]<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sit amet iaculis metus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Fusce elementum efficitur faucibus.</p></td>
| style="border:1px solid black" | [[Help:Wiki University Wikitext--Tables - Scrolling|Table scrolling]]
</tr>
| style="border:1px solid black" | <font color="red"><nowiki><div style="overflow:scroll; width:300px; height:100px"</nowiki></font>  
<!--table scrolling-------------------------------------------------------->
<nowiki>{| style="border:1px solid red" </nowiki> <br><nowiki>|- </nowiki> <br><nowiki>. </nowiki> <br><nowiki>. </nowiki> <br><nowiki>. </nowiki>  
<tr>
<font color="red"><nowiki></div></nowiki></font>
<td style="border:1px solid black">[[Help:Wiki University Wikitext--Tables - Scrolling|Table scrolling]]</td>
| style="border:1px solid black" | <div style="overflow:scroll; width:300px; height:100px;">
<td style="border:1px solid black"><font color="red"><nowiki><div style="overflow:scroll; width:300px; height:100px"</nowiki></font>
{| style="border:1px solid red; width:900px; margin-bottom:0px"
<nowiki>{| style="border:1px solid red" </nowiki>
|-
<br><nowiki>|- </nowiki></font>
! Fruits  
<br><nowiki>. </nowiki></font>
! Vegetable  
<br><nowiki>. </nowiki></font>
! Nuts  
<br><nowiki>. </nowiki></font>
<font color="red"><nowiki></div></nowiki></font></td>
<td style="border:1px solid black"><div style="overflow:scroll; width:300px; height:100px; ">
{| style="border:1px solid red; width:900px; margin-bottom:0px "  
|-
! Fruits
! Vegetable
! Nuts
! Grains
! Grains
|-
|-
| Apples
| Apples  
| Peas
| Peas  
| Peanuts
| Peanuts  
| Wheat
| Wheat
|-
|-
| Pears
| Pears  
| Carrots
| Carrots  
| Walnuts
| Walnuts  
| Oats
| Oats
|-
|-
| Cherries
| Cherries  
| Corn
| Corn  
| Cashews
| Cashews  
| Barley
| Barley
|-
|-
| Orange
| Orange  
| Beans
| Beans  
| Almonds
| Almonds  
| Buckwheat
| Buckwheat
|}
|}
</div></td>
</div>
</tr>
|-
<!--templates------------------------------------------------------>
| style="border:1px solid black" | [[Help:Wiki University Wikitext--Templates|Templates]]
<tr>
| style="border:1px solid black" |
<td style="border:1px solid black">[[Help:Wiki University Wikitext--Templates|Templates]]</td>
''To save a template'':&nbsp;&nbsp;<font color="red"><nowiki>{{</nowiki></font>Template:name of template<font color="red"><nowiki>}}</nowiki></font><br>  
<td style="border:1px solid black">
''To place template type'':&nbsp;&nbsp;<font color="red"><nowiki>{{</nowiki></font>name of template<font color="red"><nowiki>}}</nowiki></font>
''To save a template'':&nbsp;&nbsp;<font color="red"><nowiki>{{</nowiki></font>Template:name of template<font color="red"><nowiki>}}</nowiki></font><br>
| style="border:1px solid black" |
''To place template type'':&nbsp;&nbsp;<font color="red"><nowiki>{{</nowiki></font>name of template<font color="red"><nowiki>}}</nowiki></font></td>
|-
<td style="border:1px solid black"></td>
| style="border:1px solid black" | [[Help:Wiki University Wikitext--Breadcrumb Trails|Breadcrumb trails]]
</tr>
| style="border:1px solid black" |
<!--breadcrumb trails-------------------------------------------------->
Breadcrumb trails are just a chain of internal links separated by pointers:
<tr>
 
<td style="border:1px solid black">[[Help:Wiki University Wikitext--Breadcrumb Trails|Breadcrumb trails]]</td>
<font color="red"><nowiki>[[</nowiki></font>Article name&#124;link name<font color="red"><nowiki>]]</nowiki></font>&nbsp;&nbsp;&gt;&nbsp;&nbsp;<font color="red"><nowiki>[[</nowiki></font>Article name&#124;link name<font color="red"><nowiki>]]</nowiki></font>&nbsp;&nbsp;&gt;&nbsp;&nbsp;<font color="red"><nowiki>[[</nowiki></font>Article name&#124;link name<font color="red"><nowiki>]]</nowiki></font>.  
<td style="border:1px solid black">
 
<p>Breadcrumb trails are just a chain of internal links separated by pointers:</p>
<font color="red"><nowiki>[[</nowiki></font>Article name|link name<font color="red"><nowiki>]]</nowiki></font>&nbsp;&nbsp;>&nbsp;&nbsp;<font color="red"><nowiki>[[</nowiki></font>Article name|link name<font color="red"><nowiki>]]</nowiki></font>&nbsp;&nbsp;>&nbsp;&nbsp;<font color="red"><nowiki>[[</nowiki></font>Article name|link name<font color="red"><nowiki>]]</nowiki></font>.
*''Don't forget pipe between Article name and link name.''
*''Don't forget pipe between Article name and link name.''
<td style="border:1px solid black">''[[United States Genealogy|United States]] [[Image:Gotoarrow.png]] [[Missouri Genealogy|Missouri]] [[Image:Gotoarrow.png]]'' '''Adair County''' </td>
 
</tr>
| style="border:1px solid black" | ''[[United States Genealogy|United States]] [[Image:Gotoarrow.png]] [[Missouri Genealogy|Missouri]] [[Image:Gotoarrow.png]]'' '''Adair County'''  
<!--References or footnotes----------------------------------------------->
|-
<tr>
| style="border:1px solid black" | [[Help:Wiki University Wikitext--References/Footnotes|References/Footnotes]]
<td style="border:1px solid black">[[Help:Wiki University Wikitext--References/Footnotes|References/Footnotes]]</td>
| style="border:1px solid black" | <font color="red"><nowiki><ref></nowiki></font>This is a footnote<font color="red"><nowiki></ref></nowiki></font>  
<td style="border:1px solid black"><font color="red"><nowiki><ref></nowiki></font>This is a footnote<font color="red"><nowiki></ref></nowiki></font>
*''The footnote and ref tags are place right after the item<ref>This is a footnote</ref> you want to footnote regardless of what comes after it even if in the middle of a sentence''.  
*''The footnote and ref tags are place right after the item<ref>This is a footnote</ref> you want to footnote regardless of what comes after it even if in the middle of a sentence''.
*''To place your footnotes/references use this code'': <font color="red"><nowiki>{{reflist}}</nowiki></font>
*''To place your footnotes/references use this code'': <font color="red"><nowiki>{{reflist}}</nowiki></font></td>
 
<td style="border:1px solid black">{{reflist}}</td>
| style="border:1px solid black" | {{reflist}}
</tr>
|-
<!--SEO---------------------------------------------------------->
| style="border:1px solid black" | [[Help:Wiki University Wikitext--SEO|SEO]]
<tr>
| style="border:1px solid black" |
<td style="border:1px solid black">[[Help:Wiki University Wikitext--SEO|SEO]]</td>
*A short sentence of about 25 words giving details as to what material is in the article.  
<td style="border:1px solid black">
*Appears just under the breadcrumb trail.  
*A short sentence of about 25 words giving details as to what material is in the article.
*When you search your browser for a topic this SEO will appear under the title of the web page.  
*Appears just under the breadcrumb trail.
*Take some pains to create this SEO, the world will see it and hopefully want to visit your page because of what you wrote in the SEO.
*When you search your browser for a topic this SEO will appear under the title of the web page.
 
*Take some pains to create this SEO, the world will see it and hopefully want to visit your page because of what you wrote in the SEO.</td>
| style="border:1px solid black" | ''[[United States Genealogy|United States]] [[Image:Gotoarrow.png]] [[Missouri Genealogy|Missouri]] [[Image:Gotoarrow.png]]'' '''Adair County''' <br><br>  
<td style="border:1px solid black">''[[United States Genealogy|United States]] [[Image:Gotoarrow.png]] [[Missouri Genealogy|Missouri]] [[Image:Gotoarrow.png]]'' '''Adair County''' <br><br>
Guide to '''Adair County, Missouri ancestry, family history, and genealogy''' birth records, marriage records, death records, census records, family history, and military records.  
Guide to '''Adair County, Missouri ancestry, family history, and genealogy''' birth records, marriage records, death records, census records, family history, and military records.  
</td>
 
</tr>
|-
<!--Table column spans------------------------------------------------>
| style="border:1px solid black" | [[Help:Wiki University Wikitext--Tables - Column Spans|Table column spans]]
<tr>
| style="border:1px solid black" |
<td style="border:1px solid black">[[Help:Wiki University Wikitext--Tables - Column Spans|Table column spans]]</td>
<nowiki>{|</nowiki><br> <nowiki>|-</nowiki><br> <nowiki>|</nowiki> <font color="red">colspan="2"</font> style="........."&#124; Content to span two columns<br> <nowiki>|-</nowiki><br> <nowiki>| content</nowiki> <br> <nowiki>| content</nowiki> <br> <nowiki>|}</nowiki>  
<td style="border:1px solid black">
 
<nowiki>{|</nowiki><br>
<nowiki>|-</nowiki><br>
<nowiki>|</nowiki> <font color="red">colspan="2"</font> style="........."| Content to span two columns<br>
<nowiki>|-</nowiki><br>
<nowiki>| content</nowiki> <br>
<nowiki>| content</nowiki> <br>
<nowiki>|}</nowiki>
*''Notice there is only one cell in the row where the column span is located.''
*''Notice there is only one cell in the row where the column span is located.''
</td>
 
<td style="border:1px solid black">
| style="border:1px solid black" |
{| style="width:250px; border:1px solid black"
{| style="width:250px; border:1px solid black"
|-
|-
| colspan="2" style="text-align:center; border:1px solid black; background:lightgrey" | Content to span two columns
| style="text-align:center; border:1px solid black; background:lightgrey" colspan="2" | Content to span two columns
|-
|-
| style="border:1px solid black" | content
| style="border:1px solid black" | content  
| style="border:1px solid black" | content
| style="border:1px solid black" | content
|}
|}
</td>
 
</tr>
|-
<!--table row span-------------------------------------------------->
| style="border:1px solid black" | [[Help:Wiki University Wikitext--Tables - Row Spans|Table row span]]
<tr>
| style="border:1px solid black" |
<td style="border:1px solid black">[[Help:Wiki University Wikitext--Tables - Row Spans|Table row span]]</td>
<nowiki>{|</nowiki><br> <nowiki>|-</nowiki><br> &#124; <font color="red"><nowiki>rowspan="2"</nowiki></font> &#124; content<br> <nowiki>| second row content</nowiki><br> <nowiki>| third row content</nowiki><br> <nowiki>|-</nowiki><br> <nowiki>| second row content</nowiki><br> <nowiki>| third row content</nowiki><br> <nowiki>|}</nowiki>  
<td style="border:1px solid black">
 
<nowiki>{|</nowiki><br>
<nowiki>|-</nowiki><br>
| <font color="red"><nowiki>rowspan="2"</nowiki></font> | content<br>
<nowiki>| second row content</nowiki><br>
<nowiki>| third row content</nowiki><br>
<nowiki>|-</nowiki><br>
<nowiki>| second row content</nowiki><br>
<nowiki>| third row content</nowiki><br>
<nowiki>|}</nowiki>
*''Notice one less cell in the second row.''
*''Notice one less cell in the second row.''
</td>
 
<td style="border:1px solid black">
| style="border:1px solid black" |
{| style="border:1px solid black; width:250px"
{| style="border:1px solid black; width:250px"
|-
|-
| rowspan="2" style="border:1px solid black; background:lightgrey" | content
| style="border:1px solid black; background:lightgrey" rowspan="2" | content  
| style="border:1px solid black" | first row second cell content
| style="border:1px solid black" | first row second cell content  
| style="border:1px solid black" | first row third cell content
| style="border:1px solid black" | first row third cell content
|-
|-
| style="border:1px solid black" | second row second cell content
| style="border:1px solid black" | second row second cell content  
| style="border:1px solid black" | second row third cell content
| style="border:1px solid black" | second row third cell content
|}
|}


</td>
|-
</tr>
| style="border:1px solid black" | [[Help:Wiki University Wikitext--Infobox - Creating#Parameters|Parameters]]
<!--parameters------------------------------------------------------>
| style="border:1px solid black" | <font color="red"><nowiki>{{{</nowiki></font>parameter<font color="red"><nowiki>}}}</nowiki></font><br>  
<tr>
*''Parameters are usually part of a template.''
<td style="border:1px solid black">[[Help:Wiki_University_Wikitext--Infobox_-_Creating#Parameters|Parameters]]</td>
<td style="border:1px solid black"><font color="red"><nowiki>{{{</nowiki></font>parameter<font color="red"><nowiki>}}}</nowiki></font><br>
*''Parameters are usually part of a template.
*''To place a parameter'': <br>
*''To place a parameter'': <br>
<nowiki>{{</nowiki>Name of template<br>
 
<font color="red">| parameter= name of parameter</font><br>
<nowiki>{{</nowiki>Name of template<br> <font color="red">&#124; parameter= name of parameter</font><br> <nowiki>}}</nowiki>  
<nowiki>}}</nowiki>
 
*Note the pipe before the parameter and the equal sign after.
*Note the pipe before the parameter and the equal sign after.
</td>
 
<td style="border:1px solid black">name of parameter</td>
| style="border:1px solid black" | name of parameter
</tr>
|-
<tr>
| style="border:1px solid black" | [[Help:Wiki University Wikitext--Infobox - If functions|If functions]]
<!--If functions-------------------------------------------------------->
| style="border:1px solid black" | <font color="red"><nowiki>|{{#if:{{{parameter|}}}</nowiki></font>&#124;name of parameter<br>  
<td style="border:1px solid black">[[Help:Wiki University Wikitext--Infobox - If functions|If functions]]</td>
&#124;{{{parameter}}} <font color="red"><nowiki>}}</nowiki></font> <br>  
<td style="border:1px solid black"><font color="red"><nowiki>|{{#if:{{{parameter|}}}</nowiki></font>|name of parameter<br>
 
|{{{parameter}}} <font color="red"><nowiki>}}</nowiki></font>
*''Be careful and be sure that all symbols are present in your code. If a single pipe is missing, for example, this will not work.''<br>
<br>
 
*''Be careful and be sure that all symbols are present in your code. If a single pipe is missing, for example, this will not work.''<br>
<nowiki>| parameter= </nowiki> If nothing is entered after the equal sign the entire line will be missing.  
<nowiki>| parameter= </nowiki>
 
If nothing is entered after the equal sign the entire line will be missing.
| style="border:1px solid black" | If the parameter is blank, there is no line. If the parameter is added, the text will show.
</td>
|-
<td style="border:1px solid black">If the parameter is blank, there is no line. If the parameter is added, the text will show.</td>
| style="border:1px solid black" | [[Help:Wiki University Wikitext--Position - Relative|Position relative]]
</tr>
| style="border:1px solid black" | <nowiki><div style="</nowiki><font color="red">position:relative</font>"&gt;<br>  
<!--position relative------------------------------------------------->
<tr>
<td style="border:1px solid black">[[Help:Wiki University Wikitext--Position - Relative|Position relative]]</td>
<td style="border:1px solid black">
<nowiki><div style="</nowiki><font color="red">position:relative</font>"></div><br>
*You can place the relative position objects with top or bottom and left or right attributes:<br>
*You can place the relative position objects with top or bottom and left or right attributes:<br>
<nowiki><div style="position:relative;</nowiki><font color="red"> top:20px; left:100px</font><nowiki>">Stuff</div></nowiki>
 
<nowiki><div style="position:relative;</nowiki><font color="red">top:20px; left:100px</font><nowiki>">Stuff</div></nowiki>  
 
*''Remember relative position places objects in relation to where the browser would put the object on a page, if not told otherwise''.
*''Remember relative position places objects in relation to where the browser would put the object on a page, if not told otherwise''.


<td style="border:1px solid black">
| style="border:1px solid black" |
</td>
|-
</tr>
| style="border:1px solid black" | [[Help:Wiki University Wikitext--Position - Absolute|Position-absolute]]
<!--position absolute------------------------------------------------>
| style="border:1px solid black" | <nowiki><div style="</nowiki><font color="red">position:absolute</font>"&gt;<br>  
<tr>
*''All "position absolute" should be within "position relative" attributes.''
<td style="border:1px solid black">[[Help:Wiki University Wikitext--Position - Absolute|Position-absolute]]</td>
<td style="border:1px solid black">
<nowiki><div style="</nowiki><font color="red">position:absolute</font>"></div><br>
*''All "position absolute" should be within "position relative" attributes.
<nowiki><div style="position:relative"></nowiki><br>
<font color="red"><nowiki><div style="position absolute; top:50px; left:50px">Stuff</div></nowiki></font><br>
<nowiki></div></nowiki>
*''Remember absolute position places items in just where you want it''.
*''You are not controlled by the browser as in relative position.'.
*''However, it ignores what is already on the page in the same spot and covers it up''.
*''Most of the time your absolute positioned item will be inside relative position object''.</td>
<td style="border:1px solid black">
</td>
</tr>


</table>
<nowiki><div style="position:relative"></nowiki><br> <font color="red"><nowiki><div style="position absolute; top:50px; left:50px">Stuff</div></nowiki></font><br> <nowiki></div></nowiki>  


[[Category:Wikitext Lessons]]
*''Remember absolute position places items in just where you want it''.
*''You are not controlled by the browser as in relative position.'.''
*''However, it ignores what is already on the page in the same spot and covers it up''.
*''Most of the time your absolute positioned item will be inside relative position object''.
 
| style="border:1px solid black" |
|}
[[Category:Wikitext_Lessons]] </div>

Revision as of 11:53, 23 February 2016

WIKITEXT Spickzettel
Condensed Führung zu Wikitext Codierung
Description Type You Get
Headers ==Header 2==
===Header 3===
Header 2
Header 3
Lists - unordered *Item one
*Item two
*Item three
  • Item one
  • Item two
  • item three
Lists - ordered #Item one
#Item two
#Item three
  1. Item one
  2. Item two
  3. item three
Links - internal [[Missouri Genealogy|Missouri]]
Double square brackets - Name of article - pipe - Name of link
Missouri
Links - external [https://familysearch.org(space)Family Search]
Single square brackets - Name of article - space - Name of link
Family Search
Notice little box and arrow at the end of the name of the link.
Comments <!--Comment goes here between dashes-->
(At least two dashes are required on either side of the comment)
(No comments should appear)
Categories [[Category:name of category]] [[Category:Name of Category]]
Images [[File:name of image|location on page|width|caption]] IMAGE
Paragraph <p>Lorem ipsum ....</p>
In-line style <p style="property:change">Lorem ipsum ....</p>
font-size <p style="font-size:16pt">Lorem ipsum ....</p>

Lorem ipsum .....

font-family <p style="font-family:times new roman">Lorem ipsum ....</p>

Lorem ipsum .....

font-color <p style="color:blue">Lorem ipsum ....</p>

Click here for all acceptable colors

Lorem ipsum .....

bold text <p>'''Lorem ipsum ....'''</p> Lorem ipsum ....
italicized text <p>''Lorem ipsum ....''</p> Lorem ipsum ....
multiple attributes <p style="font-family:times new roman; font-size:14pt; color:blue">Lorem ipsum ....</p>

Note the semi-colon between attributes

Lorem ipsum ....

backgrounds <p style="background:lightgray">Lorem ipsum ....</p>

Click here for all acceptable colors

Lorem ipsum ....

padding <p style="padding:10px">Lorem ipsum ....</p>
  • Padding is the space between the contents and the border whether the border is visible or not.
  • Can pad on just one or more sides: top, right, bottom and left.
  • Example: padding-top:10px
Content ....
Content ....
Margins <p style="margin:10px">Lorem ipsum ....</p>
  • Margins is the space between borders whether the borders are visible or not.
  • Margins can be on just one or more sides: top, right, bottom and left.
  • Example: margin-top:10px
Tip New.jpg
Without borders, the spacing between contents looks about the same whether you use padding or margins. Just be aware of the effects of these attributes if you are using borders around your content.
Contents....
Contents ....
  • Please note: Margins overlap.
div tag <div style="font-family:times new roman; font-size:14pt; color:blue">Lorem ipsum ....</div>
No builtin margins or padding as in paragraph tags
Lorem ipsum ....
borders <div style="border:1px solid black">Lorem ipsum ....</div>
  • The border property is in three parts.
  • First part is the width of the border line in pixels.
  • Second part is the kind of line, whether solid, dashed, dotted, etc.
  • Third is the color of the border.

Lorem ipsum ....

border radius <p style="border:1px solid black; border-radius:5px">Lorem ipsum ....</p>
  • Can place border radius on one or more corners
  • Example: border-radius-top-right.

Lorem ipsum ....

border shadow <p style="border:1px solid black; box-shadow:5px 5px 3px lightgray">Lorem ipsum ....</p>
  • First number is the distance from bottom of border to bottom edge of shadow.
  • Second number is the distance from right edge of border to right edge of shadow.
  • Third number is height of object above plain of the page.
  • Fourth is the color of the shadow.

Lorem ipsum ....

width and height <p style="width:200px; height:50px">Lorem ipsum ....</p>

Lorem ipsum ....

Alignment - horizontal <p style="text-align:center">Lorem ipsum ....</p>
  • Can align in center and right.
  • Default alignment is left.

Lorem ipsum ....

alignment - vertical <p style="height:50px; line-height:50px">Lorem ipsum ....</p>
  • Line height has to equal height of container.

Lorem ipsum ....

Tables
{| Beginning table tag
|+ Table caption
|- Row tag
! Column heading
| Cell tag
|} Ending table tag
  • To add styling to each of these wikitext table tags, use inline styling.
  • Example: {| style="border:1px solid black; width:200px"
Text Wrapping (floating) <p style="float:right">Lorem ipsum ....</p>
Ireland Cemeteries 1.jpg

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sit amet iaculis metus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Fusce elementum efficitur faucibus.

Table scrolling <div style="overflow:scroll; width:300px; height:100px"

{| style="border:1px solid red"
|-
.
.
. </div>

Fruits Vegetable Nuts Grains
Apples Peas Peanuts Wheat
Pears Carrots Walnuts Oats
Cherries Corn Cashews Barley
Orange Beans Almonds Buckwheat
Templates

To save a template:  {{Template:name of template}}
To place template type:  {{name of template}}

Breadcrumb trails

Breadcrumb trails are just a chain of internal links separated by pointers:

[[Article name|link name]]  >  [[Article name|link name]]  >  [[Article name|link name]].

  • Don't forget pipe between Article name and link name.
United States Gotoarrow.png Missouri Gotoarrow.png Adair County
References/Footnotes <ref>This is a footnote</ref>
  • The footnote and ref tags are place right after the item[1] you want to footnote regardless of what comes after it even if in the middle of a sentence.
  • To place your footnotes/references use this code: {{reflist}}
  1. This is a footnote
SEO
  • A short sentence of about 25 words giving details as to what material is in the article.
  • Appears just under the breadcrumb trail.
  • When you search your browser for a topic this SEO will appear under the title of the web page.
  • Take some pains to create this SEO, the world will see it and hopefully want to visit your page because of what you wrote in the SEO.
United States Gotoarrow.png Missouri Gotoarrow.png Adair County

Guide to Adair County, Missouri ancestry, family history, and genealogy birth records, marriage records, death records, census records, family history, and military records.

Table column spans

{|
|-
| colspan="2" style="........."| Content to span two columns
|-
| content
| content
|}

  • Notice there is only one cell in the row where the column span is located.
Content to span two columns
content content
Table row span

{|
|-
| rowspan="2" | content
| second row content
| third row content
|-
| second row content
| third row content
|}

  • Notice one less cell in the second row.
content first row second cell content first row third cell content
second row second cell content second row third cell content
Parameters {{{parameter}}}
  • Parameters are usually part of a template.
  • To place a parameter:

{{Name of template
| parameter= name of parameter
}}

  • Note the pipe before the parameter and the equal sign after.
name of parameter
If functions |{{#if:{{{parameter|}}}|name of parameter
{{{parameter}}} }}
  • Be careful and be sure that all symbols are present in your code. If a single pipe is missing, for example, this will not work.

| parameter= If nothing is entered after the equal sign the entire line will be missing.

If the parameter is blank, there is no line. If the parameter is added, the text will show.
Position relative <div style="position:relative">
  • You can place the relative position objects with top or bottom and left or right attributes:

<div style="position:relative;top:20px; left:100px">Stuff</div>

  • Remember relative position places objects in relation to where the browser would put the object on a page, if not told otherwise.
Position-absolute <div style="position:absolute">
  • All "position absolute" should be within "position relative" attributes.

<div style="position:relative">
<div style="position absolute; top:50px; left:50px">Stuff</div>
</div>

  • Remember absolute position places items in just where you want it.
  • You are not controlled by the browser as in relative position.'.
  • However, it ignores what is already on the page in the same spot and covers it up.
  • Most of the time your absolute positioned item will be inside relative position object.