How to Wiki the Nika Way - HTML tags!

When making content for the wiki, you don't have to start with the usual HTML backbone which is:

/* <!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>


</body>
</html> */

In the wiki, the backbone is already set for you. The heading title is set. All you need to do is provide the body like my own page below. (Don't worry, you have yours too. Just click on your username :D)


Setting that aside... below, I will list down a few commonly used HTML tags in the wiki, and explain what they do.
  • <p></p> = The paragraph tags; these aren't usually necessary in the wiki backbone, but it can help when you're listing down a couple paragraphs under the same number
  • <table></table> = The table tags; these tags are the most used in the wiki, especially when it comes to listing down items, their descriptions, and other stuff required.
    • <tr></tr> = table row tags; commences a new row
    • <th></th> = table heading tags; goes inside the table row tags, used for column headings
    • <td></td> = table data tags; use this for the item names, descriptions, and other stuff
    • <caption></caption> = caption tags; goes right after the table opening tag ( <table> ) in case you want to add a caption to the table
  • <div></div> = used to divide the page into parts... simple as that
Here are examples of how the above tags are used.

(Main page, edited by Repin-chan, uses div tags)

(Specialty Equipment section, edited by Nika, uses table tags)

(Beginner's Guide, created and edited by Nika, uses p tags)


Along with that, there are attributes that can be placed inside the tags. You can see how I used <td align=center> in the Specialty Equipment section I showed you, right?

Here are the most commonly used attributes:

  • align = used to determine where to align the text within the tag. Could be right, left, center.
  • width = mostly used in the tables to determine how much of the body it should take up. That's for you to decide if it looks nice taking up the entire page or just a decent chunk of it.
  • border = used to set the borders on the tables; since this is the wiki, we just stick to border=1
  • id = labels the section in the body (look at the main page part); not necessary, but for the sake of neatness, we use it anyway :3
So I guess that's all you need to know for the HTML tags. You're not gonna use every tag that exists in HTML. Those should be enough. Next part is the wiki way of font styling and bullet listing.

Cheers!
~Nika

Comments

Popular Posts