Template:Wikia: Difference between revisions

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

Latest revision as of 01:58, 18 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.