Template:Webcite: Difference between revisions

From Tolkien Gateway
m (Removed gap)
m (Gap)
Line 1: Line 1:
<includeonly>{{t|1={{{author}}}, |1{{{author|}}}=}}"[{{{articleurl}}} {{{articlename|}}}]"{{t|1=, {{#time: d F Y|{{{dated}}}}}|1{{{dated|}}}=}}, {{#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>
<includeonly>{{t|1={{{author}}},&nbsp;|1{{{author|}}}=}}"[{{{articleurl}}} {{{articlename|}}}]"{{t|1=, {{#time: d F Y|{{{dated}}}}}|1{{{dated|}}}=}}, {{#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>

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