跳至內容

模板: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

[編輯]