模板:Sister project
<templatestyles src="Module:Side box/styles.css"></templatestyles>
<templatestyles src="Module:Documentation/styles.css"></templatestyles>
| Warning | This template is used on approximately 1,010,000 pages, or roughly 65755% 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. |
| 文件:Lua-logo-nolabel.svg | 此模板使用Lua语言: |
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 <syntaxhighlight lang="moin">
<templatestyles src="Module:Side box/styles.css"></templatestyles></syntaxhighlight>
<templatestyles src="Module:Side box/styles.css"></templatestyles>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.
Template data
TemplateData for Sister project
Creates a small box with a links to an article on a sister project of wikipedia.
| 参数 | 描述 | 类型 | 状态 | |
|---|---|---|---|---|
| Project | project | The project to link to e.g. commons, meta, wikibooks, wikidata, wikiquote, wikipedia, wikisource, wiktionary, wikinews, wikispecies, wikiversity, wikivoyage, mediawiki, outreachwiki, or incubator. The default displays the Wikimedia logo. | 字符串 | 必需 |
| Text | text | Text of the message e.g. [[Wikimedia Commons]] has media related to: '''''[[Commons:Alcatraz]]''''' | 字符串 | 必需 |
| Below | below | Optional text to display in a full-width row below the main content. Use sparingly. | 字符串 | 可选 |
| Position | position | Position to display the box: 'left' floats the box to the left rather than the default, which is on the right. | 字符串 | 可选 |
Images used
This template potentially displays the following images.
- 文件:Commons-logo.svg Wikimedia Commons logo
commons - 文件:Wikimedia Community Logo.svg Meta-Wiki logo
meta,metawiki, orm - 文件:Wikibooks-logo-en-noslogan.svg Wikibooks logo
wikibooks,wbk,wb, orb - 文件:Wikidata-logo.svg Wikidata logo
wikidataordata - 文件:Wikiquote-logo.svg Wikiquote logo
wikiquote,quote,wqt, orq - 文件:Wikipedia-logo-v2.svg Wikipedia logo
wikipedia,wp, orw - 文件:Wikisource-logo.svg Wikisource logo
wikisource,source,ws, ors - 文件:Wiktionary-logo-v2.svg Wiktionary logo
wiktionary,wkt,wdy, ord - 文件:Wikinews-logo.svg Wikinews logo
wikinews,news,wnw, orn - 文件:Wikispecies-logo.svg Wikispecies logo
wikispeciesorspecies - 文件:Wikiversity logo 2017.svg Wikiversity logo
wikiversity,wvy, orv - 文件:Wikivoyage-Logo-v3-icon.svg Wikivoyage logo
wikivoyage,voyage, orvoy - 文件:MediaWiki-2020-icon.svg MediaWiki logo
mediawikiormw - 文件:Wikimedia Outreach.png Wikimedia Outreach logo
outreachwikioroutreach - 文件:Incubator-notext.svg Wikimedia Incubator logo
incubator - 文件:Wikimedia-logo.svg Wikimedia logo default
See also
- {{Sister-inline}}, compatible template for inline use with preceding bullets or indentation
- {{Sister project links}}
- {{Side box}}, the meta-template used for floated side boxes like {{sister project}}
- {{Subject bar}}, a comprehensive horizontal template