Template:Wikia: Difference between revisions

From NPOWiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly>[[wikia:w:c:{{{1}}}{{#if:{{{2|}}}|<nowiki>:</nowiki>{{{2}}}}}|<span title="https://{{{1}}}.fandom.com/{{#if:{{{2|}}}|wiki/{{{2}}}}}">{{#if:{{{3|}}}|{{{3}}}|{{#if:{{{2|}}}|{{{2}}} at&#32;}}{{{1}}} on Wikia (Fandom)}}</span>]]</includeonly><noinclude>{{documentation}}</noinclude>
<includeonly>[[wikia:w:c:{{{1}}}{{#if:{{{2|}}}|&#58;{{{2}}}}}|<span title="https://{{{1}}}.fandom.com/{{#if:{{{2|}}}|wiki/{{{2}}}}}">{{#if:{{{3|}}}|{{{3}}}|{{#if:{{{2|}}}|{{{2}}} at&#32;}}{{{1}}} on Wikia (Fandom)}}</span>]]</includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 06:02, 6 August 2020

Documentation [edit]

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.

The above documentation is transcluded from Template:Wikia/doc.