Difference between revisions of "Template:Cite web"

From Stationery Wiki
Jump to navigation Jump to search
(Added ref markers for easier copy & paste)
(added info from https://en.wikipedia.org/w/index.php?title=Wikipedia:Citing_sources&oldid=787136846 see there for contributors)
 
(One intermediate revision by the same user not shown)
Line 22: Line 22:
 
<pre><ref>{{cite web|url= https://bleistift.blog |title= Bleistift Blog Landing Page |site= Bleistift Blog }}</ref></pre>
 
<pre><ref>{{cite web|url= https://bleistift.blog |title= Bleistift Blog Landing Page |site= Bleistift Blog }}</ref></pre>
  
:{{cite web|url= http://www.zeldawiki.org|title= Main Page|site= Zelda Wiki}}
+
:{{cite web|url= https://bleistift.blog |title= Bleistift Blog Landing Page |site= Bleistift Blog }}
  
  
Line 28: Line 28:
  
 
:{{Cite web|quote= Hello world!|author= John Smith |published= May 13, 2001 |retrieved= July 24, 2009 |url= http://testing.org/hello.png |title= Hello! |site= Testing.Org}}
 
:{{Cite web|quote= Hello world!|author= John Smith |published= May 13, 2001 |retrieved= July 24, 2009 |url= http://testing.org/hello.png |title= Hello! |site= Testing.Org}}
 +
 +
==Repeated citations==
 +
 +
For multiple use of the same inline citation or footnote, you can use the named references feature, choosing a name to identify the inline citation, and typing
 +
<pre><ref name="name">text of the citation</ref></pre>
 +
Thereafter, the same named reference may be reused any number of times either before or after the defining use by typing just
 +
<pre><ref name="name" /></pre>
 +
The use of the slash before the > means that the tag is self-closing, and the </ref> used to close other references must not be used in addition.
 +
 
[[Category:Formatting Templates|C]]</noinclude>
 
[[Category:Formatting Templates|C]]</noinclude>

Latest revision as of 16:23, 29 June 2017

Purpose[edit]

This is a variant of the {{cite}} template that is to be used when you're pulling a quote or information from a web page or document (such as a PDF file). This is to be used to cite sources, and should be used within <ref></ref> tags.

Usage[edit]

To use, enter this code:
Template:NoWikiTemp

The full code is as follows:
Template:NoWikiTemp

Template:Parameter Template:Parameter Template:Parameter Template:Parameter Template:Parameter Template:Parameter Template:Parameter Template:Parameter

Examples[edit]

<ref>{{cite web|url= https://bleistift.blog |title= Bleistift Blog Landing Page |site= Bleistift Blog }}</ref>
Bleistift Blog Landing Page, Bleistift Blog.


<ref>{{Cite web|quote= Hello world!|author= John Smith |published= May 13, 2001 |retrieved= July 24, 2009 |url= http://testing.org/ |title= Hello! |site= Testing.Org}}</ref>
"Hello world!" — John Smith, Hello!, Testing.Org, published May 13, 2001, retrieved July 24, 2009.

Repeated citations[edit]

For multiple use of the same inline citation or footnote, you can use the named references feature, choosing a name to identify the inline citation, and typing

<ref name="name">text of the citation</ref>

Thereafter, the same named reference may be reused any number of times either before or after the defining use by typing just

<ref name="name" />

The use of the slash before the > means that the tag is self-closing, and the </ref> used to close other references must not be used in addition.