模板:Sister project

被永久保护的模板
维基语录,自由的名人名言录
文档图示 模板文档[查看] [编辑] [历史] [清除缓存]

Template:High-risk

模板介绍

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

使用方法

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

范例

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

注意事项

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

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

模板数据

这是一个用于新版可视化编辑器模板数据文档。

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}}