Locked
Halopedia

Help:Links: Difference between revisions

From Halopedia, the Halo wiki

m (Bot: Automated text replacement (-^ +{{Status|Halopedia}}\n))
m (Text replacement - "<br ?\/>" to "<br>")
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Status|Halopedia}}
{{Status|Halopedia}}
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====
==Using 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]].
===Internal links===
To create 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]].


====Interwiki 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:|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]].


====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>[https://www.google.com]</nowiki> makes [https://www.google.com], which sends you to Google.


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 Wikipedia, you do <nowiki>[[wikipedia:Halo 3]]</nowiki>. This will appear as [[wikipedia:Halo 3]].


==Customizing links==
==Customizing links==
Line 18: Line 20:
===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]]


===Interwiki links===
===Interwiki links===

Latest revision as of 10:27, May 6, 2024

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.

Using links

Internal links

To create 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.

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: [https://www.google.com] makes [1], which sends you to Google.

If you want to make a link to a page on 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.