「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>
- 將產生如下效果