Navigation menu
Template:Cite web: Difference between revisions
From Metroid Wiki
Melchizedek (talk | contribs) No edit summary |
mNo edit summary |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{#ifeq:{{{quote|}}}|{{void}}|{{void}}|"<i>{{{quote|}}}</i>"}} [{{{url|}}} {{{title|}}}], {{{site|}}} {{#ifeq:{{{type|}}}|||({{{type|}}})}}</includeonly><noinclude> | ||
== Purpose == | == Purpose == | ||
Line 7: | Line 7: | ||
To use, enter this code: | To use, enter this code: | ||
::'''<nowiki>{{Cite web</nowiki>'''|'' | ::'''<nowiki>{{Cite web</nowiki>'''|''quote= [quote]| url= [URL]| title= [page title]| site= [site name]| type= [type of document]'''''}}''' | ||
Replace the parts in [ brackets ] like so: | Replace the parts in [ brackets ] like so: | ||
Line 23: | Line 23: | ||
Example: | Example: | ||
:<code><nowiki>{{ | :<code><nowiki>{{cite web|quote= Hello.|url= http://www.metroidwiki.org|title= Main Page|site= Metroid Wiki}}</nowiki></code> | ||
Will generate: | Will generate: | ||
:{{ | :{{cite web|quote= Hello.|url= http://www.metroidwiki.org|title= Main Page|site= Metroid Wiki}} | ||
[[Category: | [[Category:Reference Templates|{{PAGENAME}}]]</noinclude> |
Latest revision as of 06:36, 25 January 2011
Purpose[edit source]
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 source]
To use, enter this code:
- {{Cite web|quote= [quote]| url= [URL]| title= [page title]| site= [site name]| type= [type of document]}}
Replace the parts in [ brackets ] like so:
- quote
- This is the actual quote from the site.
- url
- Make this the direct URL to the page in question. Note that ?'s in URLs will not work.
- title
- This is the name of the article or document you're linking to.
- site
- This is the name of the site that the article or document is hosted on (i.e. IGN, Nintendo.com, etc.).
- type
- This is an optional field, and should be used when the page you're linking to is not a regular HTML page. You should then say in this field what type of document it is (i.e. "PDF File", "Word Document", "PNG Image", etc.).
Example:
{{cite web|quote= Hello.|url= http://www.metroidwiki.org|title= Main Page|site= Metroid Wiki}}
Will generate:
- "Hello." Main Page, Metroid Wiki