User:Rigel Kent/Interwiki template

This template is for use with pages, such as interwiki footers, to be transcluded on other Wikia sites.

This template provides instructions for transcluding the page on other Wikia sites and prevents the page from showing up in Community Central's Special:UnusedTemplates.

There are two different uses of this template: talk page transclusion, and raw transclusion. Use only one or the other, not both. Each use has different benefits and limitations.

Talk page transclusion
If the page can have exactly the same HTML output on every other Wikia wiki as it has on Community Central, this use is a possibility.

Place the following in the page that is meant to be used as an interwiki transclusion:

&lt;noinclude&gt;&lt;/noinclude&gt;

In addition, place the following on the page's associated talk page :

This use allows other Wikia sites to transclude with simple  or   syntax.

However, this use means the page will be transcluded as exactly the same HTML as on Community Central. Parameters,  tags, and other parser features won't change the output. As a result, any documentation for the page should be placed on the associated talk page instead, and any modifications to the page's appearance will have to be done with local CSS.

Raw transclusion
If the page uses parser features to control output, for example, it has documentation inside  tags or generates different output based on parameters or magic words, this use is required.

Place the following in the page that is meant to be used as an interwiki transclusion:

&lt;noinclude&gt;&lt;/noinclude&gt;

This use allows parameters,  tags, and other parser features to work just like same-wiki transclusion. Documentation can be hidden within  tags, different HTML can be generated based on parameters or magic words, etc. This use also automatically places the page in Category:Interwiki templates.

However, this use requires other Wikia sites to raw transclude the page, using  or   syntax. It also requires the template to be smaller than 64 KiB, 65,535 bytes maximum.

In addition, when using raw transclusion, each template within the page should either be substituted, or explicitly given Community Central's interwiki prefix:. Links to Community Central pages should also be prefixed:. Otherwise, local wikis will parse local templates and local links with the same name, with potentially unexpected results. Community Central templates and links that won't be parsed on other wikis, for example, inside  tags, are safe to transclude normally.