“Template:Cite web”的版本间的差异

来自魔法少女小圆维基
跳到导航 跳到搜索
(以“<includeonly>{{{author|}}}. [{{{archiveurl|{{{url|}}} }}} {{{title|}}}]. {{{website|}}}. {{{work|}}}. {{#if: {{{newspaper|}}} |{{{newspaper|}}}{{#if: {{{publisher|}}...”为内容创建页面)
 
第20行: 第20行:
 
;范例
 
;范例
 
<pre>
 
<pre>
 +
魔法少女小圆开播<ref name="qb2011" />。...直到第3话揭露本作的悲剧本质后<ref name="mainichi20110421" />,才瞬间引起跨国性的空前轰动...
 
<references>
 
<references>
<ref>{{cite web
+
<ref name="qb2011">{{cite web
 
|author=丘比
 
|author=丘比
 
|url=http://www.qbnetwork.com/news/20110107.html
 
|url=http://www.qbnetwork.com/news/20110107.html
第40行: 第41行:
 
</pre>
 
</pre>
 
:将产生如下效果
 
:将产生如下效果
 +
魔法少女小圆开播<ref name="qb2011" />。...直到第3话揭露本作的悲剧本质后<ref name="mainichi20110421" />,才瞬间引起跨国性的空前轰动...
 
<references>
 
<references>
 
<ref>{{cite web
 
<ref>{{cite web

2014年10月13日 (一) 22:30的版本

来源
用处
对于维基百科Cite web模板的一个简易的实现。不需要Scribunto插件、Lua语言以及citation模块。目的是使得从维百复制内容时无须修改cite web模板相关references
语法
{{cite web
 |author=
 |url=
 |title=
 |accessdate=查阅日期
 |date=发布日期
 |archiveurl=快照存档地址
 |archivedate=快照存档日期
 |website=
 |work=
 |newspaper=
 |publisher=
 }}
范例
魔法少女小圆开播<ref name="qb2011" />。...直到第3话揭露本作的悲剧本质后<ref name="mainichi20110421" />,才瞬间引起跨国性的空前轰动...
<references>
<ref name="qb2011">{{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>
将产生如下效果

魔法少女小圆开播[1]。...直到第3话揭露本作的悲剧本质后[2],才瞬间引起跨国性的空前轰动...

  1. 引用错误:无效<ref>标签;未给name属性为qb2011的引用提供文字
  2. . 魔法少女まどか☆マギカ :話題のアニメが異例の全面広告 21日の一挙放送で. . . まんたんウェブ(毎日新聞デジタル). 2011年4月21日. [2011年4月29日查阅]. 原始内容存档于2011-04-24).

引用错误:<references>中定义的<ref>没有给出名称(name)属性。