求真百科欢迎当事人提供第一手真实资料,洗刷冤屈,终结网路霸凌。

模板:Sister project查看源代码查看历史

事实揭露 揭密真相
跳转至: 导航搜索
Template documentation[view] [edit] [history] [purge]

模板介绍

本模板为一系列姊妹计划链接模板的元模板,亦即本模板用于构建其他模板。注意其他语言百科解密的链接不应使用此页中的链接,而不是使用跨维基链接将它们添加到侧栏。

使用方法

  • |text= – 填充文本。
  • |project= – 选择需要连接的姊妹项目的标志。
  • |below= – 在正文下方的全角行显示文本,慎用。
  • |position= – 输入left可向左对齐,可以通过|position={{{position|}}}设置本模板如何对齐。

范例

{{sister
|project=commons
|text=[[维基共享资源]]中相关的多媒体资源:'''[[Commons:{{{1|Special:Search/{{PAGENAME}}}}}|{{{2|{{{1|{{PAGENAME}}}}}}}}]]'''
}}

注意事项

如果条目正文中有了外部链接,那么本模板通常应该置于外部链接章节的第一行。如果没有此章节,则置于最后一节的第一行。

消歧义页中,本模板应置于文本上方。

模板数据

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly error report for this template.

TemplateData for Sister project

Creates a small box with a links to an article on a sister projects of wikipedia.

模板参数

参数说明类型状态
Projectproject

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.

默认值
例子
自动值
字符串必填
Texttext

Text of the message e.g. [[Wikimedia Commons]] has media related to: '''''[[Commons:Alcatraz]]'''''

默认值
例子
自动值
字符串必填
Belowbelow

Optional text to display in a full-width row below the main content. Use sparingly.

默认值
例子
自动值
字符串可选
Positionposition

Position to display the box: 'left' floats the box to the left rather than the default, which is on the right.

默认值
例子
自动值
字符串可选

参见

  • {{sister-inline}},不带边框的姊妹计划链接模板的元模板
  • {{side box}},添加浮动边框的元模板,作用如同{{sister}}

ar:قالب:شقيقة as:Template:Sister be-x-old:Шаблён:Роднасны праект en:Template:Sister id:Templat:Sister it:Template:Interprogetto ja:Template:Sister pt:Predefinição:Irmão tpi:Template:Sister tr:Şablon:Kardeş proje sl:Predloga:Sister uk:Шаблон:Sister ur:سانچہ:Sister vi:Tiêu bản:Dự án liên quan