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}} |
维基文库有此种语言版本:French language维基文库 |
{{WikisourceWiki|Spanish|code=es|page=Portada}} |
维基文库有此种语言版本:Spanish维基文库 |
位置
[编辑]
一般情况下:
请勿单独开设一个章节来放置此模板或其他框型模板。
请勿将此模板放在包含分栏且未左浮动的章节中。
请勿使用冒号(:)或项目符号(*)对此模板进行缩进。
具体而言:
- 条目页面:将模板放在最后一个章节的顶部(通常是“外部链接”或“参考资料”章节),以便其在该章节右侧浮动。
- 消歧义页面:此模板通常放置在页面顶部。
- 分类页面:此模板应与其他模板一起放在分类介绍的开头。这样文本可以围绕模板框浮动,避免不必要的空白区域。
See also
[编辑]