[Main Page] Main Page | Recent changes | Edit this page | Page history

Printable version | #REDIRECT [[Thelemapedia:Disclaimers]] | Current revision

Not logged in
Log in | Help
 

Thelemapedia:Wiki Markup

(Difference between revisions)

Revision as of 01:36, 5 Jul 2005
Ash (Talk | contribs)
Revision as of 02:05, 5 Jul 2005
Ash (Talk | contribs)
even more...not done yet!
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]].
- 
-<code>A typewriter font for monospace text or for computer code: int main()</code> 
==Text== ==Text==
Line 193: Line 191:
===Character formatting=== ===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>
 +&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;</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>
 +&amp;Agrave; &amp;Aacute; &amp;Acirc; &amp;Atilde; &amp;Auml; &amp;Aring;
 +&amp;AElig; &amp;Ccedil; &amp;Egrave; &amp;Eacute; &amp;Ecirc; &amp;Euml;
 +&amp;Igrave; &amp;Iacute; &amp;Icirc; &amp;Iuml; &amp;Ntilde; &amp;Ograve;
 +&amp;Oacute; &amp;Ocirc; &amp;Otilde; &amp;Ouml; &amp;Oslash; &amp;Ugrave;
 +&amp;Uacute; &amp;Ucirc; &amp;Uuml; &amp;szlig; &amp;agrave; &amp;aacute;
 +&amp;acirc; &amp;atilde; &amp;auml; &amp;aring; &amp;aelig; &amp;ccedil;
 +&amp;egrave; &amp;eacute; &amp;ecirc; &amp;euml; &amp;igrave; &amp;iacute;
 +&amp;icirc; &amp;iuml; &amp;ntilde; &amp;ograve; &amp;oacute; &amp;ocirc;
 +&amp;oelig; &amp;otilde; &amp;ouml; &amp;oslash; &amp;ugrave; &amp;uacute;
 +&amp;ucirc; &amp;uuml; &amp;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>
 +&amp;iquest; &amp;iexcl; &amp;sect; &amp;para;
 +&amp;dagger; &amp;Dagger; &amp;bull; &amp;ndash; &amp;mdash;
 +&amp;lsaquo; &amp;rsaquo; &amp;laquo; &amp;raquo;
 +&amp;lsquo; &amp;rsquo; &amp;ldquo; &amp;rdquo;
 +</nowiki></pre><br/>
 +<pre style="font-family:courier,mono;font-size:10px;line-height:15px;"><nowiki>
 +&amp;trade; &amp;copy; &amp;reg; &amp;cent; &amp;euro; &amp;yen;
 +&amp;pound; &amp;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=== ===Other formatting===
Line 235: Line 304:
<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;">
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'''. 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;"> </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, &lt;nowiki&gt;'''bold'''&lt;/nowiki&gt; would show up as &lt;nowiki&gt;'''bold'''&lt;/nowiki&gt; and not '''bold'''.</nowiki> <nowiki>So, &lt;nowiki&gt;'''bold'''&lt;/nowiki&gt; would show up as &lt;nowiki&gt;'''bold'''&lt;/nowiki&gt; and not '''bold'''.</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;"><small
-<small></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> </td></tr>
Line 261: Line 338:
===Templates=== ===Templates===
===Categories=== ===Categories===
 +===Table of contents===
[[Category:Thelemapedia]] [[Category:Thelemapedia]]

Revision as of 02:05, 5 Jul 2005

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

Text

Section Headings

What you see What you type Notes

New section

Sub-header 1

Sub-header 2

Sub-header 3

==New section==
===Sub-header 1===
====Sub-header 2====
=====Sub-header 3=====

  • A Table of Contents will automatically be added to an article that has four or more sections.
  • Typing __NOTOC__ anywhere in the article will force the TOC not to appear.

Bold and italic

What you see What you type Notes

Bold

Italic

Bold italic

''Italic'' (2 apostrophes)

'''Bold''' (3 apostrophes)

'''''Bold italic''''' (5 apostrophes)

  • Use the apostrophe key, not the quotes key.

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
(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.

  • When used in a list, a newline does affect the layout (see below).

You can break lines
without starting a new paragraph.

You can break lines<br/>without starting a new paragraph.

  • Please use this technique sparingly.

Sometimes it is useful to indent an entire paragraph.

A colon at the beginning of the first line will indent the remaining paragraph.

Sometimes it is useful to indent an entire paragraph.
:A colon at the beginning of the first line will indent the remaining paragraph.

  • 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.

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>

  • The colon method is generally preferred, but this technique works well when the right needs to be indented as well.

If a line starts with one
 or more spaces then
   it will be formatted exactly
     as typed;
  lines will not    wrap;

If a line starts with one
 or more spaces then
   it will be formatted exactly
     as typed;
  lines will not    wrap;

  • WARNING: If you make a line too long, it will force the whole page to be wide. Never start ordinary lines with spaces.
  • This technique is good for things like poetry.
  • More spaces = more indention

Lists

What you see What you type Notes
  • 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.

* 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.

  • This is used under the References and External links sections.
  1. Numbered lists are easy to do:
  2. Start every line with a number sign.
    1. More number signs means
  3. deeper levels.

A newline in a list marks the end of a numbered list.

  1. An empty line starts a new 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
    1. and nest them
      • like this

  1. Or starting with
    • a numbered list
      1. like this
* 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
; 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
À Á Â Ã Ä Å 
Æ Ç È É Ê Ë 
Ì Í Î Ï Ñ Ò 
Ó Ô Õ Ö Ø Ù 
Ú Û Ü ß à á 
â ã ä å æ ç 
è é ê ë ì í
î ï ñ ò ó ô 
œ õ ö ø ù ú 
û ü ÿ
&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;
Punctuation:
¿ ¡ § ¶
† ‡ • – —
‹ › « »
‘ ’ “ ”
Commercial symbols:
™ © ® ¢ € ¥
£ ¤
&iquest; &iexcl; &sect; &para;
&dagger; &Dagger; &bull; &ndash; &mdash;
&lsaquo; &rsaquo; &laquo; &raquo;
&lsquo; &rsquo; &ldquo; &rdquo;

&trade; &copy; &reg; &cent; &euro; &yen; 
&pound; &curren;

Subscripts: x1 x2 x3

Superscripts: x1 x2 x3

x<sub>1</sub> x<sub>2</sub> x<sub>3</sub>

x<sup>1</sup> x<sup>2</sup> x<sup>3</sup>

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>

  • For advanced users, centering can also be done within table cells and using manual CSS, like in a <div>

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>

  • This is good for captions and instances like this one.
  • Avoid using small text for the main body copy in an article

You can draw a single line


with four dashes.

You can draw a single line
----
with four dashes.

  • This only works when the dashes are drawn on their own space. Within text, they will render as dashes.

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'''.

  • Escape all wiki markup, including that which looks like HTML tags.
  • Does not escape HTML character references.

You can leave a comment within the editing code that doesn't show up on the page.

<!-- comment here -->

  • Used to leave comments in a page for future editors.

You can strike out deleted material and underline new material.

You can <s>strike out deleted material</s> and <u>underline new material</u>.

  • Generally, this should not be used in main articles. It can be useful on discussion pages.

Links

Images

Other items

Signature

Templates

Categories

Table of contents