跳转到内容

Template:WikisourceWiki/doc

维基百科,自由的百科全书

Usage

[编辑]

{{WikisourceWiki|[1=]Example language|code=en|page=Main_Page}}

Parameters:

  • [1] (optional) An optional language display name, to use instead of the page title. Normally, this is not necessary.
  • code: the language code of the wiki (xx.wikisource.org).
  • page (optional): the native name for "Main Page". Normally, wikis will have a redirect from the title "Main Page" to the native name, so this will be unnecessary.

{{OldWikisource|Tagalog}} to link to Tagalog in oldwikisource:Category:Languages.

{{WikisourceWiki|code=zh}} to link to s:zh:Main Page

Examples

[编辑]
Code What it looks like
{{WikisourceWiki|code=fr}}
{{WikisourceWiki|French language|code=fr}}
{{WikisourceWiki|Spanish|code=es|page=Portada}}

位置

[编辑]
如果框型模板导致布局异常(如截图中右侧出现过多空白区域),请改用行内模板,例如使用{{Commons category-inline}}代替{{Commons category}}。

一般情况下:

☒N请勿单独开设一个章节来放置此模板或其他框型模板。
☒N请勿将此模板放在包含分栏且未左浮动的章节中。
☒N请勿使用冒号(:)或项目符号(*)对此模板进行缩进。

具体而言:

  • 条目页面:将模板放在最后一个章节的顶部(通常是“外部链接”或“参考资料”章节),以便其在该章节右侧浮动。
  • 消歧义页面:此模板通常放置在页面顶部。
  • 分类页面:此模板应与其他模板一起放在分类介绍的开头。这样文本可以围绕模板框浮动,避免不必要的空白区域。

See also

[编辑]