模板:WikisourceWiki/doc

来自Local Chinese Wikipedia
跳转到导航 跳转到搜索
  1. REDIRECT Template:改进使用说明

Usage[编辑]

Template:Tlx

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}} 页面Module:Side box/styles.css没有内容。页面Template:Sister project/styles.css没有内容。
{{WikisourceWiki|French language|code=fr}} 页面Module:Side box/styles.css没有内容。页面Template:Sister project/styles.css没有内容。
{{WikisourceWiki|Spanish|code=es|page=Portada}} 页面Module:Side box/styles.css没有内容。页面Template:Sister project/styles.css没有内容。

Location[编辑]

File:Sister link template columns problem.jpg
If using a large, graphical template produces odd layout problems, like the excessive white space shown on the right of this screenshot, then switch to a different sister template.

N Do not place this template in a section all by itself.

N Do not place this template in a section containing columns.

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.

See Wikipedia:Wikimedia sister projects#Where_to_place_links for more information and alternatives.

See also[编辑]