Thelemapedia:Wiki Markup
(Difference between revisions)
Revision as of 20:46, 5 Jul 2005 Ash (Talk | contribs) dammit! |
Revision as of 21:53, 5 Jul 2005 Ash (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]]. | ||
+ | {{compactTOC}} | ||
==Text== | ==Text== | ||
Line 23: | 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> | ||
Line 587: | Line 589: | ||
==Other items== | ==Other items== | ||
===Signature=== | ===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=== | ||
+ | |||
+ | 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=== | ===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=== | ===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}}</nowiki> | ||
+ | |||
[[Category:Thelemapedia]] | [[Category:Thelemapedia]] |
Revision as of 21:53, 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: 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 |
Table of contents |
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 |
Bold Italic 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}}