Thelemapedia:Really Simple Tutorial (more formatting)
(Difference between revisions)
Revision as of 20:49, 1 Jul 2005 Ash (Talk | contribs) more code |
Revision as of 20:59, 1 Jul 2005 Ash (Talk | contribs) |
||
Line 1: | Line 1: | ||
+ | Once again, you are encouraged to open up the [[Temp Zone]] in a seperate browser window so you can experiment with what you learn here. | ||
+ | __NOTOC__ | ||
==Category system== | ==Category system== | ||
Line 34: | Line 36: | ||
==Different alphabets== | ==Different alphabets== | ||
- | Within Thelema and magick, it is common to see other alphabet used, such as greek and hebrew. There are special codes that allow you to use these letterforms. You can find out more in [[Thelemapedia:Characters]]. | + | Within Thelema and magick, it is common to see other alphabets used, such as greek and hebrew. There are special codes that allow you to use these letterforms. You can find out more in [[Thelemapedia:Characters]]. |
==HTML and CSS in articles== | ==HTML and CSS in articles== | ||
+ | |||
+ | To a large degree, you can use HTML and CSS (cascading style sheets) in Thelemapedia articles. Generally speaking, it is better to use wiki markup over HTML when there is an option (for example, it is better to use <nowiki>'''bold'''</nowiki> rather than <nowiki><b>bold</b></nowiki>). Also, the wiki fully supports the use of tables, although these should be used carefully and only when normal wiki markup isn't satisfactory for the job. | ||
==Using images== | ==Using images== | ||
Line 80: | Line 84: | ||
Here is some example text to show how the image interacts with a body of text. I'll just keep repeating this text so that it will form a paragraph. I could use the standard greek, but I don't like the way that reads, so I'll use this technique of babbling along. | Here is some example text to show how the image interacts with a body of text. I'll just keep repeating this text so that it will form a paragraph. I could use the standard greek, but I don't like the way that reads, so I'll use this technique of babbling along. | ||
+ | |||
+ | [[Thelemapedia:Really Simple Tutorial (content)]] |
Revision as of 20:59, 1 Jul 2005
Once again, you are encouraged to open up the Temp Zone in a seperate browser window so you can experiment with what you learn here.
Category system
The Thelemapedia wiki software has a neat function that makes creating categories very easy. To add any page to a category, simply type [[Category:Category name]] at the very bottom of the article. 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 as explained below.
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.
Other wiki markup
- Your signature: you can leave your signature on talk pages by typing 3 tildas (~~~) for just your username or 4 tildas (~~~~) if you want to add a time stamp. This will create a link to your user page. For example: —Fr. Ash— 15:49, 1 Jul 2005 (CDT). Note: please do not sign articles.
- Lines: you can make a single line by typing four dashes (----) on its own line (i.e. not within text)
- Showing code: Any code written within the tags <nowiki></nowiki> will show up as the code itself. Example: <nowiki>[[Thelema]]</nowiki> will show up as [[Thelema]], not Thelema.
- Small text: text inside the <small></small> tags will display much smaller. Example: Here is some small text.
- 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.
- Hiding the edit links: Insert __NOEDITSECTION__ into the document to suppress the edit links that appear next to every section header.
Different alphabets
Within Thelema and magick, it is common to see other alphabets used, such as greek and hebrew. There are special codes that allow you to use these letterforms. You can find out more in Thelemapedia:Characters.
HTML and CSS in articles
To a large degree, you can use HTML and CSS (cascading style sheets) in Thelemapedia articles. Generally speaking, it is better to use wiki markup over HTML when there is an option (for example, it is better to use '''bold''' rather than <b>bold</b>). Also, the wiki fully supports the use of tables, although these should be used carefully and only when normal wiki markup isn't satisfactory for the job.
Using images
Using images is fairly easy. First, you must upload an image, which you can do from the "toolbox" on the left (click on "Upload file"). Before you upload an image, make sure that either: you own the image; that it is in the public domain; or that the copyright holder has agreed to license it under the GFDL. Please follow the copyright notice instructions on the upload page.
Plain image with no formatting
[[Image:Mushroom.jpg]]
Here is some example text to show how the image interacts with a body of text. I'll just keep repeating this text so that it will form a paragraph. I could use the standard greek, but I don't like the way that reads, so I'll use this technique of babbling along.
Float right
[[Image:Mushroom.jpg|right]]
Here is some example text to show how the image interacts with a body of text. I'll just keep repeating this text so that it will form a paragraph. I could use the standard greek, but I don't like the way that reads, so I'll use this technique of babbling along.
Float left
[[Image:Mushroom.jpg|left]]
Here is some example text to show how the image interacts with a body of text. I'll just keep repeating this text so that it will form a paragraph. I could use the standard greek, but I don't like the way that reads, so I'll use this technique of babbling along.Frame and a caption
[[Image:Mushroom.jpg|frame|Mushroom]]
It is common to show images with a frame and a caption describing the image. Here is some example text to show how the image interacts with a body of text. I'll just keep repeating this text so that it will form a paragraph. I could use the standard greek, but I don't like the way that reads, so I'll use this technique of babbling along.
Don't float
[[Image:Mushroom.jpg|none]]
Here is some example text to show how the image interacts with a body of text. I'll just keep repeating this text so that it will form a paragraph. I could use the standard greek, but I don't like the way that reads, so I'll use this technique of babbling along.Resizing
[[Image:Mushroom.jpg|50px]]
Here is some example text to show how the image interacts with a body of text. I'll just keep repeating this text so that it will form a paragraph. I could use the standard greek, but I don't like the way that reads, so I'll use this technique of babbling along.
Thumbnail
[[Image:Mushroom.jpg|thumb|85px|'shroom]]
Here is some example text to show how the image interacts with a body of text. I'll just keep repeating this text so that it will form a paragraph. I could use the standard greek, but I don't like the way that reads, so I'll use this technique of babbling along.