Template:Cite web: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
m (MediaWiki is disgusting sometimes.)
mNo edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#tag:ref|{{#if:{{{quote|}}}|{{transcript|{{{quote}}}{{#if:{{{author|}}}|{{!}}{{{author}}}}}}},&nbsp;}}[{{{1}}} {{{2}}}] on {{{3}}}{{#if:{{{published|}}}|, published on {{{published}}}}}}}</includeonly><noinclude>
<includeonly>{{#if:{{{rname|}}}|{{#if:{{{1|}}}|{{#tag:ref|{{#if:{{{quote|}}}|{{transcript|{{{quote}}}|{{{author|}}}}},&nbsp;}}[{{{1}}} {{{2}}}] on {{{3}}}{{#if:{{{published|}}}|, published on {{{published}}}}}{{#if:{{{retrieved|}}}|, retrieved on {{{retrieved}}}}}|name={{{rname}}}}}|{{#tag:ref||name={{{rname}}}}}}}|{{#tag:ref|{{#if:{{{quote|}}}|{{transcript|{{{quote}}}|{{{author|}}}}},&nbsp;}}[{{{1}}} {{{2}}}] on {{{3}}}{{#if:{{{published|}}}|, published on {{{published}}}}}{{#if:{{{retrieved|}}}|, retrieved on {{{retrieved}}}}}}}}}</includeonly><noinclude>


==Info==
==Info==
Line 9: Line 9:
|-
|-
! 1
! 1
| '''Yes''' ||  || URL || Page URL.
| No ||  || URL || Page URL.
|-
|-
! 2
! 2
| '''Yes''' ||  || Page title || Title of the page.
| No ||  || Page title || Title of the page.
|-
|-
! 3
! 3
| '''Yes''' ||  || Site || Name of the website.
| No ||  || Site || Name of the website.
|-
|-
! quote
! quote
Line 25: Line 25:
! published
! published
| No ||  || Publication date || Date of publication of the page or post in question. Use {{tem|date}}.
| No ||  || Publication date || Date of publication of the page or post in question. Use {{tem|date}}.
|-
! retrieved
| No ||  || Retrieval date || Date in which this source was obtained. Use {{tem|date}}.
|-
! rname
| No ||  || Ref name || Name attribute on the &lt;ref&gt; tag. You can use only this parameter, if there is already another reference with the same name previously in the article.
|}
|}


==Skeleton==
==Skeleton==
<pre>{{cite web|&lt;url&gt;|&lt;page title&gt;|&lt;site&gt;|quote=&lt;quote?&gt;|author=&lt;quote author?&gt;|published=&lt;publication date?&gt;}}</pre>
<pre>{{cite web|&lt;url&gt;|&lt;page title&gt;|&lt;site&gt;|quote=&lt;quote?&gt;|author=&lt;quote author?&gt;|published=&lt;publication date?&gt;|retrieved=&lt;retrieval date?&gt;|rname=&lt;ref name?&gt;}}</pre>


[[Category:Citation templates]]
[[Category:Citation templates]]</noinclude>
</noinclude>

Latest revision as of 03:30, August 6, 2020


Info

Use this template to use a web page as a source of information.

Parameters

Parameter Mandatory Default Purpose Detailed description
1 No URL Page URL.
2 No Page title Title of the page.
3 No Site Name of the website.
quote No Quote If there is any particular quote on the website to use as a source, write it here.
author No Author Author of the quote, if any.
published No Publication date Date of publication of the page or post in question. Use {{date}}.
retrieved No Retrieval date Date in which this source was obtained. Use {{date}}.
rname No Ref name Name attribute on the <ref> tag. You can use only this parameter, if there is already another reference with the same name previously in the article.

Skeleton

{{cite web|<url>|<page title>|<site>|quote=<quote?>|author=<quote author?>|published=<publication date?>|retrieved=<retrieval date?>|rname=<ref name?>}}