Template:Refideas

本页使用了标题或全文手工转换
维基百科,自由的百科全书
文档图示 模板文档[查看] [编辑] [历史] [清除缓存]

用法[编辑]

这个模板应该放置在讨论页上,用于列出对一篇条目可能有用但尚未包含在条目中或可以被更多引用的来源。

语法如下:

{{Refideas
| (reference1)
| (reference2)
...
}}

Each "reference#" should be replaced by the information on a reference. The template currently accepts up to 21 such reference parameters. Whitespace (including carriage returns) before or after the pipes don't matter, so you can have each reference on a separate line if wanted (as in the sample below).

For example:

{{Refideas
| [https://en.wikipedia.org/wiki/Main_Page Main Page]. Wikipedia.
| [https://en.wikipedia.org/wiki/Wikipedia:Featured_articles Featured Articles]. Wikipedia.
}}

将生成:

还有一个“comment”参数。例如:

{{Refideas
| [https://en.wikipedia.org/wiki/Main_Page Main Page]. Wikipedia.
| [https://en.wikipedia.org/wiki/Wikipedia:Featured_articles Featured Articles]. Wikipedia.
| comment = These sources are already on Wikipedia!
}}

将生成:

包含等号的URL[编辑]

When an equals sign appears in an unnamed parameter, the template treats everything before the equals sign as a parameter name. Use |1= (and |2=, etc.) before the parameter value if the text contains an equals sign (such as in a URL):

{{Refideas 
| 1=M. M. Loubser, Towards a Theory of Extinctive Prescription, 105 S. AFRICAN L.J. 34, 53 (1988). https://heinonline.org/HOL/P?h=hein.journals/tulr85&i=3
}}

将生成:


自由来源[编辑]

与维基百科兼容或发布到公共领域自由内容的来源应单独列出,因为这些内容可以直接合并到条目中,而不必用作脚注。每个自由或公有领域的来源都可以通过常规参数添加,但应在参数编号前加上“f”。例如:

{{Refideas
| [https://en.wikipedia.org/wiki/Main_Page Main Page]. Wikipedia.
| [https://en.wikipedia.org/wiki/Wikipedia:Featured_articles Featured Articles]. Wikipedia.
| f1 = [https://en.wikipedia.org/wiki/Wikipedia:Copyrights Some free source]. Cc-by-sa-3.0.
}}

将生成:

已经使用的自由来源也可以在单独的部分中列出,方法是使用参数“u#”而不是“f#”。例如:

{{Refideas
| f1 = [https://en.wikipedia.org/wiki/Wikipedia:Copyrights Some free source]. Cc-by-sa-3.0.
| u1 = [https://en.wikipedia.org/wiki/Main_Page Another free source].
| 1 = [https://en.wikipedia.org/wiki/Wikipedia:Featured_articles Featured Articles]. Wikipedia.
}}

将生成: