Template:Cite web: Difference between revisions
Jump to navigation
Jump to search
(Borrowing code from the Zelda wiki for web citations, if necessary.) |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{quote|}}}|''"{{{quote|}}}"'' —}} {{#if:{{{author|}}}|{{{author}}},}} [{{{url|}}} {{{title|}}}], {{{site|}}}{{#if:{{{type|}}}| ({{{type|}}})}}{{#if:{{{published|}}}|, published {{{published}}}}}{{#if:{{{retrieved|}}}|, retrieved {{{retrieved}}}}}.</includeonly><noinclude> | <includeonly>{{#if:{{{quote|}}}|''"{{{quote|}}}"'' —}} {{#if:{{{author|}}}|{{{author}}},}} [{{{url|}}} {{{title|}}}], {{{site|}}}{{#if:{{{type|}}}| ({{{type|}}})}}{{#if:{{{published|}}}|, published {{{published}}}}}{{#if:{{{retrieved|}}}|, retrieved {{{retrieved}}}}}.</includeonly><noinclude> | ||
== Usage == | == Usage == | ||
To use, enter this code:<br> | To use, enter this code:<br> | ||
{{ | <nowiki>{{cite web|url= |title= |site= |published= |retrieved=}}</nowiki> | ||
The full code is as follows:<br> | The full code is as follows:<br> | ||
{{ | <nowiki>{{cite web|quote=|author=|url=|title=|site=|type=|published=|retrieved=}}</nowiki> | ||
* Quote: The quoted text from the site (optional) | |||
* Author: The name of the person who posted or published the text (optional) | |||
* Published: The date the text was posted or published (optional) | |||
* Retrieved: The date the article was accessed for the reference (optional) | |||
* URL: The direct URL to the page in question (required) | |||
* Title: The name of the article or document (required) | |||
* Site: The name of the site that the article or document is hosted on (required) | |||
* Type: 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== | ==Examples== | ||
<pre>{{cite web|url= http://www. | <pre>{{cite web|url= http://www.example.com |title= Example |site= Example website}}</pre> | ||
:{{cite web|url= http://www. | :{{cite web|url= http://www.example.com|title= Example|site=Example website}} | ||
Line 28: | Line 25: | ||
:{{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}} | ||
</noinclude> |
Latest revision as of 02:05, 9 October 2015
Usage
To use, enter this code:
{{cite web|url= |title= |site= |published= |retrieved=}}
The full code is as follows:
{{cite web|quote=|author=|url=|title=|site=|type=|published=|retrieved=}}
- Quote: The quoted text from the site (optional)
- Author: The name of the person who posted or published the text (optional)
- Published: The date the text was posted or published (optional)
- Retrieved: The date the article was accessed for the reference (optional)
- URL: The direct URL to the page in question (required)
- Title: The name of the article or document (required)
- Site: The name of the site that the article or document is hosted on (required)
- Type: 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
{{cite web|url= http://www.example.com |title= Example |site= Example website}}
- Example, Example website.
{{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}}
- "Hello world!" — John Smith, Hello!, Testing.Org, published May 13, 2001, retrieved July 24, 2009.