Editing
EQ/howtohelp/Linking to a Page
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== General == Linking to pages in the wiki is a fundamental think and makes navigation easier. So how do we go about creating a link? What types of links are there? What if I want to link to another site? That is what this article aims to answer == Linking to any Page in the wiki == It is important that you understand [[RoF/misc/helping/How to edit a Page|How to edit a Page]], in order to link to a page, because you will have to edit a page in order to add a link. Any page in the wiki can be directly linked to. All you really need to know is a page name such a [[RoF]]. This section of the link tutorial will cover not only how we make the [[RoF]] link but also make it say something like [[RoF|Rain of Fear]]. Now we have all the information we need to construct a link. For our example we will be using the page [[RoF]]. It is very simple copy and paste the following into an article. <pre> [[RoF]] </pre> This will produce: [[RoF]] The double brackets mean that this is a link inside the wiki and to link to that page. But zoy, you promised us the ability to do [[RoF|Rain of Fear]]. Alright. that is not much different. The syntax is almost identical, just add a pipe | after the page name in the wiki and the text you would like it to say like so: <pre> [[RoF|Rain of Fear is the Best]] </pre> This will produce: [[RoF|Rain of Fear is the Best]] So now you should be able to comfortably link to anything in the wiki, however it gets better because there are shortcuts. Other tutorials will go over them in detail! == Linking to a non-wiki page (also called External Page) == So there is a very good reference to something on another site and you would like to create a hyper link to it. Not a problem the wiki supports this too. The syntax is very similar to the internal wiki links. You can actually even use this method to link to things inside zoywiki which are for one reason or another difficult to link to. This tidbit of knowledge you will find useful. Here is how you do it: <pre> [http://zoywiki.com] </pre> This will produce: [http://zoywiki.com] So very similar the inside wiki link but it has some drawbacks so we will cover how to overcome those drawbacks, such as why does it say <nowiki>[1]</nowiki>? Let's first explain how to make a "external" link have a different link text which is basically required when using external links. Here is how you do it: <pre> [http://zoywiki.com The Official zoywiki] </pre> This will produce: [http://zoywiki.com The Official zoywiki] However this still looks like it is an external link, as it has a badge next to it indicating it is an external link. So how do we trick the wiki into not doing that? Well this is a bit more advanced, but entirely doable, just use the code below and it will work fine. Here is an example with a plain link, but an external url <pre> <span class="plainlinks">[http://zoywiki.com/RoF Rain of Fear on zoywiki]</span> </pre> This will produce: <span class="plainlinks">[http://zoywiki.com/RoF Rain of Fear on zoywiki]</span> '''What you should have learned so far''': # How to link to any wiki page # How to link to any wiki page and display alternate text # How to create an external link # How to create an external link with any text displayed # How to create an external link with any text displayed and hide the external link badge # '''Going further''': Learning the shortcut link templates is helpful and makes it so when changes are applied to the site your links will automatically work.
Summary:
Please note that all contributions to zoywiki.com are considered to be released under the Attribution-Noncommercial-Share Alike 3.0 Unported (see
zoywiki.com:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
zoywiki.com
Main Page
Recent Changes
Game
Age4
Archived Games
Community
Admin Discussion
Zoywiki Tutorials
Random Page
Tools
What links here
Related changes
Special pages
Page information