Template:Sister project/doc
This is a documentation subpage for Template:Sister project. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on 962,000+ pages, or roughly 14313% of all pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
This is a meta-template used for creating interwiki links to other sister projects of wikipedia. Note that links to other language wikipedias should not use links in this form, instead use interwiki links to add them to the sidebar.
Usage
|text=
– text of the message|project=
– the sister project to link to. Used to select which project logo is displayed.|below=
– optional text to display in a full-width row below the main content. Use sparingly|position=
– set to left for a left-floating box or, ideally, pass through with |position={{{position|}}} to let this be set on a per-page basis.
- Example
{{sister |project=commons |text=[[Wikimedia Commons]] has media related to: '''''[[Commons:{{{1|Special:Search/{{PAGENAME}}}}}|{{{2|{{{1|{{PAGENAME}}}}}}}}]]''''' }}
Location
This template should normally be placed at the top of the External links section at the end of an article, if the article has a section for external links. If no such section exists, then please place it at the top of the last section in the article.
On disambiguation pages, this template should be listed above other text, but below any cleanup templates, images, infoboxes or navboxes.
Use with indenting characters
There is a known issue with Mediawiki software that causes this template, and all templates built with a table, to display with no box when indented with : or * characters.
- Examples
:{{sister |project=wikispecies |text=[[Wikispecies]] has media related to: '''''[[Wikispecies:{{{1|Special:Search/{{PAGENAME}}}}}|{{{2|{{{1|{{PAGENAME}}}}}}}}]]''''' }}
*{{sister |project=wikinews |text=[[Wikinews]] has media related to: '''''[[Wikinews:{{{1|Special:Search/{{PAGENAME}}}}}|{{{2|{{{1|{{PAGENAME}}}}}}}}]]''''' }}
While this may produce desirable results, this should be considered a bug and not a feature, and as such may disappear in future software updates. Further, this usage should be avoided in article space, as it would lead to inconsistency, and reduce the usefulness of these templates.
See also
{{side box}}