GuildWiki

GuildWiki has been locked down: anonymous editing and account creation are disabled. Current registered users are unaffected. Leave any comments on the Community Portal.

READ MORE

GuildWiki
(cleanup, update, better explanation/examples)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[wikipedia:InterWiki|InterWiki]] links are links pointing to external websites, using an "internal link" syntax. GuildWiki currently shares the same InterWiki map used by [[w:interwiki map|Wikia]]. Requests to add new mappings to other wikis can be made [[w:Talk:interwiki map|here]].
+
[[WP:Interwiki links|Interwiki links]] are links pointing to external websites using an "internal link" syntax. This is made possible through the [[MW:Manual:Interwiki table|interwiki table]], which maps a site's URL to a string that can be used as a prefix in the internal link syntax. (Both of the links in this introduction are interwiki links.)
   
== InterWiki syntax ==
+
== Interwiki syntax ==
  +
To create an interwiki link to a page on another site, use the internal link syntax (double square brackets <code><nowiki>[[ ]]</nowiki></code>) as if linking to the page name locally, but prefix the page name with that site's identifier from the interwiki table. For example, to link to the Guild Wars article on Wikipedia, you would write the link like this:
; Linking to GuildWiki from other wikis
 
* If the other wiki is a Wikia wiki, [['''guildwiki:ARTICLENAME''']] usually works
 
** If the above does not work, [['''w:c:guildwars:ARTICLENAME''']] will work.
 
* From most MediaWiki wikis not hosted by Wikia, either [['''wikia:guildwars:ARTICLENAME''']] or [['''wikia:c:guildwars:ARTICLENAME''']] should work.
 
   
  +
{| class="stdt"
; Guild Wars related
 
  +
! To create... || ...use this code... || ...which produces this result
* [[pvx:|PvXWiki]] - [['''pvx:ARTICLENAME''']]
 
  +
|-
* [[gww:|GWW]] - [['''gww:ARTICLENAME''']]
 
  +
| A link to Wikipedia
* [[gw2w:|GW2W]] - [['''gw2w:ARTICLENAME''']]
 
  +
| <code><nowiki>[[Wikipedia:Guild Wars]]</nowiki></code>
* [[w:c:guildwars2|GW2]] - [['''w:c:guildwars2:ARTICLENAME''']]
 
  +
| [[Wikipedia:Guild Wars]]
  +
|-
  +
| A shorter link to Wikipedia
  +
| <code><nowiki>[[WP:Guild Wars]]</nowiki></code>
  +
| [[WP:Guild Wars]]
  +
|-
  +
| A link to Wikipedia with different display text
  +
| <code><nowiki>[[WP:Guild Wars|Guild Wars on Wikipedia]]</nowiki></code>
  +
| [[WP:Guild Wars|Guild Wars on Wikipedia]]
  +
|-
  +
| A link to Wikipedia's main page
  +
| <code><nowiki>[[WP:|Wikipedia's Main Page]]</nowiki></code>
  +
| [[WP:|Wikipedia's Main Page]]
  +
|}
   
  +
A site can be defined in the interwiki table with multiple prefixes. As shown in the examples above, Wikipedia can be linked using both the full <code>Wikipedia:</code> prefix and the shorthand <code>WP:</code> prefix.
; Common Wikimedia and Mediawiki sites
 
* [[wikipedia:|English Wikipedia]] - [['''wikipedia:ARTICLENAME''']]
 
* Foreign language Wikipedia - [['''wikipedia:LANCODE:ARTICLENAME''']]
 
* [[commons:|Wikimedia Commons]] - [['''commons:ARTICLENAME''']]
 
* [[m:|Meta Wikimedia]] - [['''m:ARTICLENAME''']]
 
* [[mw:|MediaWiki]] - [['''mw:ARTICLENAME''']]
 
   
  +
Interwiki prefixes are ''not'' case-sensitive, thus <code>wikipedia:</code>, <code>Wikipedia:</code>, <code>WikiPedia</code>, and <code>WIKIPEDIA:</code> are all interchangeable.
; Other
 
* [[wikiindex:|WikiIndex]] - [['''wikiindex:ARTICLENAME''']] (note: two I's in a row)
 
* [[w:Project:Community Portal|Central Wikia]] - [['''w:ARTICLENAME''']]
 
* [[w:c:help|Wikia Help]] - [['''w:c:help:ARTICLENAME''']]
 
* Any wiki that is a subdomain under Wikia - [['''w:c:SUBDOMAIN:ARTICLENAME''']]
 
* [[uncyclopedia:|Uncyclopedia]] - [['''uncyclopedia:ARTICLENAME''']]
 
   
  +
== Commonly used interwikis ==
[[Category:GuildWiki]]
 
 
; Guild Wars
  +
* [[pvx:|PvX Wiki]] - <code><nowiki>[[pvx: ]]</nowiki></code>
  +
* [[gww:|Guild Wars Wiki]] - <code><nowiki>[[gww: ]]</nowiki></code>
  +
* [[gw2w:|Guild Wars 2 Wiki]] - <code><nowiki>[[gw2w: ]]</nowiki></code>
  +
  +
; Wikimedia foundation
  +
* [[wikipedia:|English Wikipedia]] - <code><nowiki>[[wikipedia: ]]</nowiki></code> or <code><nowiki>[[wp: ]]</nowiki></code>
  +
* To link to a foreign-language Wikipedia, include the language code after the <code>wikipedia:</code> prefix, e.g. <code><nowiki>[[wikipedia:de:]]</nowiki></code> for the [[wikipedia:de:|German Wikipedia]].
 
* [[commons:|Wikimedia Commons]] - <code><nowiki>[[commons: ]]</nowiki></code>
 
* [[m:|Meta Wikimedia]] - <code><nowiki>[[m: ]]</nowiki></code>
  +
* [[mw:|MediaWiki]] - <code><nowiki>[[mw: ]]</nowiki></code>
   
 
== See also ==
 
== See also ==
* [[w:Interwiki map|Wikia's full InterWiki map]]
+
* [[Special:Interwiki]] for a complete listing of GuildWiki's interwiki table.
* [[Help:Interwiki link]]
+
* [[mw:Help:Links#Interwiki links|Help on interwiki links]] at the MediaWiki wiki.
   
 
[[Category:GuildWiki]]
 
[[Category:GuildWiki]]

Latest revision as of 17:48, 9 December 2010

Interwiki links are links pointing to external websites using an "internal link" syntax. This is made possible through the interwiki table, which maps a site's URL to a string that can be used as a prefix in the internal link syntax. (Both of the links in this introduction are interwiki links.)

Interwiki syntax[]

To create an interwiki link to a page on another site, use the internal link syntax (double square brackets [[ ]]) as if linking to the page name locally, but prefix the page name with that site's identifier from the interwiki table. For example, to link to the Guild Wars article on Wikipedia, you would write the link like this:

To create... ...use this code... ...which produces this result
A link to Wikipedia [[Wikipedia:Guild Wars]] Wikipedia:Guild Wars
A shorter link to Wikipedia [[WP:Guild Wars]] WP:Guild Wars
A link to Wikipedia with different display text [[WP:Guild Wars|Guild Wars on Wikipedia]] Guild Wars on Wikipedia
A link to Wikipedia's main page [[WP:|Wikipedia's Main Page]] Wikipedia's Main Page

A site can be defined in the interwiki table with multiple prefixes. As shown in the examples above, Wikipedia can be linked using both the full Wikipedia: prefix and the shorthand WP: prefix.

Interwiki prefixes are not case-sensitive, thus wikipedia:, Wikipedia:, WikiPedia, and WIKIPEDIA: are all interchangeable.

Commonly used interwikis[]

Guild Wars
Wikimedia foundation

See also[]