Tolkien Gateway

Template:Webcite

(Difference between revisions)
m (Trying to fix issue with month-year dates (i.e. dates with no day))
m (Undo revision 252907 by Mith (talk) Didn't work)
 
Line 1: Line 1:
<includeonly>{{t|1={{{author}}},&nbsp;|1{{{author|}}}=}}"[{{{articleurl}}} {{{articlename|}}}]" {{t|1=dated {{#time: j |{{{dated}}}}}{{#time: 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] | Guide = [http://www.tolkienguide.com/ Tolkien Collector's Guide] | Lalaith = [http://lalaith.vpsurf.de/M-earth.html Lalaith's Middle-earth Science Pages] | FAQ = [http://tolkien.slimy.com/ Tolkien Meta-FAQ] | Magpie = [http://www.amagpiesnest.com/main.htm A Magpie's Nest] | ELF = [http://www.elvish.org/ The Elvish Linguistic Fellowship] | Telegraph = [http://www.telegraph.co.uk/ The Telegraph] | Guardian = [http://www.guardian.co.uk/ The Guardian] | Kotaku = [http://www.kotaku.com Kotaku] | Independent = [http://www.independent.co.uk/ The Independent] | HS = [http://www.hammondandscull.com/index.html Hammond&Scull.com] | AM = [http://www.amazon.com/ref=gno_logo Amazon.com] | AMUK = [http://www.amazon.co.uk/ref=gno_logo Amazon.co.uk] | FB = [http://www.facebook.com/ Facebook] | YT = [http://www.youtube.com/ YouTube] | Forod = [http://www.forodrim.org/index_en.html Forodrim.org] | MEN = [http://news.mymiddleearth.com/ Middle-earth Network News] | Plaza = [http://www.lotrplaza.com/forum/default.asp ''The Lord of the Rings'' Fanatics Plaza: Forum] | TM = [http://www.tolkien-music.com/ The Tolkien Music List] | Sac = [http://sacnoths.blogspot.se/ Sacnoth's Scriptorium] | Elfling = [http://groups.yahoo.com/group/elfling/ Elfling mailing list] | EoA =[http://www.glyphweb.com/arda/ Encyclopedia of Arda] | Lambe = [http://tech.groups.yahoo.com/group/lambengolmor/ Lambengolmor mailing list] | Mythsoc = [http://groups.yahoo.com/group/mythsoc/ Mailing list for the Mythopoeic Society] | TS = [http://www.tolkiensociety.org/ The Tolkien Society] | #default = {{{website}}} }} (accessed {{#time: j F Y|{{{accessed|}}}}})</includeonly><noinclude>
+
<includeonly>{{t|1={{{author}}},&nbsp;|1{{{author|}}}=}}"[{{{articleurl}}} {{{articlename|}}}]" {{t|1=dated {{#time: j 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] | Guide = [http://www.tolkienguide.com/ Tolkien Collector's Guide] | Lalaith = [http://lalaith.vpsurf.de/M-earth.html Lalaith's Middle-earth Science Pages] | FAQ = [http://tolkien.slimy.com/ Tolkien Meta-FAQ] | Magpie = [http://www.amagpiesnest.com/main.htm A Magpie's Nest] | ELF = [http://www.elvish.org/ The Elvish Linguistic Fellowship] | Telegraph = [http://www.telegraph.co.uk/ The Telegraph] | Guardian = [http://www.guardian.co.uk/ The Guardian] | Kotaku = [http://www.kotaku.com Kotaku] | Independent = [http://www.independent.co.uk/ The Independent] | HS = [http://www.hammondandscull.com/index.html Hammond&Scull.com] | AM = [http://www.amazon.com/ref=gno_logo Amazon.com] | AMUK = [http://www.amazon.co.uk/ref=gno_logo Amazon.co.uk] | FB = [http://www.facebook.com/ Facebook] | YT = [http://www.youtube.com/ YouTube] | Forod = [http://www.forodrim.org/index_en.html Forodrim.org] | MEN = [http://news.mymiddleearth.com/ Middle-earth Network News] | Plaza = [http://www.lotrplaza.com/forum/default.asp ''The Lord of the Rings'' Fanatics Plaza: Forum] | TM = [http://www.tolkien-music.com/ The Tolkien Music List] | Sac = [http://sacnoths.blogspot.se/ Sacnoth's Scriptorium] | Elfling = [http://groups.yahoo.com/group/elfling/ Elfling mailing list] | EoA =[http://www.glyphweb.com/arda/ Encyclopedia of Arda] | Lambe = [http://tech.groups.yahoo.com/group/lambengolmor/ Lambengolmor mailing list] | Mythsoc = [http://groups.yahoo.com/group/mythsoc/ Mailing list for the Mythopoeic Society] | TS = [http://www.tolkiensociety.org/ The Tolkien Society] | #default = {{{website}}} }} (accessed {{#time: j F Y|{{{accessed|}}}}})</includeonly><noinclude>
 
==Usage==
 
==Usage==
 
<pre>
 
<pre>

Latest revision as of 08:55, 18 August 2014

[edit] 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.

[edit] Default Websites

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