Template:Webcite: Difference between revisions
From Tolkien Gateway
m (Fixed) |
m (Playing around) |
||
Line 1: | Line 1: | ||
<includeonly>{{t|1={{{author}}}, |1{{{author|}}}=}}"[{{{articleurl}}} {{{articlename|}}}]" | <includeonly>{{t|1={{{author}}}, |1{{{author|}}}=}}"[{{{articleurl}}} {{{articlename|}}}]" 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}}} }}{{t|1=, dated {{#time: d F Y|{{{dated}}}}}|1{{{dated|}}}=}} (accessed {{#time: d F Y|{{{accessed|}}}}})</includeonly><noinclude> | ||
==Usage== | ==Usage== | ||
<pre> | <pre> |
Revision as of 19:38, 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:-
- Arda = Ardalambion
- BBC = BBC News
- Games = Tolkien computer games
- TB = TolkienBooks.net
- TL = Tolkien Library
- TORN = TheOneRing.net