“Template:Cite web”的版本间的差异
跳到导航
跳到搜索
小 |
|||
第1行: | 第1行: | ||
− | <includeonly>{{{author|}}}. [{{{archiveurl|{{{url|}}} }}} {{{title|}}}]. {{{website|}}}. {{{work|}}}. {{#if: {{{newspaper|}}} |{{{newspaper|}}}{{#if: {{{publisher|}}} |({{{publisher | + | <includeonly>{{#if: {{{author|}}} |{{{author}}}. }}<!-- |
+ | -->[{{{archiveurl|{{{url|}}} }}} {{{title|}}}]. <!-- | ||
+ | -->{{#if: {{{website|}}} |{{{website}}}. }}<!-- | ||
+ | -->{{#if: {{{work|}}} |{{{work}}}. }}<!-- | ||
+ | -->{{#if: {{{newspaper|}}} | ||
+ | |{{{newspaper|}}}{{#if: {{{publisher|}}} |({{{publisher}}})}}. | ||
+ | |{{#if: {{{publisher|}}} |{{{publisher}}}. }} | ||
+ | }}<!-- | ||
+ | -->{{#if: {{{date|}}} |{{{date}}}. }}<!-- | ||
+ | -->{{#if: {{{accessdate|}}} |<span class="reference-accessdate">[{{{accessdate|}}}查阅]. </span>}}<!-- | ||
+ | -->{{#if: {{{archiveurl|}}} |([{{{url|}}} 原始内容]{{#if: {{{archivedate|}}} |存档于{{{archivedate|}}} }}).}}</includeonly><noinclude> | ||
;来源 | ;来源 | ||
:无 | :无 | ||
;用处 | ;用处 | ||
:对于维基百科Cite web模板的一个简易的实现。不需要Scribunto插件、Lua语言以及citation模块。目的是使得从维百复制内容时无须修改cite web模板相关references | :对于维基百科Cite web模板的一个简易的实现。不需要Scribunto插件、Lua语言以及citation模块。目的是使得从维百复制内容时无须修改cite web模板相关references | ||
+ | :cite news模板也被重定向至这一模板 | ||
+ | :至于从维百复制而来的cite book 跟cite journal 注释,更加建议手动修改为指向该书籍、杂志的条目的链接,如[[The Beginning Story]]、[[Megami MAGAZINE 2011-06]] 等等,因而不再编写相应模板 | ||
;语法 | ;语法 | ||
<pre>{{cite web | <pre>{{cite web |
2014年10月13日 (一) 22:51的最新版本
- 来源
- 无
- 用处
- 对于维基百科Cite web模板的一个简易的实现。不需要Scribunto插件、Lua语言以及citation模块。目的是使得从维百复制内容时无须修改cite web模板相关references
- cite news模板也被重定向至这一模板
- 至于从维百复制而来的cite book 跟cite journal 注释,更加建议手动修改为指向该书籍、杂志的条目的链接,如The Beginning Story、Megami MAGAZINE 2011-06 等等,因而不再编写相应模板
- 语法
{{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>
- 将产生如下效果