[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:Really Simple Tutorial (more formatting)

(Difference between revisions)

Revision as of 19:31, 1 Jul 2005
Ash (Talk | contribs)
images
Revision as of 20:02, 1 Jul 2005
Ash (Talk | contribs)
categories and templates
Line 1: Line 1:
images, templates, categories and more advanced formatting techniques images, templates, categories and more advanced formatting techniques
 +
 +
 +
 +==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 <nowiki>[[Category:Category name]]</nowiki> 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:<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 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 <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
 +
 +==Other wiki markup==
 +
 +Line
 +nowiki
 +
 +
 +==HTML and CSS in articles==
==Using images== ==Using images==
Line 42: Line 74:
<nowiki>[[Image:Mushroom.jpg|thumb|85px|'shroom]]</nowiki> <nowiki>[[Image:Mushroom.jpg|thumb|85px|'shroom]]</nowiki>
-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.
- +
-==Templates== +
- +
-==Category system== +
- +
-==HTML and CSS in articles==+

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:

Here is an example of a template.

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:

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]]

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.

right

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]]

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

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.
none
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]]

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.

'shroom
Enlarge
'shroom

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.