Thelemapedia:Really Simple Tutorial (more formatting)
(Revision as of 20:02, 1 Jul 2005)
images, templates, categories and more advanced formatting techniques
Table of contents |
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
Other wiki markup
Line nowiki
HTML and CSS in articles
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.