Template:Cite web: Difference between revisions

From Podpedia
Content added Content deleted
m (Protected "Template:Cite web": restore old protection ([Edit=Require administrator access] (indefinite) [Move=Require administrator access] (indefinite)))
(added info from https://en.wikipedia.org/w/index.php?title=Wikipedia:Citing_sources&oldid=787136846 see there for contributors)
Line 1: Line 1:
<includeonly>{{#if:{{{quote|}}}|''"{{{quote|}}}"'' —}} {{#if:{{{author|}}}|{{{author}}},}} [{{{url|}}} {{{title|}}}], {{{site|}}}{{#if:{{{type|}}}|&nbsp;({{{type|}}})}}{{#if:{{{published|}}}|, published {{{published}}}}}{{#if:{{{retrieved|}}}|, retrieved {{{retrieved}}}}}.</includeonly><noinclude>
<includeonly>{{#invoke:citation/CS1|citation
== Purpose ==
|CitationClass=web
This is a variant of the {{[[Template:Cite|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 <nowiki><ref></ref></nowiki> tags.
}}</includeonly><noinclude>

{{documentation}}
== Usage ==
</noinclude>
To use, enter this code:<br>
{{NoWikiTemp|normal| url{{=}} | title{{=}} | site{{=}} }}

The full code is as follows:<br>
{{NoWikiTemp|normal|quote{{=}} |author{{=}} |published{{=}} |retrieved {{=}} |url{{=}} |title{{=}} |site{{=}} |type{{=}} }}

{{Parameter|Quote|(Optional) The quoted text from the site|Optional}}
{{Parameter|Author|(Optional) The name of the person who posted or published the text|Optional}}
{{Parameter|Published|(Optional) The date the text was posted or published|Optional}}
{{Parameter|Retrieved|(Optional) The date the article was accessed for the reference|Optional}}
{{Parameter|Url|The direct URL to the page in question|Required}}
{{Parameter|Title|The name of the article or document|Required}}
{{Parameter|Site|The name of the site that the article or document is hosted on (eg. IGN, Nintendo.com, etc.)|Required}}
{{Parameter|Type|(Optional) The type of page you're linking to, if it is not a regular HTML page. You should then say in this field what type of document it is (eg. "PDF File", "Word Document", "PNG Image", etc.)|Optional}}

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

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


<pre><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></pre>

:{{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>

Revision as of 14:23, 29 June 2017

Purpose

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

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

<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

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.