模板:Cite web

出自魔法少女小圆维基
於 2014年10月13日 (一) 22:20 由 Madoka對話 | 貢獻 所做的修訂 (以“<includeonly>{{{author|}}}. [{{{archiveurl|{{{url|}}} }}} {{{title|}}}]. {{{website|}}}. {{{work|}}}. {{#if: {{{newspaper|}}} |{{{newspaper|}}}{{#if: {{{publisher|}}...”为内容创建页面)
(差異) ←上個修訂 | 最新修訂 (差異) | 下個修訂→ (差異)
跳至導覽 跳至搜尋
來源
用處
對於維基百科Cite web模板的一個簡易的實現。不需要Scribunto插件、Lua語言以及citation模塊。目的是使得從維百複製內容時無須修改cite web模板相關references
語法
{{cite web
 |author=
 |url=
 |title=
 |accessdate=查阅日期
 |date=发布日期
 |archiveurl=快照存档地址
 |archivedate=快照存档日期
 |website=
 |work=
 |newspaper=
 |publisher=
 }}
範例
<references>
<ref>{{cite web
|author=丘比
|url=http://www.qbnetwork.com/news/20110107.html
|title=地球新闻
|accessdate=2011-01-10
}}</ref>
<ref name="mainichi20110421">{{Cite web
|date=2011年4月21日
|url=http://mantan-web.jp/2011/04/21/20110421dog00m200015000c.html
|title=魔法少女まどか☆マギカ :話題のアニメが異例の全面広告 21日の一挙放送で
|newspaper=まんたんウェブ
|publisher=[[毎日新聞社|毎日新聞デジタル]]
|accessdate=2011年4月29日
|language=ja
|archiveurl=http://web.archive.org/20110424133558/mantan-web.jp/2011/04/21/20110421dog00m200015000c.html
|archivedate=2011-04-24}}</ref>
</references>
將產生如下效果

引用錯誤:在 <ref> 外定義的 <references> 標籤有設定 group 屬性為 "",但在前文中並未使用。
引用錯誤:在 <ref> 外定義的 <references> 標籤有設定 group 屬性為 "",但在前文中並未使用。