Tolkien Gateway

Template:Webcite

(Difference between revisions)
(Added more default website)
m (Fixed)
Line 1: Line 1:
<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] | TB = [http://www.tolkienbooks.net/ TolkienBooks.net] | TG = [http://www.lysator.liu.se/tolkien-games/ Tolkien computer games] | Arda = [http://www.uib.no/People/hnohf/ Ardalambion] | #default = {{{website}}} }} (accessed {{#time: d F Y|{{{accessed|}}}}})</includeonly><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] | TB = [http://www.tolkienbooks.net/ TolkienBooks.net] | Games = [http://www.lysator.liu.se/tolkien-games/ Tolkien computer games] | Arda = [http://www.uib.no/People/hnohf/ Ardalambion] | #default = {{{website}}} }} (accessed {{#time: d F Y|{{{accessed|}}}}})</includeonly><noinclude>
 
==Usage==
 
==Usage==
 
<pre>
 
<pre>
Line 16: Line 16:
 
*'''Arda''' = [http://www.uib.no/People/hnohf/ Ardalambion]
 
*'''Arda''' = [http://www.uib.no/People/hnohf/ Ardalambion]
 
*'''BBC''' = [http://www.bbc.co.uk/news BBC News]
 
*'''BBC''' = [http://www.bbc.co.uk/news BBC News]
*'''TB''' = [http://www.tolkienbooks.net/ TolkienBooks.net]
 
 
*'''Games''' = [http://www.lysator.liu.se/tolkien-games/ Tolkien computer games]
 
*'''Games''' = [http://www.lysator.liu.se/tolkien-games/ Tolkien computer games]
 +
*'''TB''' = [http://www.tolkienbooks.net/ TolkienBooks.net]
 
*'''TL''' = [http://www.tolkienlibrary.com Tolkien Library]
 
*'''TL''' = [http://www.tolkienlibrary.com Tolkien Library]
 
*'''TORN''' = [http://www.theonering.net TheOneRing.net]
 
*'''TORN''' = [http://www.theonering.net TheOneRing.net]
 
[[Category:Citation templates]]</noinclude>
 
[[Category:Citation templates]]</noinclude>

Revision as of 19:15, 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.

Default Websites

You can put these in the "website" field and the name and URL will be automatically filled in:-