Help:Links: Difference between revisions

From Halopedia, the Halo wiki

(my last edit for some time, maybe forever. i had fun here, but now i must take my leave. goodbye Halopedia!!!)
m (;))
Line 3: Line 3:
====Internal Links====
====Internal Links====
To do an internal link, you simply put the name of the page inside of two pairs of brackets. For example, to link to the article about the Plasma Pistol, you do the following: <nowiki>[[Plasma Pistol]]</nowiki>, and you get: [[Plasma Pistol]].
To do an internal link, you simply put the name of the page inside of two pairs of brackets. For example, to link to the article about the Plasma Pistol, you do the following: <nowiki>[[Plasma Pistol]]</nowiki>, and you get: [[Plasma Pistol]].
====Inter-wiki Links====
====Inter-wiki Links====
Interwiki links link from one wiki to another. For instance, to link to the [[w:c:Wii:Main Page|Wii Wiki]] article on the Wii from Halopedia, you do: <nowiki>[[w:c:Wii:Wii]]</nowiki>, and you get: [[w:c:Wii:Wii]]. To link to another wiki instead of Wii Wiki, simply replace the first Wii(after c:) with the word that goes before .wikia.com in the wiki's URL.
Interwiki links link from one wiki to another. For instance, to link to the [[w:c:Wii:Main Page|Wii Wiki]] article on the Wii from Halopedia, you do: <nowiki>[[w:c:Wii:Wii]]</nowiki>, and you get: [[w:c:Wii:Wii]]. To link to another wiki instead of Wii Wiki, simply replace the first Wii(after c:) with the word that goes before .wikia.com in the wiki's URL.
Line 15: Line 16:
To change the appearance of an internal link, just put a pipe(|) after the link, and then use HTML or wiki formatting to alter to your preference. Example:
To change the appearance of an internal link, just put a pipe(|) after the link, and then use HTML or wiki formatting to alter to your preference. Example:
<br>'''Before:'''<nowiki>[[Main Page]]</nowiki> -- [[Main Page]]
<br>'''Before:'''<nowiki>[[Main Page]]</nowiki> -- [[Main Page]]
<br>'''After:'''<nowiki>[[Main Page|Main Page]]</nowiki> -- [[Main Page|Main Page]]
<br>'''After:'''<nowiki>[[Main Page|Our homepage]]</nowiki> -- [[Main Page|Our homepage]]


===Inter-wiki Links===
===Inter-wiki Links===

Revision as of 08:10, June 19, 2007

Links can be used on Halopedia to, as their name suggests, link to other pages. There are both external(outside of wiki) and internal(inside wiki) links.

Internal Links

To do an internal link, you simply put the name of the page inside of two pairs of brackets. For example, to link to the article about the Plasma Pistol, you do the following: [[Plasma Pistol]], and you get: Plasma Pistol.

Inter-wiki Links

Interwiki links link from one wiki to another. For instance, to link to the Wii Wiki article on the Wii from Halopedia, you do: [[w:c:Wii:Wii]], and you get: w:c:Wii:Wii. To link to another wiki instead of Wii Wiki, simply replace the first Wii(after c:) with the word that goes before .wikia.com in the wiki's URL.

External Links

To make an external link, you copy the address of the web page you want to make a link to, and put it inside one pair of brackets. Example: [http://halo.wikia.com/wiki/Main_Page] makes [1], which sends you to Bungie.net.

Customizing Links

As you may have noticed, regular links look rather bland and unattractive. But it doesn't have to be that way. To learn more, read on. NOTE:a certain amount of HTML knowledge may be necessary to garner the desired results.

Internal Links

To change the appearance of an internal link, just put a pipe(|) after the link, and then use HTML or wiki formatting to alter to your preference. Example:
Before:[[Main Page]] -- Main Page
After:[[Main Page|Our homepage]] -- Our homepage

Inter-wiki Links

To customize inter-wiki links, use the same process as the one for internal links; putting a pipe after the link, and then how you want the link to appear afterwards.

External Links

For external links, no divider is necessary, simply a space after the link, and then the desired HTML, etc.