Difference between revisions of "Template:Cite web"

From Nookipedia, the Animal Crossing wiki
(Created page with "<includeonly>{{#if:{{{quote|}}}|<i>"{{{quote|}}}"</i> —}} {{#if:{{{author|}}}|{{{author}}},}} [{{{url|}}} {{{title|}}}], {{{site|}}} {{#if:{{{type|}}}|({{{type|}}})}}{{#if:{{{p...")
 
Line 1: Line 1:
<includeonly>{{#if:{{{quote|}}}|<i>"{{{quote|}}}"</i> —}} {{#if:{{{author|}}}|{{{author}}},}} [{{{url|}}} {{{title|}}}], {{{site|}}} {{#if:{{{type|}}}|({{{type|}}})}}{{#if:{{{published|}}}|<i>, Published: {{{published}}}</i>}}{{#if:{{{retrieved|}}}|<i>, Retrieved: {{{retrieved}}}</i>}}</includeonly><noinclude>
+
<includeonly>{{#if:{{{quote|}}}|<i>"{{{quote|}}}"</i> —}} {{#if:{{{author|}}}|{{{author}}},}} [{{{url|}}} {{{title|}}}], {{{site|}}} {{#if:{{{published|}}}|<i>, Published: {{{published}}}</i>}}</includeonly><noinclude>
 
== Purpose ==
 
== Purpose ==
 
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.
 
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.
Line 5: Line 5:
 
== Usage ==
 
== Usage ==
 
To use, enter this code:<br>
 
To use, enter this code:<br>
{{NoWikiTemp|normal| url{{=}} | titele{{=}} | site{{=}} }}
+
<nowiki>{{Cite web|url=|title=|site=}}</nowiki>
  
 
The full code is as follows:<br>
 
The full code is as follows:<br>
{{NoWikiTemp|normal|quote{{=}} |author{{=}} |published{{=}} |retrieved {{=}} |url{{=}} |title{{=}} |site{{=}} |type{{=}} }}
+
<nowiki>{{Cite web|quote=|author=|published=|url=|title=|site=}}
  
{{Parameter|Quote|(Optional) The quoted text from the site|Optional}}
+
* '''Quote''' (optional)- The quoted text from the site
{{Parameter|Author|(Optional) The name of the person who posted or published the text|Optional}}
+
* '''Author''' (optional)- The name of the person who posted or published the text
{{Parameter|Published|(Optional) The date the text was posted or published|Optional}}
+
* '''Published'''- (optional)- The date the text was posted or published
{{Parameter|Retrieved|(Optional) The date the article was accessed for the reference|Optional}}
+
* '''Url'''- The direct URL to the page in question
{{Parameter|Url|The direct URL to the page in question|Required}}
+
* '''Title'''- The name of the article or document
{{Parameter|Title|The name of the article or document|Required}}
+
* '''Site'''- The name of the site that the article or document is hosted on (eg. IGN, Nintendo.com, etc.)|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>{{cite web|url= http://www.zeldawiki.org |title= Main Page |site= Zelda Wiki }}</pre>
 
 
 
:{{cite web|url= http://www.zeldawiki.org|title= Main Page|site= Zelda Wiki}}</code>
 
 
 
 
 
<pre>{{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}}</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}}
 
[[Category:Formatting Templates|C]]</noinclude>
 
  
 
==Origin==
 
==Origin==
 
This template was originally from ZeldaWiki.
 
This template was originally from ZeldaWiki.

Revision as of 22:36, August 21, 2011

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:
{{Cite web|url=|title=|site=}}

The full code is as follows:
<nowiki> [ ],

  • Quote (optional)- The quoted text from the site
  • Author (optional)- The name of the person who posted or published the text
  • Published- (optional)- The date the text was posted or published
  • Url- The direct URL to the page in question
  • Title- The name of the article or document
  • Site- The name of the site that the article or document is hosted on (eg. IGN, Nintendo.com, etc.)|Required}}

Origin

This template was originally from ZeldaWiki.