Help:Links: Difference between revisions

From Halopedia, the Halo wiki

m (Protected "Help:Links" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
No edit summary
Line 1: Line 1:
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.
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====
====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====
====Interwiki links====
Interwiki links link from one wiki to another. For instance, to link to the [[mariowiki:Main Page|Mario Wiki]] article on the Wii from Halopedia, you do: <nowiki>[[mariowiki:Wii]]</nowiki>, and you get: [[mariowiki:Wii]]. To link to another wiki instead of the Mario Wiki, simply replace "mariowiki" with another interwiki code from [[Special:Interwiki|this list]]. To link to a Wikia site, use <nowiki>[[w:c:subdomain:Article]]</nowiki> where the subdomain is what appears before <code>.wikia.com</code> in the URL. For example, [[w:c:wii:Nintendo]] links to the Nintendo article on the Wii Wiki.
Interwiki links link from one wiki to another. For instance, to link to the [[mariowiki:Main Page|Mario Wiki]] article on the Wii from Halopedia, you do: <nowiki>[[mariowiki:Wii]]</nowiki>, and you get: [[mariowiki:Wii]]. To link to another wiki instead of the Mario Wiki, simply replace "mariowiki" with another interwiki code from [[Special:Interwiki|this list]]. To link to a Wikia site, use <nowiki>[[w:c:subdomain:Article]]</nowiki> where the subdomain is what appears before <code>.wikia.com</code> in the URL. For example, [[w:c:wii:Nintendo]] links to the Nintendo article on the Wii Wiki.


====External Links====
====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: <nowiki>[http://www.halopedia.org/Main_Page]</nowiki> makes [http://www.halopedia.org/Main_Page], which sends you to the main page of Halopedia.
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: <nowiki>[http://www.halopedia.org/Main_Page]</nowiki> makes [http://www.halopedia.org/Main_Page], which sends you to the main page of Halopedia.


If you want to make a link to a page on [www.wikipedia.org Wikipedia], you do <nowiki>[[wikipedia:Halo 3]]</nowiki>. This will appear as [[wikipedia:Halo 3]].
If you want to make a link to a page on [www.wikipedia.org Wikipedia], you do <nowiki>[[wikipedia:Halo 3]]</nowiki>. This will appear as [[wikipedia:Halo 3]].


==Customizing Links==
==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.
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===
===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:
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|Our homepage]]</nowiki> -- [[Main Page|Our homepage]]
<br />'''After: '''<nowiki>[[Main Page|Our homepage]]</nowiki> -- [[Main Page|Our homepage]]


===Inter-wiki Links===
===Interwiki 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.
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===
===External links===
For external links, no divider is necessary, simply a space after the link, and then the desired HTML, etc.
For external links, no divider is necessary, simply a space after the link, and then the desired HTML, etc.


{{Halopedia HAGP}}
{{Halopedia HAGP}}
[[Category:Help]]
[[Category:Help]]

Revision as of 12:22, July 28, 2021

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.

Interwiki links

Interwiki links link from one wiki to another. For instance, to link to the Mario Wiki article on the Wii from Halopedia, you do: [[mariowiki:Wii]], and you get: mariowiki:Wii. To link to another wiki instead of the Mario Wiki, simply replace "mariowiki" with another interwiki code from this list. To link to a Wikia site, use [[w:c:subdomain:Article]] where the subdomain is what appears before .wikia.com in the URL. For example, w:c:wii:Nintendo links to the Nintendo article on the Wii Wiki.

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://www.halopedia.org/Main_Page] makes [1], which sends you to the main page of Halopedia.

If you want to make a link to a page on [www.wikipedia.org Wikipedia], you do [[wikipedia:Halo 3]]. This will appear as wikipedia:Halo 3.

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

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