Thelemapedia:Wiki Markup
(Difference between revisions)
Revision as of 19:07, 4 Jul 2005 Ash (Talk | contribs) |
Current revision ThomasStevens (Talk | contribs) |
||
Line 1: | Line 1: | ||
The '''wiki markup''' is the syntax system you can use to format a Thelemapedia page. It is designed to be simple and quick to use. You are welcome to experiment with markup in the [[Temp Zone]]. | The '''wiki markup''' is the syntax system you can use to format a Thelemapedia page. It is designed to be simple and quick to use. You are welcome to experiment with markup in the [[Temp Zone]]. | ||
- | __NOTOC__ | ||
- | ==The basics== | ||
- | The following items are the most common used and editors are encouraged to learn them. | + | ==Text== |
- | ====Section Headings==== | + | ===Section Headings=== |
<table cellpadding=0 cellspacing=0 border=0 style="margin-left:25px;border:1px solid #ccc;"><tr> | <table cellpadding=0 cellspacing=0 border=0 style="margin-left:25px;border:1px solid #ccc;"><tr> | ||
Line 12: | Line 10: | ||
<td valign=top style="width:20%;padding:3px;text-align:center;background-color:#ccc;">'''Notes'''</td></tr> | <td valign=top style="width:20%;padding:3px;text-align:center;background-color:#ccc;">'''Notes'''</td></tr> | ||
<tr><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;"> | <tr><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;"> | ||
- | ==New section== | + | <h2>New section</h2> |
- | ===Sub-header 1=== | + | <h3>Sub-header 1</h3> |
- | ====Sub-header 2==== | + | <h4>Sub-header 2</h4> |
- | =====Sub-header 3===== | + | <h5>Sub-header 3</h5> |
</td> | </td> | ||
- | <td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;"> | + | <td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;font-family:courier,mono;font-size:12px;"> |
<nowiki>==New section==</nowiki><br/> | <nowiki>==New section==</nowiki><br/> | ||
<nowiki>===Sub-header 1===</nowiki><br/> | <nowiki>===Sub-header 1===</nowiki><br/> | ||
Line 25: | Line 23: | ||
<td valign=top style="width:20%;padding:3px;"> | <td valign=top style="width:20%;padding:3px;"> | ||
*<small>A Table of Contents will automatically be added to an article that has four or more sections.</small> | *<small>A Table of Contents will automatically be added to an article that has four or more sections.</small> | ||
- | *<small>Typing <nowiki>__NOTOC__</nowiki> anywhere in the article will force the TOC not to appear.</small> | + | *<small>Typing <nowiki>__NOTOC__</nowiki> anywhere in the article will force the TOC not to appear. |
+ | * You can keep a header out of the Table of Contents by using the <h> tags instead of equal signs. | ||
+ | **Eg. <nowiki><h2> Header 2 </h2> instead of == Header 2 == </nowiki></small> | ||
</td></tr></table> | </td></tr></table> | ||
- | ====Text formatting==== | + | ===Bold and italic=== |
<table cellpadding=0 cellspacing=0 border=0 style="margin-left:25px;border:1px solid #ccc;"><tr> | <table cellpadding=0 cellspacing=0 border=0 style="margin-left:25px;border:1px solid #ccc;"><tr> | ||
Line 35: | Line 35: | ||
<td valign=top style="width:20%;padding:3px;text-align:center;background-color:#ccc;">'''Notes'''</td></tr> | <td valign=top style="width:20%;padding:3px;text-align:center;background-color:#ccc;">'''Notes'''</td></tr> | ||
<tr><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;"> | <tr><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;"> | ||
- | '''Bold''' | ||
- | |||
''Italic'' | ''Italic'' | ||
+ | |||
+ | '''Bold''' | ||
'''''Bold italic''''' | '''''Bold italic''''' | ||
- | </td><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;"> | + | </td><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;font-family:courier,mono;font-size:12px;"> |
<nowiki>''Italic''</nowiki> (2 apostrophes) | <nowiki>''Italic''</nowiki> (2 apostrophes) | ||
Line 50: | Line 50: | ||
</td></tr></table> | </td></tr></table> | ||
- | ====Paragraphs==== | + | ===Paragraphs=== |
<table cellpadding=0 cellspacing=0 border=0 style="margin-left:25px;border:1px solid #ccc;"><tr> | <table cellpadding=0 cellspacing=0 border=0 style="margin-left:25px;border:1px solid #ccc;"><tr> | ||
Line 60: | Line 60: | ||
But an empty line (hitting the return/enter key twice) starts a new paragraph. | But an empty line (hitting the return/enter key twice) starts a new paragraph. | ||
- | </td><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;"> | + | </td><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;font-family:courier,mono;font-size:12px;"> |
- | <p>A single newline<br/>(hitting the | + | A single newline<br/>(hitting the return/enter key once)<br/>generally has no effect on the layout. |
- | return/enter key once)<br/>generally has no effect on the layout.<br/> | + | |
- | But an empty line (hitting the return/enter key twice) starts a new paragraph. </p> | + | But an empty line (hitting the return/enter key twice) starts a new paragraph. |
</td><td valign=top style="width:20%;padding:3px;border-bottom:1px solid #ccc;"> | </td><td valign=top style="width:20%;padding:3px;border-bottom:1px solid #ccc;"> | ||
- | |||
*<small>When used in a list, a newline ''does'' affect the layout (see below).</small> | *<small>When used in a list, a newline ''does'' affect the layout (see below).</small> | ||
- | |||
</td></tr> | </td></tr> | ||
<tr><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;"> | <tr><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;"> | ||
You can break lines<br/>without starting a new paragraph. | You can break lines<br/>without starting a new paragraph. | ||
- | </td><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;"> | + | </td><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;font-family:courier,mono;font-size:12px;"> |
<nowiki>You can break lines<br/>without starting a new paragraph.</nowiki> | <nowiki>You can break lines<br/>without starting a new paragraph.</nowiki> | ||
</td><td valign=top style="width:20%;padding:3px;border-bottom:1px solid #ccc;"> | </td><td valign=top style="width:20%;padding:3px;border-bottom:1px solid #ccc;"> | ||
Line 79: | Line 76: | ||
</td></tr> | </td></tr> | ||
- | <tr><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;"> | + | <tr><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;"> |
Sometimes it is useful to indent an entire paragraph. | Sometimes it is useful to indent an entire paragraph. | ||
:A colon at the beginning of the first line will indent the remaining paragraph. | :A colon at the beginning of the first line will indent the remaining paragraph. | ||
- | </td><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;"> | + | </td><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;font-family:courier,mono;font-size:12px;"> |
Sometimes it is useful to indent an entire paragraph.<br/> | Sometimes it is useful to indent an entire paragraph.<br/> | ||
<nowiki>:A colon at the beginning of the first line will indent the remaining paragraph.</nowiki> | <nowiki>:A colon at the beginning of the first line will indent the remaining paragraph.</nowiki> | ||
- | </td><td valign=top style="width:20%;padding:3px;"> | + | </td><td valign=top style="width:20%;padding:3px;border-bottom:1px solid #ccc;"> |
- | *<small>This will work only with the colon at the beginning of a new line. Otherwise it will show up a regular colon. | + | *<small>More colons = more indention. |
+ | *This will work only with the colon at the beginning of a new line. Otherwise it will show up a regular colon. | ||
*A new line (single return) will start a new paragraph when using this technique.</small> | *A new line (single return) will start a new paragraph when using this technique.</small> | ||
+ | </td></tr> | ||
+ | |||
+ | <tr><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;"> | ||
+ | You can also seperate blocks of text: | ||
+ | <blockquote>It is easy using the '''blockquote''' html tag, which indents both margins instead of the left margin only as the colon does.</blockquote> | ||
+ | </td><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;font-family:courier,mono;font-size:12px;"> | ||
+ | <nowiki><blockquote>It is easy using the '''blockquote''' html tag, which indents both margins instead of the left margin only as the colon does.</blockquote></nowiki> | ||
+ | </td><td valign=top style="width:20%;padding:3px;border-bottom:1px solid #ccc;"> | ||
+ | *<small>The colon method is generally preferred, but this technique works well when the right needs to be indented as well.</small> | ||
+ | </td></tr> | ||
+ | |||
+ | <tr><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;"> | ||
+ | If a line starts with one<br/> | ||
+ | or more spaces then<br/> | ||
+ | it will be formatted exactly<br/> | ||
+ | as typed;<br/> | ||
+ | lines will not wrap; | ||
+ | </td><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;font-family:courier,mono;font-size:12px;"> | ||
+ | If a line starts with one<br/> | ||
+ | or more spaces then<br/> | ||
+ | it will be formatted exactly<br/> | ||
+ | as typed;<br/> | ||
+ | lines will not wrap; | ||
+ | </td><td valign=top style="width:20%;padding:3px;"> | ||
+ | *<small>'''WARNING:''' If you make a line too long, it will force the whole page to be wide. Never start ordinary lines with spaces.</small> | ||
+ | *<small>This technique is good for things like poetry.</small> | ||
+ | *<small>More spaces = more indention</small> | ||
</td></tr></table> | </td></tr></table> | ||
+ | |||
+ | ===Lists=== | ||
+ | |||
+ | <table cellpadding=0 cellspacing=0 border=0 style="margin-left:25px;border:1px solid #ccc;"><tr> | ||
+ | <td valign=top style="width:40%;padding:3px;border-right:1px solid #999;text-align:center;background-color:#ccc;">'''What you see'''</td> | ||
+ | <td valign=top style="width:40%;padding:3px;text-align:center;background-color:#ccc;border-right:1px solid #999;">'''What you type'''</td> | ||
+ | <td valign=top style="width:20%;padding:3px;text-align:center;background-color:#ccc;">'''Notes'''</td></tr> | ||
+ | |||
+ | <tr><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;"> | ||
+ | *Lists are easy to do: | ||
+ | ** Start every line with an asterisk. | ||
+ | *** More asterisks means deeper levels. | ||
+ | A newline in a list marks the end of a list item. | ||
+ | |||
+ | * An empty line starts a new list. | ||
+ | </td><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;font-family:courier,mono;font-size:12px;"> | ||
+ | <nowiki>* Lists are easy to do:</nowiki><br/> | ||
+ | <nowiki>** Start every line with an asterisk.</nowiki><br/> | ||
+ | <nowiki>*** More asterisks means deeper levels.</nowiki><br/> | ||
+ | <nowiki>A newline in a list marks the end of a list item.</nowiki><br/> | ||
+ | <br/> | ||
+ | <nowiki>* An empty line starts a new list.</nowiki> | ||
+ | </td><td valign=top style="width:20%;padding:3px;border-bottom:1px solid #ccc;"> | ||
+ | *<small>This is used under the References and External links sections.</small> | ||
+ | </td></tr> | ||
+ | |||
+ | <tr><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;"> | ||
+ | # Numbered lists are easy to do:<br/> | ||
+ | # Start every line with a number sign.<br/> | ||
+ | ## More number signs means <br/> | ||
+ | # deeper levels.<br/> | ||
+ | A newline in a list marks the end of a numbered list.<br/> | ||
+ | # An empty line starts a new list. | ||
+ | </td><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;font-family:courier,mono; | ||
+ | font-size:12px;"><nowiki># Numbered lists are easy to do:</nowiki><br/> | ||
+ | <nowiki># Start every line with a number sign.</nowiki><br/> | ||
+ | <nowiki>## More number signs means </nowiki><br/> | ||
+ | <nowiki># deeper levels.</nowiki><br/> | ||
+ | A newline in a list marks the end of a numbered list.<br/> | ||
+ | <nowiki># An empty line starts a new list.</nowiki> | ||
+ | </td><td valign=top style="width:20%;padding:3px;border-bottom:1px solid #ccc;"> | ||
+ | <small></small> | ||
+ | </td></tr> | ||
+ | <tr><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;"> | ||
+ | * You can even do mixed lists | ||
+ | *# and nest them | ||
+ | *#* like this<br/><br/> | ||
+ | #Or starting with | ||
+ | #*a numbered list | ||
+ | #*# like this | ||
+ | </td><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;font-family:courier,mono; | ||
+ | font-size:12px;"><nowiki>* You can even do mixed lists</nowiki><br/> | ||
+ | <nowiki>*# and nest them</nowiki><br/> | ||
+ | <nowiki>*#* like this</nowiki><br/> | ||
+ | <br/> | ||
+ | <nowiki># Or starting with </nowiki><br/> | ||
+ | <nowiki>#* a numbered list</nowiki><br/> | ||
+ | <nowiki>#*# like this</nowiki> | ||
+ | </td><td valign=top style="width:20%;padding:3px;border-bottom:1px solid #ccc;"> | ||
+ | <small></small> | ||
+ | </td></tr> | ||
+ | <tr><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;"> | ||
+ | ; Definition list : list of definitions | ||
+ | ; item : the item's definition | ||
+ | ; another item | ||
+ | : the other item's definition | ||
+ | : another definition | ||
+ | </td><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;font-family:courier,mono; | ||
+ | font-size:12px;"><nowiki>; Definition list : list of definitions</nowiki><br/> | ||
+ | <nowiki>; item : the item's definition</nowiki><br/> | ||
+ | <nowiki>; another item</nowiki><br/> | ||
+ | <nowiki>: the other item's definition</nowiki><br/> | ||
+ | <nowiki>: another definition</nowiki> | ||
+ | </td><td valign=top style="width:20%;padding:3px;border-bottom:1px solid #ccc;"> | ||
+ | <small></small> | ||
+ | </td></tr> | ||
+ | </table> | ||
+ | |||
+ | ===Character formatting=== | ||
+ | |||
+ | For special characters in [[Hebrew]] and Greek, see the [[Thelemapedia:Characters|Characters]] page. | ||
+ | |||
+ | <table cellpadding=0 cellspacing=0 border=0 style="margin-left:25px;border:1px solid #ccc;"><tr> | ||
+ | <td valign=top style="width:40%;padding:3px;border-right:1px solid #999;text-align:center;background-color:#ccc;">'''What you see'''</td> | ||
+ | <td valign=top style="width:40%;padding:3px;text-align:center;background-color:#ccc;border-right:1px solid #999;">'''What you type'''</td> | ||
+ | <td valign=top style="width:20%;padding:3px;text-align:center;background-color:#ccc;">'''Notes'''</td></tr> | ||
+ | <tr><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;"><pre> | ||
+ | À Á Â Ã Ä Å | ||
+ | Æ Ç È É Ê Ë | ||
+ | Ì Í Î Ï Ñ Ò | ||
+ | Ó Ô Õ Ö Ø Ù | ||
+ | Ú Û Ü ß à á | ||
+ | â ã ä å æ ç | ||
+ | è é ê ë ì í | ||
+ | î ï ñ ò ó ô | ||
+ | œ õ ö ø ù ú | ||
+ | û ü ÿ</pre> | ||
+ | </td><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;font-family:courier,mono;font-size:12px;"> | ||
+ | <pre style="font-family:courier,mono;font-size:10px;line-height:15px;"><nowiki> | ||
+ | &Agrave; &Aacute; &Acirc; &Atilde; &Auml; &Aring; | ||
+ | &AElig; &Ccedil; &Egrave; &Eacute; &Ecirc; &Euml; | ||
+ | &Igrave; &Iacute; &Icirc; &Iuml; &Ntilde; &Ograve; | ||
+ | &Oacute; &Ocirc; &Otilde; &Ouml; &Oslash; &Ugrave; | ||
+ | &Uacute; &Ucirc; &Uuml; &szlig; &agrave; &aacute; | ||
+ | &acirc; &atilde; &auml; &aring; &aelig; &ccedil; | ||
+ | &egrave; &eacute; &ecirc; &euml; &igrave; &iacute; | ||
+ | &icirc; &iuml; &ntilde; &ograve; &oacute; &ocirc; | ||
+ | &oelig; &otilde; &ouml; &oslash; &ugrave; &uacute; | ||
+ | &ucirc; &uuml; &yuml; | ||
+ | </nowiki></pre> | ||
+ | </td><td valign=top style="width:20%;padding:3px;border-bottom:1px solid #ccc;"> | ||
+ | </td></tr> | ||
+ | |||
+ | <tr><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;"> | ||
+ | '''Punctuation:'''<pre> | ||
+ | ¿ ¡ § ¶ | ||
+ | † ‡ • – — | ||
+ | ‹ › « » | ||
+ | ‘ ’ “ ”</pre> | ||
+ | |||
+ | '''Commercial symbols:'''<pre> | ||
+ | ™ © ® ¢ € ¥ | ||
+ | £ ¤</pre> | ||
+ | </td><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;font-family:courier,mono;font-size:12px;"> | ||
+ | <pre style="font-family:courier,mono;font-size:10px;line-height:15px;"><nowiki> | ||
+ | &iquest; &iexcl; &sect; &para; | ||
+ | &dagger; &Dagger; &bull; &ndash; &mdash; | ||
+ | &lsaquo; &rsaquo; &laquo; &raquo; | ||
+ | &lsquo; &rsquo; &ldquo; &rdquo; | ||
+ | </nowiki></pre><br/> | ||
+ | <pre style="font-family:courier,mono;font-size:10px;line-height:15px;"><nowiki> | ||
+ | &trade; &copy; &reg; &cent; &euro; &yen; | ||
+ | &pound; &curren; | ||
+ | </nowiki></pre> | ||
+ | </td><td valign=top style="width:20%;padding:3px;border-bottom:1px solid #ccc;"> | ||
+ | </td></tr> | ||
+ | |||
+ | <tr><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;"> | ||
+ | '''Subscripts:''' | ||
+ | x<sub>1</sub> x<sub>2</sub> x<sub>3</sub> | ||
+ | |||
+ | '''Superscripts:''' | ||
+ | x<sup>1</sup> x<sup>2</sup> x<sup>3</sup> | ||
+ | </td><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;font-family:courier,mono;font-size:12px;"> | ||
+ | <nowiki>x<sub>1</sub> x<sub>2</sub> x<sub>3</sub></nowiki> | ||
+ | <br/><br/> | ||
+ | <nowiki>x<sup>1</sup> x<sup>2</sup> x<sup>3</sup></nowiki> | ||
+ | |||
+ | </td><td valign=top style="width:20%;padding:3px;"> | ||
+ | </td></tr></table> | ||
+ | |||
+ | ===Other formatting=== | ||
+ | |||
+ | <table cellpadding=0 cellspacing=0 border=0 style="margin-left:25px;border:1px solid #ccc;"><tr> | ||
+ | <td valign=top style="width:40%;padding:3px;border-right:1px solid #999;text-align:center;background-color:#ccc;" id="example">'''What you see'''</td> | ||
+ | <td valign=top style="width:40%;padding:3px;text-align:center;background-color:#ccc;border-right:1px solid #999;">'''What you type'''</td> | ||
+ | <td valign=top style="width:20%;padding:3px;text-align:center;background-color:#ccc;">'''Notes'''</td></tr> | ||
+ | <tr><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;"> | ||
+ | Centering text on the page is easy: | ||
+ | |||
+ | <center>Just use the '''center''' tag.</center> | ||
+ | </td><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;font-family:courier,mono;font-size:12px;"> | ||
+ | Centering text on the page is easy: | ||
+ | |||
+ | <nowiki><center>Just use the '''center''' tag.</center></nowiki> | ||
+ | </td><td valign=top style="width:20%;padding:3px;border-bottom:1px solid #ccc;"> | ||
+ | *<small>For advanced users, centering can also be done within table cells and using manual CSS, like in a <nowiki><div></nowiki></small> | ||
+ | </td></tr> | ||
+ | |||
+ | <tr><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;"> | ||
+ | It is easy to make text <small>really small using the small tag.</small> | ||
+ | </td><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;font-family:courier,mono;font-size:12px;"> | ||
+ | <nowiki>It is easy to make text <small>really small using the small tag.</small></nowiki> | ||
+ | </td><td valign=top style="width:20%;padding:3px;border-bottom:1px solid #ccc;"> | ||
+ | *<small>This is good for captions and instances like this one. | ||
+ | * Avoid using small text for the main body copy in an article</small> | ||
+ | </td></tr> | ||
+ | |||
+ | <tr><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;"> | ||
+ | You can draw a single line | ||
+ | ---- | ||
+ | with four dashes. | ||
+ | </td><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;font-family:courier,mono;font-size:12px;"> | ||
+ | You can draw a single line<br/> | ||
+ | <nowiki>----</nowiki><br/> | ||
+ | with four dashes. | ||
+ | </td><td valign=top style="width:20%;padding:3px;border-bottom:1px solid #ccc;"> | ||
+ | *<small>This only works when the dashes are drawn on their own space. Within text, they will render as dashes.</small> | ||
+ | </td></tr> | ||
+ | |||
+ | <tr><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;"> | ||
+ | It is possible to suppress the expression of code. For example, if you want to show code formatting. So, <nowiki>'''bold'''</nowiki> would show up as <nowiki>'''bold'''</nowiki> and not '''bold'''. | ||
+ | </td><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;font-family:courier,mono;font-size:12px;"> | ||
+ | <nowiki>So, <nowiki>'''bold'''</nowiki> would show up as <nowiki>'''bold'''</nowiki> and not '''bold'''.</nowiki> | ||
+ | </td><td valign=top style="width:20%;padding:3px;border-bottom:1px solid #ccc;"><small> | ||
+ | *Escape all wiki markup, including that which looks like HTML tags. | ||
+ | *Does not escape HTML character references.</small> | ||
+ | </td></tr> | ||
+ | |||
+ | <tr><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;"> | ||
+ | You can leave a comment within the editing code that doesn't show up on the page. | ||
+ | </td><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;font-family:courier,mono;font-size:12px;"> | ||
+ | <nowiki><!-- comment here --></nowiki> | ||
+ | </td><td valign=top style="width:20%;padding:3px;border-bottom:1px solid #ccc;"><small> | ||
+ | *Used to leave comments in a page for future editors.</small> | ||
+ | </td></tr> | ||
+ | |||
+ | <tr><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;"> | ||
+ | You can <s>strike out deleted material</s> | ||
+ | and <u>underline new material</u>. | ||
+ | </td><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;font-family:courier,mono;font-size:12px;"> | ||
+ | <nowiki>You can <s>strike out deleted material</s> | ||
+ | and <u>underline new material</u>. | ||
+ | </nowiki> | ||
+ | </td><td valign=top style="width:20%;padding:3px;"> | ||
+ | *<small>Generally, this should not be used in main articles. It can be useful on discussion pages.</small> | ||
+ | </td></tr></table> | ||
+ | |||
+ | ==Links== | ||
+ | |||
+ | <table cellpadding=0 cellspacing=0 border=0 style="margin-left:25px;border:1px solid #ccc;"><tr> | ||
+ | <td valign=top style="width:40%;padding:3px;border-right:1px solid #999;text-align:center;background-color:#ccc;">'''What you see'''</td> | ||
+ | <td valign=top style="width:40%;padding:3px;text-align:center;background-color:#ccc;border-right:1px solid #999;">'''What you type'''</td> | ||
+ | <td valign=top style="width:20%;padding:3px;text-align:center;background-color:#ccc;">'''Notes'''</td></tr> | ||
+ | <tr><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;"> | ||
+ | Internal linking is easy: just use two brackets on either side of a word or phrase, eg. [[Astral projection]]. | ||
+ | </td><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;font-family:courier,mono;font-size:12px;"> | ||
+ | Internal linking is easy: just use two brackets on either side of a word or phrase, eg.<nowiki> [[Astral projection]].</nowiki> | ||
+ | </td><td valign=top style="width:20%;padding:3px;border-bottom:1px solid #ccc;"> | ||
+ | *<small> A link to another Thelemapedia article. | ||
+ | * Internally, the first letter of the target page is automatically capitalized and spaces are represented as underscores. | ||
+ | * Spelling and capitalization must be exact (except for the first letter)</small> | ||
+ | </td></tr> | ||
+ | |||
+ | <tr><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;">It is possible to have a link target a page using different text. Eg. Some can [[Astral projection|travel astrally]]. | ||
+ | </td><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;font-family:courier,mono;font-size:12px;">Some can <nowiki>[[Astral projection|travel astrally]]</nowiki>. ''(Text shows up as "travel astrally" but links to the page called "Astral projection")'' | ||
+ | </td><td valign=top style="width:20%;padding:3px;border-bottom:1px solid #ccc;"><small> | ||
+ | * Same target, different name. | ||
+ | * This is called a "piped link". | ||
+ | * The "piped" text must be placed first, the text that will be displayed, second.</small> | ||
+ | </td></tr> | ||
+ | |||
+ | <tr><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;"> | ||
+ | If red, [[it is a link]] to a page that doesn't yet exist. | ||
+ | </td><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;font-family:courier,mono;font-size:12px;"> | ||
+ | <nowiki>If red, [[it is a link]] to a page that doesn't yet exist.</nowiki> | ||
+ | </td><td valign=top style="width:20%;padding:3px;border-bottom:1px solid #ccc;"><small> | ||
+ | *You can create the page by clicking on the red link (but please do not do so with this particular link). | ||
+ | *To create a new page, see the [[Thelemapedia:Really_Simple_Tutorial_%28the_basics%29#Starting a new article|tutorial entry]] | ||
+ | </small> | ||
+ | </td></tr> | ||
+ | |||
+ | <tr><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;"> | ||
+ | You can blend endings onto links: "There are many types of [[sigil]]s" | ||
+ | </td><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;font-family:courier,mono;font-size:12px;"> | ||
+ | <nowiki>There are many types of [[sigil]]s</nowiki> | ||
+ | </td><td valign=top style="width:20%;padding:3px;border-bottom:1px solid #ccc;"><small> | ||
+ | *Works with the following endings:<br/>-s, -es, -ing, -tion, -ation | ||
+ | </small> | ||
+ | </td></tr> | ||
+ | |||
+ | <tr><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;"> | ||
+ | [[Alchemy#Overview]] is a link to a section within another page. | ||
+ | |||
+ | [[#Other formatting]] is a link to a section on the current page. | ||
+ | |||
+ | [[#example]] is a link to an anchor that was created using an "id" attribute. | ||
+ | </td><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;font-family:courier,mono;font-size:12px;"><nowiki> | ||
+ | [[Alchemy#Overview]] is a link to a section within another page. | ||
+ | |||
+ | [[#Other formatting]] is a link to a section on the current page. | ||
+ | |||
+ | [[#example]] is a link to an anchor that was created using an "id" attribute</nowiki> | ||
+ | </td><td valign=top style="width:20%;padding:3px;border-bottom:1px solid #ccc;"><small> | ||
+ | * You can use a piped link to make these more pretty | ||
+ | * The "id" attribute can be in a "div" or table cell | ||
+ | ** eg. <nowiki><div id="example"></div></nowiki> | ||
+ | </small> | ||
+ | </td></tr> | ||
+ | |||
+ | <tr><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;"> | ||
+ | Automatically hide stuff in parentheses: | ||
+ | [[The Fool (tarot)|The Fool]]. | ||
+ | |||
+ | Automatically hide namespace: | ||
+ | [[Thelemapedia:Really Simple Tutorial|Really Simple Tutorial]]. | ||
+ | |||
+ | Or both: | ||
+ | [[Thelemapedia:Really Simple Tutorial (the basics)|Really Simple Tutorial]] | ||
+ | |||
+ | But not: | ||
+ | [[Thelemapedia:Really Simple Tutorial (the basics)#Editing a page|]] | ||
+ | </td><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;font-family:courier,mono;font-size:12px;"> | ||
+ | <nowiki>[[The Fool (tarot)|]].</nowiki> | ||
+ | <br/><br/> | ||
+ | <nowiki>[[Thelemapedia:Really Simple Tutorial|]].</nowiki> | ||
+ | <br/><br/> | ||
+ | <nowiki>[[Thelemapedia:Really Simple Tutorial (the basics)|]]</nowiki> | ||
+ | </td><td valign=top style="width:20%;padding:3px;border-bottom:1px solid #ccc;"><small> | ||
+ | * Just put a pipe on the end | ||
+ | </small> | ||
+ | </td></tr> | ||
+ | |||
+ | <tr><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;"> | ||
+ | It is possible to have a page redirect to another page. For example, [[Scarlet Woman]] redirects the browser to [[Babalon]]. | ||
+ | </td><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;font-family:courier,mono;font-size:12px;"> | ||
+ | The code on the redirection page (say, "Scarlet Woman") is: | ||
+ | |||
+ | <nowiki>#REDIRECT [[Babalon]]</nowiki> | ||
+ | </td><td valign=top style="width:20%;padding:3px;border-bottom:1px solid #ccc;"><small> | ||
+ | * Very useful for topics that have multiple terms | ||
+ | * Code must go on the first line only | ||
+ | </small> | ||
+ | </td></tr> | ||
+ | |||
+ | <tr><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;"> | ||
+ | Special pages can be linked to easily: | ||
+ | |||
+ | '''What links here''': | ||
+ | [[Special:Whatlinkshere/Thelemapedia:Really Simple Tutorial]] | ||
+ | |||
+ | '''Related changes''': | ||
+ | [[Special:Recentchangeslinked/Thelemapedia:Really Simple Tutorial]] | ||
+ | |||
+ | '''User's Contributions page''': | ||
+ | [[Special:Contributions/Ash]] | ||
+ | |||
+ | </td><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;font-family:courier,mono;font-size:12px;"> | ||
+ | <nowiki>[[Special:Whatlinkshere/Thelemapedia:Really Simple Tutorial]]</nowiki> | ||
+ | |||
+ | <nowiki>[[Special:Recentchangeslinked/Thelemapedia:Really Simple Tutorial]]</nowiki> | ||
+ | |||
+ | <nowiki>[[Special:Contributions/Ash]]</nowiki> | ||
+ | </td><td valign=top style="width:20%;padding:3px;border-bottom:1px solid #ccc;"><small> | ||
+ | </small> | ||
+ | </td></tr> | ||
+ | |||
+ | <tr><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;"> | ||
+ | Three ways to link to external (non-wiki) sources: | ||
+ | # '''Bare URL''':<br/>http://www.nupedia.com/ ''(bad style)'' | ||
+ | # '''Unnamed link''':<br/>[http://www.nupedia.com/] ''(very bad style, unless used as a reference citation)'' | ||
+ | # '''Named link''':<br/>[http://www.nupedia.com Nupedia] ''(ideal)'' | ||
+ | </td><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;font-family:courier,mono;font-size:12px;"> | ||
+ | <nowiki>http://www.nupedia.com/ </nowiki> | ||
+ | |||
+ | <nowiki>[http://www.nupedia.com/] </nowiki> | ||
+ | |||
+ | <nowiki>[http://www.nupedia.com Nupedia] </nowiki> | ||
+ | </td><td valign=top style="width:20%;padding:3px;border-bottom:1px solid #ccc;"><small> | ||
+ | * Use ''single'' brackets for external links | ||
+ | * For a named link, do NOT use a pipe, DO use a space | ||
+ | </small> | ||
+ | </td></tr> | ||
+ | |||
+ | <tr><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;"> | ||
+ | It's also easy to link to an email address: | ||
+ | |||
+ | '''bare address''':<br/> | ||
+ | [mailto:bob@anywhere.com] | ||
+ | |||
+ | '''named email address''':<br/> | ||
+ | [mailto:bob@anywhere.com email me] | ||
+ | |||
+ | </td><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;font-family:courier,mono;font-size:12px;"> | ||
+ | <nowiki>[mailto:bob@anywhere.com]</nowiki> | ||
+ | |||
+ | <nowiki>[mailto:bob@anywhere.com email me]</nowiki> | ||
+ | </td><td valign=top style="width:20%;padding:3px;"><small> | ||
+ | * Like external links, use ''single'' brackets | ||
+ | </small> | ||
+ | </td></tr></table> | ||
+ | |||
+ | ==Images== | ||
+ | |||
+ | <table cellpadding=0 cellspacing=0 border=0 style="margin-left:25px;border:1px solid #ccc;"><tr> | ||
+ | <td valign=top style="width:40%;padding:3px;border-right:1px solid #999;text-align:center;background-color:#ccc;">'''What you see'''</td> | ||
+ | <td valign=top style="width:40%;padding:3px;text-align:center;background-color:#ccc;border-right:1px solid #999;">'''What you type'''</td> | ||
+ | <td valign=top style="width:20%;padding:3px;text-align:center;background-color:#ccc;">'''Notes'''</td></tr> | ||
+ | <tr><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;">''An image:'' | ||
+ | |||
+ | [[Image:mushroom.jpg]] Here is some text to show how it relates to the image. | ||
+ | </td> | ||
+ | <td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;font-family:courier,mono;font-size:12px;"> | ||
+ | <nowiki>[[Image:mushroom.jpg]]</nowiki> | ||
+ | </td> | ||
+ | <td valign=top style="width:20%;padding:3px;border-bottom:1px solid #ccc;"> | ||
+ | *<small>This image will have no formatting at all</small> | ||
+ | </td></tr> | ||
+ | |||
+ | <tr><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;">''Image floats right:''<br/> | ||
+ | </br> | ||
+ | [[Image:Mushroom.jpg|right]] Here is some text to show how it relates to the image. | ||
+ | </td> | ||
+ | <td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;font-family:courier,mono;font-size:12px;"> | ||
+ | <nowiki>[[Image:Mushroom.jpg|right]]</nowiki> | ||
+ | </td> | ||
+ | <td valign=top style="width:20%;padding:3px;border-bottom:1px solid #ccc;"> | ||
+ | *<small>This image will float to the right, and text will wrap around the left of it</small> | ||
+ | </td></tr> | ||
+ | |||
+ | <tr><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;">''Image floats left:''<br/> | ||
+ | </br> | ||
+ | [[Image:Mushroom.jpg|left]] Here is some text to show how it relates to the image. | ||
+ | </td> | ||
+ | <td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;font-family:courier,mono;font-size:12px;"> | ||
+ | <nowiki>[[Image:Mushroom.jpg|left]]</nowiki> | ||
+ | </td> | ||
+ | <td valign=top style="width:20%;padding:3px;border-bottom:1px solid #ccc;"> | ||
+ | *<small>This image will float to the left, and text will wrap around the right of it</small> | ||
+ | </td></tr> | ||
+ | |||
+ | <tr><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;">''Image with alternative text:'' | ||
+ | |||
+ | [[Image:Mushroom.jpg|mushroom]] | ||
+ | </td> | ||
+ | <td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;font-family:courier,mono;font-size:12px;"> | ||
+ | <nowiki>[[Image:Mushroom.jpg|mushroom]]</nowiki> | ||
+ | </td> | ||
+ | <td valign=top style="width:20%;padding:3px;border-bottom:1px solid #ccc;"> | ||
+ | *<small>Gives the image alternative text | ||
+ | * Any text placed at the end of a string of image commands will be alternative text (except with the "frame" tag...see below). </small> | ||
+ | </td></tr> | ||
+ | |||
+ | <tr><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;">''Image with a frame and caption:''<br/> | ||
+ | </br> | ||
+ | [[Image:Mushroom.jpg|frame|Mushroom]] Here is some text to show how it relates to the image. | ||
+ | </td> | ||
+ | <td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;font-family:courier,mono;font-size:12px;"> | ||
+ | <nowiki>[[Image:Mushroom.jpg|frame|Mushroom]]</nowiki> | ||
+ | </td> | ||
+ | <td valign=top style="width:20%;padding:3px;border-bottom:1px solid #ccc;"> | ||
+ | *<small>Adding a captions automatically floats the image to the right | ||
+ | * Notice that you can have multiple pipes for more options. Eg. you could add |left| to the code to have it float to the left. | ||
+ | * You can use wiki links with caption text | ||
+ | * Description and caption text always goes at the end</small> | ||
+ | </td></tr> | ||
+ | |||
+ | <tr><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;">''Image doesn't float:''<br/> | ||
+ | </br> | ||
+ | Here is some text to show [[Image:Mushroom.jpg|none]] how it relates to the image. | ||
+ | </td> | ||
+ | <td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;font-family:courier,mono;font-size:12px;"> | ||
+ | <nowiki>Here is some text to show [[Image:Mushroom.jpg|none]] how it relates to the image.</nowiki> | ||
+ | </td> | ||
+ | <td valign=top style="width:20%;padding:3px;border-bottom:1px solid #ccc;"> | ||
+ | *<small>Text breaks to the top and bottom of the image | ||
+ | * NOTE: if you want text that comes after an image to break under it, then put in the following code just after the image:<br/><nowiki><br style="clear:both" /></nowiki></small> | ||
+ | </td></tr> | ||
+ | |||
+ | <tr><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;">''Resizing an image (centered):''<br/> | ||
+ | <br/> | ||
+ | [[Image:Mushroom.jpg|50px|center]] | ||
+ | </td> | ||
+ | <td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;font-family:courier,mono;font-size:12px;"> | ||
+ | <nowiki>[[Image:Mushroom.jpg|50px|center]]</nowiki> | ||
+ | </td> | ||
+ | <td valign=top style="width:20%;padding:3px;border-bottom:1px solid #ccc;"> | ||
+ | *<small>Can resize to any limit, but quickly starts to lose visual quality the futher from 100% you go | ||
+ | * It is best to upload the image with the size that is needed to be displayed in the article | ||
+ | * Added the center just to show that position is also available</small> | ||
+ | </td></tr> | ||
+ | |||
+ | <tr><td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;">''Making a thumbnail'' | ||
+ | |||
+ | [[Image:Mushroom.jpg|thumb|85px|'shroom]] | ||
+ | </td> | ||
+ | <td valign=top style="width:40%;padding:7px;border-right:1px solid #ccc;font-family:courier,mono;font-size:12px;"> | ||
+ | <nowiki>[[Image:Mushroom.jpg|thumb|85px|'shroom]]</nowiki> | ||
+ | </td> | ||
+ | <td valign=top style="width:20%;padding:3px;"> | ||
+ | *<small>This creates the little image in the caption box that shows that a larger version is available</small> | ||
+ | </td></tr></table> | ||
+ | |||
+ | ==Other items== | ||
+ | ===Signature=== | ||
+ | |||
+ | '''Your signature:''' you can leave your signature on discussion pages by typing 3 tildas (<nowiki>~~~</nowiki>) for just your username, or 4 tildas (<nowiki>~~~~</nowiki>) if you want to add a time stamp. Both will create a link to your user page. For example: [[User:Ash|—Fr. Ash—]] 16:53, 5 Jul 2005 (CDT) | ||
+ | |||
+ | Five tildas will just leave a time stamp: 16:53, 5 Jul 2005 (CDT) | ||
+ | |||
+ | ''Note: please do not sign articles.'' Keep signatures in the talk pages. | ||
+ | |||
+ | ===Templates=== | ||
+ | |||
+ | Templates are used to add recurring messages to pages in a consistent way, to add boilerplate messages, to create navigational boxes and to provide cross-language portability of texts. Any page that begins with "Template:"—such as [[Template:Example1]]—becomes a template anyone can use. The content of a template can be added to a page by typing <nowiki>{{templatename}}</nowiki>. | ||
+ | |||
+ | For example, any page that includes the code <nowiki>{{Example1}}</nowiki> will display the following: | ||
+ | {{Example1}} | ||
+ | You can create a new template by typing the following into your browser's address bar:<br/> | ||
+ | <nowiki>http://www.thelemapedia.org/index.php/Template:Templatename</nowiki> | ||
+ | |||
+ | Common templates used in many articles are: | ||
+ | *'''<nowiki>{{stub}}</nowiki>''': used for very short pages with only a few lines of text | ||
+ | *'''<nowiki>{{thelema}}</nowiki>''': used when an otherwise complete article needs information within the context of Thelema | ||
+ | *'''<nowiki>{{partial}}</nowiki>''': these articles are too long to be a stub but are still missing vital information | ||
+ | |||
+ | Here is a list of other [[Thelemapedia:Templates|Thelemapedia templates]]. | ||
+ | |||
+ | ===Categories=== | ||
+ | To add any page to a category, simply type <nowiki>[[Category:Category name]]</nowiki> at the very bottom of the article (it doesn't ''have'' to be at the bottom, but it is recommended). This will automatically add that page to the category listing and a link will be created at the bottom of the article. | ||
+ | |||
+ | Pages can belong to multiple categories. For example, the article [[Thelema]] belongs to [[:Category:Thelema]] and [[:Category:Numbers]]. The code looks like this:<BR/><nowiki>[[Category:Thelema]] [[Category:Numbers]]</nowiki> | ||
+ | |||
+ | Here is a list of all [[Special:Categories|Thelemapedia categories]]. If there isn't an existing category for an article, when you add the category code at the bottom, it automatically creates that category. Note that, although "uncreated" categories will correctly list articles that have been assigned to them, the category page itself does not exist until it is manually created. The easiest way to create the category page is to follow the edit link from an article and add a parent category and a category description. | ||
+ | |||
+ | You can link to a category page within an article by adding a colon: eg. <nowiki>[[:Category:Thelema]]</nowiki> = [[:Category:Thelema]]. | ||
+ | ===Table of contents=== | ||
+ | |||
+ | You can force a table of contents to show up anywhere on a page by typing <nowiki>__TOC__</nowiki>. You can also force a page ''not'' to show a table of contents by adding <nowiki>__NOTOC__</nowiki> anywhere on the page. | ||
+ | |||
+ | You can keep a header out of the Table of Contents by using the <h> tags instead of equal signs. Examples: | ||
+ | * <nowiki><h2>Header 2</h2> instead of ==Header 2== </nowiki> | ||
+ | * <nowiki><h3>Header 3</h3> instead of ===Header 3=== </nowiki> | ||
+ | * <nowiki><h4>Header 4</h4> instead of ====Header 4==== </nowiki> | ||
+ | * <nowiki><h5>Header 5</h5> instead of =====Header 5===== </nowiki> | ||
+ | |||
+ | '''Compact TOC''' | ||
+ | |||
+ | Where you have a large number of very short headings (such as letters of the alphabet) you can get a very long table of contents. An alternative is a compact table of contents, which you can achieve by inserting the following text: | ||
+ | |||
+ | <nowiki>{{compactTOC}} __NOTOC__</nowiki> | ||
+ | |||
+ | which looks like this: | ||
+ | |||
+ | <table cellpadding=0 cellspacing=0 border=0><tr><td style="padding:7px;border:1px solid #ccc;">'''Table of Contents''': [[#top|Top]] - [[#0-9|0-9]] [[#A|A]] [[#B|B]] [[#C|C]] [[#D|D]] [[#E|E]] [[#F|F]] [[#G|G]] [[#H|H]] [[#I|I]] [[#J|J]] [[#K|K]] [[#L|L]] [[#M|M]] [[#N|N]] [[#O|O]] [[#P|P]] [[#Q|Q]] [[#R|R]] [[#S|S]] [[#T|T]] [[#U|U]] [[#V|V]] [[#W|W]] [[#X|X]] [[#Y|Y]] [[#Z|Z]]</td></tr></table> | ||
+ | |||
+ | ===Layout=== | ||
+ | |||
+ | It is possible to have more sophisticated design on wiki articles by using tables and CSS (cascading style sheets). | ||
+ | |||
+ | Tables should not be used for [[#lists|simple lists]], but rather for instances such as complex columns of data or unusual placement issues. Keep in mind that using tables and CSS can make it difficult for other users to edit the page in the future. | ||
+ | |||
+ | ===Variables=== | ||
+ | |||
+ | Variables are similar to templates, but are built into the wiki software. Here is a list of common variables: | ||
+ | |||
+ | {| cellspacing=0 cellpadding=5 style="font-size:11px;border:solid 1px #999;" | ||
+ | |- | ||
+ | ! Code | ||
+ | ! Effect | ||
+ | |- | ||
+ | | <nowiki>{{CURRENTMONTH}}</nowiki> || {{CURRENTMONTH}} | ||
+ | |- | ||
+ | | <nowiki>{{CURRENTMONTHNAME}}</nowiki> | ||
+ | | {{CURRENTMONTHNAME}} | ||
+ | |- | ||
+ | | <nowiki>{{CURRENTMONTHNAMEGEN}}</nowiki> | ||
+ | | {{CURRENTMONTHNAMEGEN}} | ||
+ | |- | ||
+ | | <nowiki>{{CURRENTDAY}}</nowiki> || {{CURRENTDAY}} | ||
+ | |- | ||
+ | | <nowiki>{{CURRENTDAYNAME}}</nowiki> || {{CURRENTDAYNAME}} | ||
+ | |- | ||
+ | | <nowiki>{{CURRENTYEAR}}</nowiki> || {{CURRENTYEAR}} | ||
+ | |- | ||
+ | | <nowiki>{{CURRENTTIME}}</nowiki> || {{CURRENTTIME}} | ||
+ | |- | ||
+ | | <nowiki>{{NUMBEROFARTICLES}}</nowiki> | ||
+ | | {{NUMBEROFARTICLES}} | ||
+ | |- | ||
+ | | <nowiki>{{PAGENAME}}</nowiki> || {{PAGENAME}} | ||
+ | |- | ||
+ | | <nowiki>{{NAMESPACE}}</nowiki> || {{NAMESPACE}} | ||
+ | |- | ||
+ | | <nowiki>{{localurl:pagename}}</nowiki> | ||
+ | | {{localurl:pagename}} | ||
+ | |- | ||
+ | | <nowiki>{{SERVER}}</nowiki> || {{SERVER}} | ||
+ | |- | ||
+ | | <nowiki>{{ns:1}}</nowiki> || {{ns:1}} | ||
+ | |- | ||
+ | | <nowiki>{{ns:2}}</nowiki> || {{ns:2}} | ||
+ | |- | ||
+ | | <nowiki>{{ns:3}}</nowiki> || {{ns:3}} | ||
+ | |- | ||
+ | | <nowiki>{{ns:4}}</nowiki> || {{ns:4}} | ||
+ | |- | ||
+ | | <nowiki>{{ns:5}}</nowiki> || {{ns:5}} | ||
+ | |- | ||
+ | | <nowiki>{{ns:6}}</nowiki> || {{ns:6}} | ||
+ | |- | ||
+ | | <nowiki>{{ns:7}}</nowiki> || {{ns:7}} | ||
+ | |- | ||
+ | | <nowiki>{{ns:8}}</nowiki> || {{ns:8}} | ||
+ | |- | ||
+ | | <nowiki>{{ns:9}}</nowiki> || {{ns:9}} | ||
+ | |- | ||
+ | | <nowiki>{{ns:10}}</nowiki> || {{ns:10}} | ||
+ | |- | ||
+ | | <nowiki>{{ns:11}}</nowiki> || {{ns:11}} | ||
+ | |- | ||
+ | | <nowiki>{{ns:12}}</nowiki> || {{ns:12}} | ||
+ | |- | ||
+ | | <nowiki>{{ns:13}}</nowiki> || {{ns:13}} | ||
+ | |- | ||
+ | | <nowiki>{{ns:14}}</nowiki> || {{ns:14}} | ||
+ | |- | ||
+ | | <nowiki>{{ns:15}}</nowiki> || {{ns:15}} | ||
+ | |- | ||
+ | | <nowiki>{{SITENAME}}</nowiki> || {{SITENAME}} | ||
+ | |} | ||
+ | |||
+ | '''NUMBEROFARTICLES''' is the number of pages in the main namespace which contain a link and are not a redirect, in other words number of articles, stubs containing a link, and disambiguation pages. | ||
+ | |||
+ | '''CURRENTMONTHNAMEGEN''' is the genitive (possessive) grammatical form of the month name, as used in some languages; '''CURRENTMONTHNAME''' is the nominative (subject) form, as usually seen in English. | ||
+ | |||
+ | ===Hiding the edit links=== | ||
+ | Insert <nowiki>__NOEDITSECTION__</nowiki> into the document to suppress the edit links that appear next to every section header. | ||
+ | |||
+ | ==Where to go from here== | ||
+ | {{help}} | ||
[[Category:Thelemapedia]] | [[Category:Thelemapedia]] |
Current revision
The wiki markup is the syntax system you can use to format a Thelemapedia page. It is designed to be simple and quick to use. You are welcome to experiment with markup in the Temp Zone.
Table of contents |
1.1 Section Headings |
Text
Section Headings
What you see | What you type | Notes |
New sectionSub-header 1Sub-header 2Sub-header 3 |
==New section== |
|
Bold and italic
What you see | What you type | Notes |
Italic Bold Bold italic |
''Italic'' (2 apostrophes) '''Bold''' (3 apostrophes) '''''Bold italic''''' (5 apostrophes) |
|
Paragraphs
What you see | What you type | Notes |
A single newline (hitting the return/enter key once) generally has no effect on the layout. But an empty line (hitting the return/enter key twice) starts a new paragraph. |
A single newline But an empty line (hitting the return/enter key twice) starts a new paragraph. |
|
You can break lines |
You can break lines<br/>without starting a new paragraph. |
|
Sometimes it is useful to indent an entire paragraph.
|
Sometimes it is useful to indent an entire paragraph. |
|
You can also seperate blocks of text: It is easy using the blockquote html tag, which indents both margins instead of the left margin only as the colon does. |
<blockquote>It is easy using the '''blockquote''' html tag, which indents both margins instead of the left margin only as the colon does.</blockquote> |
|
If a line starts with one |
If a line starts with one |
|
Lists
What you see | What you type | Notes |
A newline in a list marks the end of a list item.
|
* Lists are easy to do: |
|
A newline in a list marks the end of a numbered list.
| # Numbered lists are easy to do: # Start every line with a number sign. ## More number signs means # deeper levels. A newline in a list marks the end of a numbered list. # An empty line starts a new list. |
|
| * You can even do mixed lists *# and nest them *#* like this # Or starting with #* a numbered list #*# like this |
|
| ; Definition list : list of definitions ; item : the item's definition ; another item : the other item's definition : another definition |
|
Character formatting
For special characters in Hebrew and Greek, see the Characters page.
What you see | What you type | Notes |
À Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï Ñ Ò Ó Ô Õ Ö Ø Ù Ú Û Ü ß à á â ã ä å æ ç è é ê ë ì í î ï ñ ò ó ô œ õ ö ø ù ú û ü ÿ |
À Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï Ñ Ò Ó Ô Õ Ö Ø Ù Ú Û Ü ß à á â ã ä å æ ç è é ê ë ì í î ï ñ ò ó ô œ õ ö ø ù ú û ü ÿ | |
Punctuation:¿ ¡ § ¶ † ‡ • – — ‹ › « » ‘ ’ “ ”Commercial symbols: ™ © ® ¢ € ¥ £ ¤ |
¿ ¡ § ¶ † ‡ • – — ‹ › « » ‘ ’ “ ” ™ © ® ¢ € ¥ £ ¤ | |
Subscripts: x1 x2 x3 Superscripts: x1 x2 x3 |
x<sub>1</sub> x<sub>2</sub> x<sub>3</sub>
|
Other formatting
What you see | What you type | Notes |
Centering text on the page is easy: Just use the center tag.
|
Centering text on the page is easy: <center>Just use the '''center''' tag.</center> |
|
It is easy to make text really small using the small tag. |
It is easy to make text <small>really small using the small tag.</small> |
|
You can draw a single line with four dashes. |
You can draw a single line |
|
It is possible to suppress the expression of code. For example, if you want to show code formatting. So, '''bold''' would show up as '''bold''' and not bold. |
So, <nowiki>'''bold'''</nowiki> would show up as <nowiki>'''bold'''</nowiki> and not '''bold'''. |
|
You can leave a comment within the editing code that doesn't show up on the page. |
<!-- comment here --> |
|
You can |
You can <s>strike out deleted material</s> and <u>underline new material</u>. |
|
Links
What you see | What you type | Notes |
Internal linking is easy: just use two brackets on either side of a word or phrase, eg. Astral projection. |
Internal linking is easy: just use two brackets on either side of a word or phrase, eg. [[Astral projection]]. |
|
It is possible to have a link target a page using different text. Eg. Some can travel astrally. | Some can [[Astral projection|travel astrally]]. (Text shows up as "travel astrally" but links to the page called "Astral projection") |
|
If red, it is a link to a page that doesn't yet exist. |
If red, [[it is a link]] to a page that doesn't yet exist. |
|
You can blend endings onto links: "There are many types of sigils" |
There are many types of [[sigil]]s |
|
Alchemy#Overview is a link to a section within another page. #Other formatting is a link to a section on the current page. #example is a link to an anchor that was created using an "id" attribute. | [[Alchemy#Overview]] is a link to a section within another page. [[#Other formatting]] is a link to a section on the current page. [[#example]] is a link to an anchor that was created using an "id" attribute |
|
Automatically hide stuff in parentheses: The Fool. Automatically hide namespace: Really Simple Tutorial. Or both: Really Simple Tutorial But not: [[Thelemapedia:Really Simple Tutorial (the basics)#Editing a page|]] |
[[The Fool (tarot)|]].
|
|
It is possible to have a page redirect to another page. For example, Scarlet Woman redirects the browser to Babalon. |
The code on the redirection page (say, "Scarlet Woman") is: #REDIRECT [[Babalon]] |
|
Special pages can be linked to easily: What links here: Special:Whatlinkshere/Thelemapedia:Really Simple Tutorial Related changes: Special:Recentchangeslinked/Thelemapedia:Really Simple Tutorial User's Contributions page: Special:Contributions/Ash |
[[Special:Whatlinkshere/Thelemapedia:Really Simple Tutorial]] [[Special:Recentchangeslinked/Thelemapedia:Really Simple Tutorial]] [[Special:Contributions/Ash]] |
|
Three ways to link to external (non-wiki) sources:
|
http://www.nupedia.com/ [http://www.nupedia.com/] [http://www.nupedia.com Nupedia] |
|
It's also easy to link to an email address: bare address: named email address: |
[mailto:bob@anywhere.com] [mailto:bob@anywhere.com email me] |
|
Images
What you see | What you type | Notes |
An image: |
[[Image:mushroom.jpg]] |
|
Image floats right: Here is some text to show how it relates to the image. |
[[Image:Mushroom.jpg|right]] |
|
Image floats left: Here is some text to show how it relates to the image. |
[[Image:Mushroom.jpg|left]] |
|
Image with alternative text: |
[[Image:Mushroom.jpg|mushroom]] |
|
Image with a frame and caption: Here is some text to show how it relates to the image. |
[[Image:Mushroom.jpg|frame|Mushroom]] |
|
Image doesn't float: Here is some text to show how it relates to the image. |
Here is some text to show [[Image:Mushroom.jpg|none]] how it relates to the image. |
|
Resizing an image (centered):
|
[[Image:Mushroom.jpg|50px|center]] |
|
Making a thumbnail |
[[Image:Mushroom.jpg|thumb|85px|'shroom]] |
|
Other items
Signature
Your signature: you can leave your signature on discussion pages by typing 3 tildas (~~~) for just your username, or 4 tildas (~~~~) if you want to add a time stamp. Both will create a link to your user page. For example: —Fr. Ash— 16:53, 5 Jul 2005 (CDT)
Five tildas will just leave a time stamp: 16:53, 5 Jul 2005 (CDT)
Note: please do not sign articles. Keep signatures in the talk pages.
Templates
Templates are used to add recurring messages to pages in a consistent way, to add boilerplate messages, to create navigational boxes and to provide cross-language portability of texts. Any page that begins with "Template:"—such as Template:Example1—becomes a template anyone can use. The content of a template can be added to a page by typing {{templatename}}.
For example, any page that includes the code {{Example1}} will display the following:
You can create a new template by typing the following into your browser's address bar:
http://www.thelemapedia.org/index.php/Template:Templatename
Common templates used in many articles are:
- {{stub}}: used for very short pages with only a few lines of text
- {{thelema}}: used when an otherwise complete article needs information within the context of Thelema
- {{partial}}: these articles are too long to be a stub but are still missing vital information
Here is a list of other Thelemapedia templates.
Categories
To add any page to a category, simply type [[Category:Category name]] at the very bottom of the article (it doesn't have to be at the bottom, but it is recommended). This will automatically add that page to the category listing and a link will be created at the bottom of the article.
Pages can belong to multiple categories. For example, the article Thelema belongs to Category:Thelema and Category:Numbers. The code looks like this:
[[Category:Thelema]] [[Category:Numbers]]
Here is a list of all Thelemapedia categories. If there isn't an existing category for an article, when you add the category code at the bottom, it automatically creates that category. Note that, although "uncreated" categories will correctly list articles that have been assigned to them, the category page itself does not exist until it is manually created. The easiest way to create the category page is to follow the edit link from an article and add a parent category and a category description.
You can link to a category page within an article by adding a colon: eg. [[:Category:Thelema]] = Category:Thelema.
Table of contents
You can force a table of contents to show up anywhere on a page by typing __TOC__. You can also force a page not to show a table of contents by adding __NOTOC__ anywhere on the page.
You can keep a header out of the Table of Contents by using the <h> tags instead of equal signs. Examples:
- <h2>Header 2</h2> instead of ==Header 2==
- <h3>Header 3</h3> instead of ===Header 3===
- <h4>Header 4</h4> instead of ====Header 4====
- <h5>Header 5</h5> instead of =====Header 5=====
Compact TOC
Where you have a large number of very short headings (such as letters of the alphabet) you can get a very long table of contents. An alternative is a compact table of contents, which you can achieve by inserting the following text:
{{compactTOC}} __NOTOC__
which looks like this:
Table of Contents: Top - 0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z |
Layout
It is possible to have more sophisticated design on wiki articles by using tables and CSS (cascading style sheets).
Tables should not be used for simple lists, but rather for instances such as complex columns of data or unusual placement issues. Keep in mind that using tables and CSS can make it difficult for other users to edit the page in the future.
Variables
Variables are similar to templates, but are built into the wiki software. Here is a list of common variables:
Code | Effect |
---|---|
{{CURRENTMONTH}} | 11 |
{{CURRENTMONTHNAME}} | November |
{{CURRENTMONTHNAMEGEN}} | November |
{{CURRENTDAY}} | 23 |
{{CURRENTDAYNAME}} | Saturday |
{{CURRENTYEAR}} | 2024 |
{{CURRENTTIME}} | 12:59 |
{{NUMBEROFARTICLES}} | 902 |
{{PAGENAME}} | Wiki Markup |
{{NAMESPACE}} | Thelemapedia |
{{localurl:pagename}} | /index.php/Pagename |
{{SERVER}} | http://thelemapedia.org |
{{ns:1}} | Talk |
{{ns:2}} | User |
{{ns:3}} | User_talk |
{{ns:4}} | Thelemapedia |
{{ns:5}} | Thelemapedia_talk |
{{ns:6}} | Image |
{{ns:7}} | Image_talk |
{{ns:8}} | MediaWiki |
{{ns:9}} | MediaWiki_talk |
{{ns:10}} | Template |
{{ns:11}} | Template_talk |
{{ns:12}} | Help |
{{ns:13}} | Help_talk |
{{ns:14}} | Category |
{{ns:15}} | Category_talk |
{{SITENAME}} | Thelemapedia |
NUMBEROFARTICLES is the number of pages in the main namespace which contain a link and are not a redirect, in other words number of articles, stubs containing a link, and disambiguation pages.
CURRENTMONTHNAMEGEN is the genitive (possessive) grammatical form of the month name, as used in some languages; CURRENTMONTHNAME is the nominative (subject) form, as usually seen in English.
Hiding the edit links
Insert __NOEDITSECTION__ into the document to suppress the edit links that appear next to every section header.
Where to go from here
- Where to start Read this if you are having trouble with getting started
- Really Simple Tutorial A friendly guide to all the basics
- Editorial Policy Basic policies regarding content and behavior on Thelemapedia
- How to Contribute A quick start primer for adding content to Thelemapedia
- Wiki Markup Full list of all the formatting code, including text, images, sections, and links
- Article Basics Find out how to write a great article
- Common Sources How to cite sources (including short libers), and a list of common books in reference format
- Projects Page List of needed articles organized by general topic
- What Thelemapedia is not
- Thelemapedia Power Structure Who's in charge
- Characters How to use Greek and Hebrew letters in your article
- Using Images How to upload and use images in your Thelemapedia articles
- Dispute Resolution What to do when the fighting breaks out
- List of boilerplate templates Automatic text messages, like the "stub" line
- Comprehensive Wikipedia Help Pages (http://en.wikipedia.org/wiki/Help:Contents) Everything there is to know about using a wiki