Template:Wikia/doc: Difference between revisions

From NPOWiki
Jump to navigation Jump to search
(create)
 
(section for shortcuts)
 
Line 12: Line 12:
*<code><nowiki>{{wikia|lotr|Nazgûl|Ringwraiths}}</nowiki></code> produces: {{wikia|lotr|Nazgûl|Ringwraiths}}
*<code><nowiki>{{wikia|lotr|Nazgûl|Ringwraiths}}</nowiki></code> produces: {{wikia|lotr|Nazgûl|Ringwraiths}}
*<code><nowiki>{{wikia|starwars||Wookieepedia}}</nowiki></code> produces: {{wikia|starwars||Wookieepedia}}
*<code><nowiki>{{wikia|starwars||Wookieepedia}}</nowiki></code> produces: {{wikia|starwars||Wookieepedia}}
==Shortcuts==
The following templates are shortcuts to this one. They do not require the domain parameter and are designed to use the wiki's correct name in the default text.
*{{t|CNwiki}}


<includeonly>[[Category:External link templates]]</includeonly>
<includeonly>[[Category:External link templates]]</includeonly>

Latest revision as of 02:03, 18 August 2020

This page contains the documentation for Template:Wikia. It includes information about the template, such as usage and categories, and is not displayed when using the template itself.

This template is a shortcut to use an interwiki link to a Wikia (now known as Fandom) wiki.

Parameters

  • first unnamed parameter: the subdomain of the wiki, e.g. "starwars" from "starwars.fandom.com".
  • second unnamed parameter: (optional) the page to link to. Use the plain page title: spaces instead of underscores, and characters should not be encoded (percent signs). If this is omitted, the link will go to the wiki's main page.
  • third unnamed parameter: (optional) the text to display for the link. If omitted, a description will be provided based on the parameters.

Examples

Shortcuts

The following templates are shortcuts to this one. They do not require the domain parameter and are designed to use the wiki's correct name in the default text.