Help:Interwiki linking: Difference between revisions

From MediaWiki
Jump to navigationJump to search
Abates (talk | contribs)
No edit summary
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''Interwiki linking''' (linking to an article on [[Wikipedia:|Wikipedia]], a Wikia, or other wiki in general) is medium-complicated, but not that hard to learn.
'''Interwiki linking''' (linking to an article on [[Wikipedia:|Wikipedia]], a Fandom wiki, or other wiki in general) is medium-complicated, but not that hard to learn.


==Linking to Wikipedia==
==Linking to Wikipedia==
Line 8: Line 8:
*[[Wikipedia:Trains|Trains on Wikipedia]]
*[[Wikipedia:Trains|Trains on Wikipedia]]


<font face="monospace"><nowiki>[[W:Trains]]</nowiki></font> can also be used as a shorter alternative.
<font face="monospace"><nowiki>[[W:Trains]]</nowiki></font> or <font face="monospace"><nowiki>{{W|Trains}}</nowiki></font> can also be used as shorter alternatives.
*[[W:Trains]]
*{{W|Trains}}


==Linking to Wikias==
==Linking to Fandom articles==
There are two kinds of wikia-link markup.  To link to the article "Supergate" on the "Stargate" wikia, use this format; <font face="monospace"><nowiki>[[Wikia:sgcommand:Supergate]]</nowiki></font>
To link to a Fandom article, such as the article "Supergate" on the "Stargate" Fandom wiki, use this format; <font face="monospace"><nowiki>[[Fandom:stargate:Supergate]]</nowiki></font>
*[[Wikia:sgcommand:Supergate]]
*[[Fandom:stargate:Supergate]]
(Many existing instances instead use the prefix "Wikia:" for this, as this was Fandom's previous name. While both link types will point to the same page, the "Wikia:" interwiki link has been deprecated and we encourage the use of "Fandom:" in its place when adding new links going forward.)


The other format, used by many older wikis, includes a 'wikia:c:' prefix, a holdover from Wikia's 'Wikicities' days.  To link to the article "Shipwreck" on the "Gijoe" wikia, use this format;
Several sites on Fandom, such as Memory Alpha, have their own domain and can be linked to using a similar pattern to non-Fandom wikis: <font face="monospace"><nowiki>[[MemoryAlpha:James T. Kirk]]</nowiki></font>:
<font face="monospace"><nowiki>[[wikia:c:gijoe:Shipwreck]]</nowiki></font>:
*[[MemoryAlpha:James T. Kirk]]
*[[wikia:c:gijoe:Shipwreck]]


Several sites on Wikia, such as Memory Alpha, have their own domain and can be linked to using a similar pattern to non-Wikia wiki: <font face="monospace"><nowiki>[[MemoryAlpha:James T. Kirk]]</nowiki></font>:
==Linking to our sister wikis==
*[[MemoryAlpha:James T. Kirk]]
The TFWiki community has established two other wikis to supplement our existing Transformers coverage with coverage of other distinct but closely-related Hasbro franchises. These wikis are set up similarly to those of Fandom:
*[http://gbwiki.shoutwiki.com/wiki/Main_Page The GoBots Wiki] can be linked to using links of the form <font face="monospace"><nowiki>[[gbwiki:Transformers]]</nowiki></font> which produces a link that looks like this:<br />[[gbwiki:Transformers]]
*[http://idwhasbro.shoutwiki.com/wiki/Main_Page The IDW Hasbro Wiki] can be linked to using links of the form <font face="monospace"><nowiki>[[idwhasbro:Jem and the Holograms (franchise)]]</nowiki></font> which produces a link that looks like this:<br />[[idwhasbro:Jem and the Holograms (franchise)]]
 
<font face="monospace"><nowiki>{{gb|Transformers}}</nowiki></font> and <font face="monospace"><nowiki>{{i|Jem and the Holograms (franchise)|Jem and the Holograms}}</nowiki></font> can also be used as shorter alternatives.
*{{gb|Transformers}}
*{{i|Jem and the Holograms (franchise)|Jem and the Holograms}}


==Linking to other wikis==
==Linking to other wikis==

Latest revision as of 23:50, 19 January 2024

Interwiki linking (linking to an article on Wikipedia, a Fandom wiki, or other wiki in general) is medium-complicated, but not that hard to learn.

Linking to Wikipedia

To link to the Wikipedia article "Trains" type; [[Wikipedia:Trains]]

As with regular links, link text can be provided after a pipe character; [[Wikipedia:Trains|Trains on Wikipedia]]

[[W:Trains]] or {{W|Trains}} can also be used as shorter alternatives.

Linking to Fandom articles

To link to a Fandom article, such as the article "Supergate" on the "Stargate" Fandom wiki, use this format; [[Fandom:stargate:Supergate]]

(Many existing instances instead use the prefix "Wikia:" for this, as this was Fandom's previous name. While both link types will point to the same page, the "Wikia:" interwiki link has been deprecated and we encourage the use of "Fandom:" in its place when adding new links going forward.)

Several sites on Fandom, such as Memory Alpha, have their own domain and can be linked to using a similar pattern to non-Fandom wikis: [[MemoryAlpha:James T. Kirk]]:

Linking to our sister wikis

The TFWiki community has established two other wikis to supplement our existing Transformers coverage with coverage of other distinct but closely-related Hasbro franchises. These wikis are set up similarly to those of Fandom:

{{gb|Transformers}} and {{i|Jem and the Holograms (franchise)|Jem and the Holograms}} can also be used as shorter alternatives.

Linking to other wikis

Other sites of relevance to TFWiki can be linked to:

  • TVTropes can be linked to using links of the form [[tvtropes:Main/DullSurprise|Dull Surprise]] which produces a link that looks like this:
    Dull Surprise.
  • IMDB can be linked to using links of the form [[imdb:tt0418279|Transformers (2007)]] which produces a link that looks like this:
    Transformers (2007).

Linking from Wikipedia

When editing pages on Wikipedia, links to TFWiki can be made using a similar syntax. For instance linking to our Generation 1 Optimus Prime article from a Wikipedia article can be done as follows:

  • [[TFWiki:Optimus Prime (G1)]]



You left a piece out!

This article is a stub and is missing information. You can help MediaWiki by expanding it.