MarkusRost (talk | contribs) mNo edit summary |
MarkusRost (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
<onlyinclude><includeonly>{{ |
<onlyinclude><includeonly>{{ |
||
#if: {{#if: {{{url|}}} | {{#if: {{{title|}}} |1}}}} |
#if: {{#if: {{{url|}}} | {{#if: {{{title|}}} |1}}}} |
||
− | |{{#if: {{{author|}}}|{{{author}}}{{#if: {{{date|}}}| ({{{date}}})|}}. |}}[{{{url}}} {{{title}}}]. {{#if: {{{author|}}}||{{#if: {{{date|}}}|({{{date}}}). |}}}}{{#if: {{{work}}}|{{{work}}}. }}{{#if: {{{accessdate|}}}|Retrieved on {{{accessdate}}}.|}} |
+ | |{{#if: {{{author|}}}|{{{author}}}{{#if: {{{date|}}}| ({{{date}}})|}}. |}}[{{{url}}} {{{title}}}]. {{#if: {{{author|}}}||{{#if: {{{date|}}}|({{{date}}}). |}}}}{{#if: {{{work|}}}|{{{work}}}. }}{{#if: {{{accessdate|}}}|Retrieved on {{{accessdate}}}.|}} |
|'''<span style="font-size:1.4em; color:red">Error on call to [[Template:Cite web]] - parameters ''url'' and ''title'' must be specified.</span>'''}}</includeonly></onlyinclude> |
|'''<span style="font-size:1.4em; color:red">Error on call to [[Template:Cite web]] - parameters ''url'' and ''title'' must be specified.</span>'''}}</includeonly></onlyinclude> |
||
Revision as of 11:38, 6 April 2018
This is a simple template used to provide uniform references.
- url and title are required parameters
- author and date/accessdate are optional, but is encouraged
- provide dates in the YYYY-MM-DD format
Example usage
{{Cite web|url=http://us.battle.net/hearthstone/en/blog/13154923/welcome-to-the-hearthstone-launch-3-11-2014|title=Welcome to the Hearthstone Launch!|date=2014-03-11|accessdate=2084-06-05|work=Blizzard}}
Produces:
Welcome to the Hearthstone Launch!. (2014-03-11). Blizzard. Retrieved on 2084-06-05.