This is a documentation subpage for 模板:Sister project. It may contain usage information, categories and other content that is not part of the original 模板 page. |
This template is used on approximately 1,050,000 pages, or roughly 23585% 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 template uses Lua: |
This is a meta-template used for creating interwiki link boxes 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
|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.
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. | 字符串 | 可选 |
Other Templates using this template
模板:Commons 模板:Wikinews 模板:Wikiquote 模板:Wikisourcecat 模板:Wikibooks 模板:Wikivoyage
模板:Wikispecies 模板:Wikidata property 模板:Meta 模板:MediaWiki 模板:Incubator
{{Wiktionary}}
{{Commons}}
{{Wikinews}}
{{Wikiquote}}
{{Wikisourcecat}}
{{Wikibooks}}
{{Wikivoyage}}
{{Wikiversity}}
{{Wikispecies}}
{{Wikidata property}}
{{Meta}}
{{MediaWiki}}
{{Incubator}}
Images used
This template potentially displays the following images.
- 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
wikidata
ordata
- 文件: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
wikispecies
orspecies
- Wikiversity logo
wikiversity
,wvy
, orv
- 文件:Wikivoyage-Logo-v3-icon.svg Wikivoyage logo
wikivoyage
,voyage
, orvoy
- 文件:MediaWiki-2020-icon.svg MediaWiki logo
mediawiki
ormw
- 文件:Wikimedia Outreach.png Wikimedia Outreach logo
outreachwiki
oroutreach
- 文件: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}}
{{Wikipedia's sister projects}}
{{Side box}}
, the meta-template used for floated side boxes like{{sister project}}
{{Subject bar}}
, a comprehensive horizontal template