Template:Wikia: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(default to community) |
||
Line 1: | Line 1: | ||
<includeonly>[[wikia:w:c:{{{1}}}{{#if:{{{2|}}}|:{{{2}}}}}|<span title="https://{{{1}}}.fandom.com/{{#if:{{{2|}}}|wiki/{{#replace:{{{2}}}|<nowiki> </nowiki>|_}}}}">{{#if:{{{3|}}}|{{{3}}}|{{#if:{{{2|}}}|{{{2}}} at }}{{{1}}} on Wikia (Fandom)}}</span>]]</includeonly><noinclude>{{documentation}}</noinclude> | <includeonly>[[wikia:w:c:{{{1|community}}}{{#if:{{{2|}}}|:{{{2}}}}}|<span title="https://{{{1}}}.fandom.com/{{#if:{{{2|}}}|wiki/{{#replace:{{{2}}}|<nowiki> </nowiki>|_}}}}">{{#if:{{{3|}}}|{{{3}}}|{{#if:{{{2|}}}|{{{2}}} at }}{{{1|community}}} on Wikia (Fandom)}}</span>]]</includeonly><noinclude>{{documentation}}</noinclude> |
Revision as of 06:30, 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
{{wikia|memory-alpha|Unimatrix Zero}}
produces: Unimatrix Zero at memory-alpha on Wikia (Fandom){{wikia|lotr|Nazgûl|Ringwraiths}}
produces: Ringwraiths{{wikia|starwars||Wookieepedia}}
produces: 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.
{{CNwiki}}
The above documentation is transcluded from Template:Wikia/doc.