Template:Webcite: Difference between revisions

From Tolkien Gateway
(Idea)
 
m (Usage)
Line 1: Line 1:
<includeonly>{{t|1={{{author}}}, |1{{{author|}}}=}}"[{{{articleurl}}} {{{articlename|}}}]" {{t|1=(dated {{#time: d F Y |{{{dated}}}}})|1{{{dated|}}}=}} on {{{website}}} (accessed {{#time: d F Y |{{{accessed}}}}})</includeonly><noinclude>[[Category:Citation templates]]</noinclude>
<includeonly>{{t|1={{{author}}}, |1{{{author|}}}=}}"[{{{articleurl}}} {{{articlename|}}}]" {{t|1=(dated {{#time: d F Y|{{{dated}}}}})|1{{{dated|}}}=}} on {{#switch:{{{website}}} | TORN = [http://www.theonering.net TheOneRing.net] | BBC = [http://www.bbc.co.uk/news BBC News] | TL = [http://www.tolkienlibrary.com Tolkien Library] | #default = {{{website}}} }} (accessed {{#time: d F Y|{{{accessed|}}}}})</includeonly><noinclude>
==Usage==
<pre>
{{webcite|author=|articleurl=|articlename=|dated=|website=|accessed=}}
</pre>
Where<br/>
'''author''' is the author of the article (''optional'');<br/>
'''articleurl''' is the URL of the article;<br/>
'''articlename''' is the name of the article (''optional'');<br/>
'''dated''' is the date of the article (''optional'');<br/>
'''website''' is the name and URL of the website;<br/>
'''accessed''' is the date you accessed the article.
[[Category:Citation templates]]</noinclude>

Revision as of 19:04, 18 December 2011

Usage

{{webcite|author=|articleurl=|articlename=|dated=|website=|accessed=}}

Where
author is the author of the article (optional);
articleurl is the URL of the article;
articlename is the name of the article (optional);
dated is the date of the article (optional);
website is the name and URL of the website;
accessed is the date you accessed the article.