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

將生成: