mNo edit summary
(Added information on interwiki linking (linking to pages on other wikis from our own))
Line 1: Line 1:
== Standard Linking ==
To create links to another page one simply has to add the following code to the page:
To create links to another page one simply has to add the following code to the page:


Line 15: Line 16:


----
----
<code><nowiki>[[Page Name | Alternate link text]]</nowiki></code>
<code><nowiki>[[Page Name|Alternate link text]]</nowiki></code>
----
----


Line 24: Line 25:
Wiki also handles pluralized links intelligently.  For instance, a link called
Wiki also handles pluralized links intelligently.  For instance, a link called


<code><nowiki>[[Monkey]]s</nowiki></code>
<code><nowiki>[[Pyreal]]s</nowiki></code>


displays as the link ([[Monkey]]s) even though the page name is still just Monkey.
displays as the link ([[Pyreal]]s) even though the page name is still just Pyreal.
 
== Interwiki Linking ==
Interwiki linking is a means of linking to articles on certain other mediawiki wikis. No external link arrow graphic will be displayed as is normally the case for external URLs.
 
Link to an article on another Wikia wiki by using:
 
<pre>
[[w:c:domain:Article Name|Article Name]]
</pre>
 
Where ''domain'' is the particular wiki, for example ours is ''asheron'' (from <nowiki>asheron.wikia.com</nowiki>).
 
 
{|border=1
|align="center"|'''prefix'''
|align="center"|'''destination URL'''
|align="center"|'''usage example'''
|align="center"|'''actual link'''
|-
|wikianswers
|<nowiki>http://answers.wikia.com/wiki/Wikianswers</nowiki>
|<code><nowiki>[[w:c:wikianswers:Wikianswers|Wikianswers]]</nowiki></code>
|[[w:c:wikianswers:Wikianswers|Wikianswers]]
|-
|wikianswers
|<nowiki>http://gaming.wikia.com/wiki/Asheron%27s_Call</nowiki>
|<code><nowiki>[[w:c:gaming:Asheron's Call|Asheron's Call on Wikia Gaming]]</nowiki></code>
|[[w:c:gaming:Asheron's Call|Asheron's Call on Wikia Gaming]]
|-
|Wikia Developers Wiki
|<nowiki>http://dev.wikia.com/wiki/Wikia_Developers_Wiki</nowiki>
|<code><nowiki>[[w:c:dev:Wikia Developers Wiki|Wikia Developers Wiki]]</nowiki></code>
|[[w:c:dev:Wikia Developers Wiki|Wikia Developers Wiki]]
|-
|wikianswers
|<nowiki>http://www.wowwiki.com/Portal:Main</nowiki>
|<code><nowiki>[[w:c:wowwiki:Portal:Main|WoWwiki]]</nowiki></code>
|[[w:c:wowwiki:Portal:Main|WoWwiki]]
|-
|}
 
 
Several Wikimedia-Projects (and others) are ready for interwiki linking. The following are some examples of interwiki prefixes which are available by default:
 
 
{|border=1
|align="center"|'''prefix'''
|align="center"|'''destination URL'''
|align="center"|'''usage example'''
|align="center"|'''actual link'''
|-
|commons
|<nowiki>http://commons.wikimedia.org/wiki/</nowiki>
|<code><nowiki>[[commons:MediaWiki|Mediawiki Commons]]</nowiki></code>
|[[commons:MediaWiki|Mediawiki Commons]]
|-
|mediazilla
|<nowiki>http://bugzilla.wikimedia.org/</nowiki>
|<code><nowiki>[[mediazilla:1209|Mediazilla]]</nowiki></code>
|[[mediazilla:1209|Mediazilla]]
|-
|mediawikiwiki
|<nowiki>http://www.mediawiki.org/wiki/</nowiki>
|<code><nowiki>[[mediawikiwiki:Help:Contents|Mediawiki Help]]</nowiki></code>
|[[mediawikiwiki:Help:Contents|Mediawiki Help]]
|-
|wikibooks
|<nowiki>http://en.wikibooks.org/wiki/</nowiki>
|<code><nowiki>[[wikibooks:Main Page|Wikibooks]]</nowiki></code>
|[[wikibooks:Main Page|Wikibooks]]
|-
|wikimedia
|<nowiki>http://wikimediafoundation.org/wiki/</nowiki>
|<code><nowiki>[[wikimedia:Main Page|Wikimedia]]</nowiki></code>
|[[wikimedia:Main Page|Wikimedia]]
|-
|wikinews
|<nowiki>http://en.wikinews.org/wiki/</nowiki>
|<code><nowiki>[[wikinews:Main Page|Wikinews]]</nowiki></code>
|[[wikinews:Main Page|Wikinews]]
|-
|wikiquote
|<nowiki>http://en.wikiquote.org/wiki/</nowiki>
|<code><nowiki>[[wikiquote:Main Page|Wikiquote]]</nowiki></code>
|[[wikiquote:Main Page|Wikiquote]]
|-
|wikisource
|<nowiki>http://en.wikisource.org/wiki/</nowiki>
|<code><nowiki>[[wikisource:Main Page|Wikisource]]</nowiki></code>
|[[wikisource:Main Page|Wikisource]]
|-
|wikispecies
|<nowiki>http://species.wikimedia.org/wiki/</nowiki>
|<code><nowiki>[[wikispecies:Main Page|Wikispecies]]</nowiki></code>
|[[wikispecies:Main Page|Wikispecies]]
|-
|wiktionary
|<nowiki>http://en.wiktionary.org/wiki/</nowiki>
|<code>  <nowiki>[[wiktionary:Main Page|Wictionary]]</nowiki></code>
|[[wiktionary:Main Page|Wictionary]]
|-
|wikipedia
|<nowiki>http://en.wikipedia.org/wiki/</nowiki>
|<code>  <nowiki>[[wikipedia:Main Page|Wikipedia]]</nowiki></code>
|[[wikipedia:Main Page|Wikipedia]]
|-
|}


[[Category:Help]]
[[Category:Help]]

Revision as of 18:10, 25 October 2009

Standard Linking

To create links to another page one simply has to add the following code to the page:


[[Page Name]]


Where the Page Name is whatever the specific search term you're looking to define.

Another useful process that is slightly more advanced is creating links with a different name than the actual path. (i.e: you want to link to the "How to make links" page but you dont want the text itself to show up as How_to_make_links).

To accomplish the above, and link to this page without using the actual path as the text for the link itself we would write the following code:


[[Page Name|Alternate link text]]


The above code would still link to the page but would now appears as "Alternate link text" with a link to this page instead of the rather unsightly actual path.

Using this method you can create links to various pages within the wiki and still make it look clean and less like actual code, this helps keep the wiki pretty and less confusing and cumbersome to casual users.

Wiki also handles pluralized links intelligently. For instance, a link called

[[Pyreal]]s

displays as the link (Pyreals) even though the page name is still just Pyreal.

Interwiki Linking

Interwiki linking is a means of linking to articles on certain other mediawiki wikis. No external link arrow graphic will be displayed as is normally the case for external URLs.

Link to an article on another Wikia wiki by using:

[[w:c:domain:Article Name|Article Name]]

Where domain is the particular wiki, for example ours is asheron (from asheron.wikia.com).


prefix destination URL usage example actual link
wikianswers http://answers.wikia.com/wiki/Wikianswers [[w:c:wikianswers:Wikianswers|Wikianswers]] Wikianswers
wikianswers http://gaming.wikia.com/wiki/Asheron%27s_Call [[w:c:gaming:Asheron's Call|Asheron's Call on Wikia Gaming]] Asheron's Call on Wikia Gaming
Wikia Developers Wiki http://dev.wikia.com/wiki/Wikia_Developers_Wiki [[w:c:dev:Wikia Developers Wiki|Wikia Developers Wiki]] Wikia Developers Wiki
wikianswers http://www.wowwiki.com/Portal:Main [[w:c:wowwiki:Portal:Main|WoWwiki]] WoWwiki


Several Wikimedia-Projects (and others) are ready for interwiki linking. The following are some examples of interwiki prefixes which are available by default:


prefix destination URL usage example actual link
commons http://commons.wikimedia.org/wiki/ [[commons:MediaWiki|Mediawiki Commons]] Mediawiki Commons
mediazilla http://bugzilla.wikimedia.org/ [[mediazilla:1209|Mediazilla]] Mediazilla
mediawikiwiki http://www.mediawiki.org/wiki/ [[mediawikiwiki:Help:Contents|Mediawiki Help]] Mediawiki Help
wikibooks http://en.wikibooks.org/wiki/ [[wikibooks:Main Page|Wikibooks]] Wikibooks
wikimedia http://wikimediafoundation.org/wiki/ [[wikimedia:Main Page|Wikimedia]] Wikimedia
wikinews http://en.wikinews.org/wiki/ [[wikinews:Main Page|Wikinews]] Wikinews
wikiquote http://en.wikiquote.org/wiki/ [[wikiquote:Main Page|Wikiquote]] Wikiquote
wikisource http://en.wikisource.org/wiki/ [[wikisource:Main Page|Wikisource]] Wikisource
wikispecies http://species.wikimedia.org/wiki/ [[wikispecies:Main Page|Wikispecies]] Wikispecies
wiktionary http://en.wiktionary.org/wiki/ [[wiktionary:Main Page|Wictionary]] Wictionary
wikipedia http://en.wikipedia.org/wiki/ [[wikipedia:Main Page|Wikipedia]] Wikipedia