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.

In addition, when using raw transclusion, it is recommended to substitute rather than transclude any Community Central templates that would otherwise be transcluded to other wikis. If other wikis attempt to transclude any Community Central templates, they will need to have local templates or redirects with the same name, or come up with some way of working around the dependencies. Templates that won't be transcluded to other wikis, inside  tags for example, are okay to transclude.