{{Wikia prefix}} returns the interwiki prefix for the Wikia wiki the template is used on. For instance, on this Wikia wiki, the template gives templates..

This can be used in templates to automatically create static links to the current wiki; for instance, the code [[w:c:{{subst:Wikia prefix}}:Main Page]], when saved, will turn into [[w:c:templates:Main Page]], resulting in w:c:templates:Main Page.

Note that this template assumes the interwiki prefix is identical to the first part(s) of the value returned by the magic word {{SERVERNAME}}; since there doesn't seem to be a magic word which specifically returns the current wiki's interwiki prefix, it is possible that the value returned by the template is incorrect.

Community content is available under CC-BY-SA unless otherwise noted.