Thelemapedia:Wiki Markup: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| 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 84: | Line 86: | ||
*This will work only with the colon at the beginning of a new line. Otherwise it will show up a regular colon. | *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> | </td></tr> | ||
| Line 182: | Line 193: | ||
===Character formatting=== | ===Character formatting=== | ||
===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;">'''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></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== | ==Links== | ||
| Line 188: | Line 258: | ||
==Other items== | ==Other items== | ||
===Signature=== | |||
===Templates=== | ===Templates=== | ||
===Categories=== | ===Categories=== | ||
[[Category:Thelemapedia]] | [[Category:Thelemapedia]] | ||
Revision as of 01:36, 5 July 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.
A typewriter font for monospace text or for computer code: int main()
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:
|
<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. |
|
| * You can even do mixed lists *# and nest them |
|
| ; Definition list : list of definitions ; item : the item's definition |
|
Character formatting
Other formatting
| What you see | What you type | Notes |
|
Centering text on the page is easy: |
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 |
You can <s>strike out deleted material</s> and <u>underline new material</u>. |
|