Help:Basic Wikicode

From Elanthipedia
Jump to navigation Jump to search

The basics of wikicode are not nearly as difficult as some people might imagine. The following guide is designed to help those who have no knowledge of any form of coding.

Links

If you want to make a clickable link to another page, surround the page name in brackets.

Example: "[[Barbarians]]" will produce the link Barbarians.

Now if it is necessary to display one piece of text, but link to another, the bracket should still be used, but after the desired page name, a pipe character "|" is added, then the display text added.

Example: "[[Barbarians|idiots]]" will produce the link idiots.

Now, if you want to get even more specific and link to a particular section of the page, you can use either of the previous methods and a # and the section name.

Example: "[[Barbarians#Roars|idiots]]" will produce the link idiots, that will link to the Barbarian page, and then scroll down to the Roars section.

Formatting

Italics: Place two apostrophes ('') on both sides of the text you want italicized.

Example: ''Look at this'' produces Look at this

Bold: Place three apostrophes (''') on both sides of the text you want bolded.

Underline: Place <u> in front of the text and </u> after it.

Example: <u>Look at this</u> produces Look at this

Headers

As you can see immediately above this line, there is a method to add section headers. Beyond just making the text look nice and neat, it also allows people to link to a specific section of the page.

Headers are produced by placing "== Header Name ==" on a line by itself. Starting with two equal signs, each additional one will cause the header to be a sub-header for the previous one. The same number of equal signs must be placed before and after.

If you wish to see the effect that these have on the table of contents, scroll up to the top and see.

Header Example

Sub-Header

Sub-Sub-Header

Sub-Sub-Sub-Header