Post by BonzaiRob on Feb 27, 2008 17:00:56 GMT
There's a link above, "wiki", to the wikidex. First, go there.
This is a wiki. This tutorial will be somewhat erratic, but I'll go over some basic things about them:
At the top of most pages, you'll see a bar like this:
This is how you do things to a wiki. Article pages aren't just limited to article information; as well as the main article, there is the Talk page (discussion), the Edit page (edit) and edit history. To edit a page, click on edit; to discuss the contents click on discussion.
You can type in HTML, or just normally if you prefer. Wikis also have some coding of their own, but it's easy to learn. Most basic changes are made with apostrophes . (')
''Italic text'' = Italic text
'''Bold text''' = Bold text
'''''Bold italic text''''' = Bold italic text
(Why there is nothing for four, I don't know).
There are some more advanced stuff you can do, like tables, but I won't be covering that here. However, the main thing I'd like to talk about here is Templates.
Templates
These are pretty much a way of including one page inside another. They are linked together by my friend, the curly brace: {}.
This is where it may start to get confusing. Wikis have something called Namespace, which you will come across with User pages. Most articles are in teh 'Main' namespace, but anything with a colon in is it's own space. User pages are in the User namespace, and Templates get their own too.
Let's have a look at a simple template I made, that writes the pokémon money symbol (pokeyen, pokebucks, whatever it's called). Forget what's in the template for now; If you go to Template:P on the wiki, you should see it there. If you click Edit, there's the CSS that makes everything happen, but it's really just a P and an equals sign stuck together.
If you go to your user page (sign up first please), then edit it, you get what you get whenever you edit a blank wiki page, which is a big text box. If you type {{P}} n there, then click Show Preview, you should see the pokebucks sign in all it's glory.
Now, just for some rewards, edit that {{P}} again, and change it to {{Tutorial1}}. Now you have a little badge to put on your user page. Save the change to your user page
Being able to just include other pages wouldn't be very useful on its own, however; we have to be able to change that info for it to look any good. Thus, templates often have values that can be changed. For the next part of the tutorial, copy/paste that {{Tutorial1}} so that you now have {{Tutorial1}}{{Tutorial2}}, and either save changes or show preview. You should have added something with a {{{name}}} in the middle of it; that's all right.
Now, along with the curly braces, we have a new friend: the pipe. That's this: |
What the pipe does is separate data. Inside Tutorial2, make it look like this: {{Tutorial2 | name=n00b}} (you can replace n00b with your name if you want). Save again; Another badge!
Now for the last badge, but this one is a bit more interesting. Most people have a favourite type; alongside the other two, add Tutorial3. Make it look like this: {{Tutorial3| name=n00b | type=Steel}}
It's important that the type starts with a capital letter. Save or show preview, and there you have it, your final badge. or is it? Change type to whatever you like, and you can also add a type2...
I hope this makes templates a bit easier to understand, if only for using them rather than making them. You can see the tutorial templates, and look at the source code here: Tutorial1, Tutorial2, Tutorial3. The reason you can only 'view source' instead of edit is that the pages are protected, meaning only admins can edit them. This is just to prevent accidents for anyone using the tutorial, that's all.
If you get stuck, or confused, or you just want to see, you can o to my user page to see what the badges should look like.
The Next Step
Take a look at some pokémon by editing them; see how we used the templates, and try to replicate it with another pokémon who hasn't been made yet. To make a new page, you type it in the URL box where the current pokémon's name is. It will probably say something like "This page has not been created yet"; you're about to create it. You can do the same with moves, but not items or berries just yet.
If you change something or screw up one of the existing pokémon, don't worry; just tell us here, and we can revert the edit. Wikis keep a record of all edits made, so it's easy to undo mistakes.
If you want to make a little cameo for yourself, please use the Template on TropiusLover's page; Iif you do some nifty work for us, that uncomfirmed cameo might turn into a real one.
Comments or questions? Just reply.
This is a wiki. This tutorial will be somewhat erratic, but I'll go over some basic things about them:
At the top of most pages, you'll see a bar like this:
This is how you do things to a wiki. Article pages aren't just limited to article information; as well as the main article, there is the Talk page (discussion), the Edit page (edit) and edit history. To edit a page, click on edit; to discuss the contents click on discussion.
You can type in HTML, or just normally if you prefer. Wikis also have some coding of their own, but it's easy to learn. Most basic changes are made with apostrophes . (')
''Italic text'' = Italic text
'''Bold text''' = Bold text
'''''Bold italic text''''' = Bold italic text
(Why there is nothing for four, I don't know).
There are some more advanced stuff you can do, like tables, but I won't be covering that here. However, the main thing I'd like to talk about here is Templates.
Templates
These are pretty much a way of including one page inside another. They are linked together by my friend, the curly brace: {}.
This is where it may start to get confusing. Wikis have something called Namespace, which you will come across with User pages. Most articles are in teh 'Main' namespace, but anything with a colon in is it's own space. User pages are in the User namespace, and Templates get their own too.
Let's have a look at a simple template I made, that writes the pokémon money symbol (pokeyen, pokebucks, whatever it's called). Forget what's in the template for now; If you go to Template:P on the wiki, you should see it there. If you click Edit, there's the CSS that makes everything happen, but it's really just a P and an equals sign stuck together.
If you go to your user page (sign up first please), then edit it, you get what you get whenever you edit a blank wiki page, which is a big text box. If you type {{P}} n there, then click Show Preview, you should see the pokebucks sign in all it's glory.
Now, just for some rewards, edit that {{P}} again, and change it to {{Tutorial1}}. Now you have a little badge to put on your user page. Save the change to your user page
Being able to just include other pages wouldn't be very useful on its own, however; we have to be able to change that info for it to look any good. Thus, templates often have values that can be changed. For the next part of the tutorial, copy/paste that {{Tutorial1}} so that you now have {{Tutorial1}}{{Tutorial2}}, and either save changes or show preview. You should have added something with a {{{name}}} in the middle of it; that's all right.
Now, along with the curly braces, we have a new friend: the pipe. That's this: |
What the pipe does is separate data. Inside Tutorial2, make it look like this: {{Tutorial2 | name=n00b}} (you can replace n00b with your name if you want). Save again; Another badge!
Now for the last badge, but this one is a bit more interesting. Most people have a favourite type; alongside the other two, add Tutorial3. Make it look like this: {{Tutorial3| name=n00b | type=Steel}}
It's important that the type starts with a capital letter. Save or show preview, and there you have it, your final badge. or is it? Change type to whatever you like, and you can also add a type2...
I hope this makes templates a bit easier to understand, if only for using them rather than making them. You can see the tutorial templates, and look at the source code here: Tutorial1, Tutorial2, Tutorial3. The reason you can only 'view source' instead of edit is that the pages are protected, meaning only admins can edit them. This is just to prevent accidents for anyone using the tutorial, that's all.
If you get stuck, or confused, or you just want to see, you can o to my user page to see what the badges should look like.
The Next Step
Take a look at some pokémon by editing them; see how we used the templates, and try to replicate it with another pokémon who hasn't been made yet. To make a new page, you type it in the URL box where the current pokémon's name is. It will probably say something like "This page has not been created yet"; you're about to create it. You can do the same with moves, but not items or berries just yet.
If you change something or screw up one of the existing pokémon, don't worry; just tell us here, and we can revert the edit. Wikis keep a record of all edits made, so it's easy to undo mistakes.
If you want to make a little cameo for yourself, please use the Template on TropiusLover's page; Iif you do some nifty work for us, that uncomfirmed cameo might turn into a real one.
Comments or questions? Just reply.