Difference between revisions of "Template:Citen"

From GamerGate Wiki
Jump to: navigation, search
m (1 revision imported)
(Improved instructions. Brought into compliance with Template:cite)
Line 1: Line 1:
<span class="plainlinks">{{{site|No site name given}}} - ''{{#if:{{{url|}}}|[{{{url}}} {{{title|No title given}}}]|No URL given, are you even trying?}} {{#if:{{{by|}}}|by {{{by}}}}}'' {{#if:{{{aurl|}}}|([{{{aurl}}} archive{{#if:{{{aurl2|}}}| 1}}])}}{{#if:{{{aurl2|}}}|([{{{aurl2}}} archive 2])}}{{#if:{{{aurl3|}}}|([{{{aurl3}}} archive 3])}}</span><noinclude>
+
<span class="plainlinks">{{#if:{{{by|}}}|{{{by}}}}} {{#if:{{{date|}}}| ({{{date}}})}} - "{{#if:{{{url|}}}|[{{{url}}} {{{title|No title given}}}]|No URL given, are you even trying?}}" ''{{{site|No site name given}}}'' {{#if:{{{ret|}}}|- Retrieved {{{ret}}}}} {{#if:{{{aurl|}}}|([{{{aurl}}} archive{{#if:{{{aurl2|}}}| 1}}])}}{{#if:{{{aurl2|}}}|([{{{aurl2}}} archive 2])}}{{#if:{{{aurl3|}}}|([{{{aurl3}}} archive 3])}}</span><noinclude>
 
==Parameters==
 
==Parameters==
<pre>{{citen|site=|url=|title=|by=|aurl=}}</pre>
+
<pre><ref name=>{{citen|site=|url=|title=|by=|date=|ret=|aurl=|aurl2=|aurl3=}}</ref></pre>
 
;site:Website name
 
;site:Website name
 
;url:URL to website
 
;url:URL to website
;title:Title of article or webpage -date recieved
+
;title:Title of article or webpage -date received
;by:Author - date published
+
;by:Author  
 +
;date:Date the source was published
 +
;ret:Date retrieved (the date when looked at the source)
 
;aurl:URL to archive
 
;aurl:URL to archive
;aurl2: URL to second archive (optional)
+
;aurl2:URL to second archive (optional)
;aurl3: URL to third archive (optional)
+
;aurl3:URL to third archive (optional)
 +
 
 +
==Use==
 +
For multi use citations. If you need to make use of a reference only once per article, use the [[Template:Cite|cite Template]]
 +
 
  
 
==Example==
 
==Example==
First instance.<pre><ref name=google>{{citen|site=Google|url=http://www.google.com/|title=Google home page|aurl=https://archive.today/po9Fj|by=Human Being}}</pre>Second instance.<pre><ref name=google /></pre>
+
First instance.<pre><ref name=google>{{citen|site=Google|url=http://www.google.com/|title=Google home page|aurl=https://archive.today/po9Fj|by=Human Being|ret=12 May 2019|date=5 December 2017}}</ref></pre>Second instance.<pre><ref name=google /></pre>
First instance.<ref name=google>{{citen|site=Google|url=http://www.google.com/|title=Google home page|aurl=https://archive.today/po9Fj|by=Human Being}}</ref>
+
First instance.<ref name=google>{{citen|site=Google|url=http://www.google.com/|title=Google home page|aurl=https://archive.today/po9Fj|by=Human Being|ret=12 May 2019|date=5 December 2017}}</ref>
 
Second instance.<ref name=google />
 
Second instance.<ref name=google />
 
<references/>[[Category:Templates]]</noinclude>
 
<references/>[[Category:Templates]]</noinclude>

Revision as of 13:08, 13 September 2019

- "No URL given, are you even trying?" No site name given

Parameters

<ref name=>{{citen|site=|url=|title=|by=|date=|ret=|aurl=|aurl2=|aurl3=}}</ref>
site
Website name
url
URL to website
title
Title of article or webpage -date received
by
Author
date
Date the source was published
ret
Date retrieved (the date when looked at the source)
aurl
URL to archive
aurl2
URL to second archive (optional)
aurl3
URL to third archive (optional)

Use

For multi use citations. If you need to make use of a reference only once per article, use the cite Template


Example

First instance.
<ref name=google>{{citen|site=Google|url=http://www.google.com/|title=Google home page|aurl=https://archive.today/po9Fj|by=Human Being|ret=12 May 2019|date=5 December 2017}}</ref>
Second instance.
<ref name=google />

First instance.[1] Second instance.[1]

  1. 1.0 1.1 Human Being (5 December 2017) - "Google home page" Google - Retrieved 12 May 2019 (archive)