No edit summary |
Aegonostic (talk | contribs) (Add parameter "quote") |
||
(13 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<onlyinclude><includeonly>{{ |
<onlyinclude><includeonly>{{ |
||
#if: {{#if: {{{url|}}} | {{#if: {{{title|}}} |1}}}} |
#if: {{#if: {{{url|}}} | {{#if: {{{title|}}} |1}}}} |
||
− | |{{#if: {{{author|}}}|{{{author}}} |
+ | |{{#if:{{{quote|}}}|''"{{{quote|}}}"'' —}}{{#if: {{{author|}}}|{{{author}}}{{#if: {{{date|}}}| ({{{date}}})|}}. |}}[{{{url}}} {{{title}}}]. {{#if: {{{author|}}}||{{#if: {{{date|}}}|({{{date}}}). |}}}}{{#if: {{{work|}}}|{{{work}}}. }}{{#if: {{{accessdate|}}}|Retrieved on {{{accessdate}}}.|}} |
− | |'''<span style="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> |
This is a simple template used to provide uniform references. |
This is a simple template used to provide uniform references. |
||
* '''url and title are required parameters''' |
* '''url and title are required parameters''' |
||
− | * author |
+ | * author and date/accessdate are optional, but is encouraged |
− | * provide dates in the YYYY-MM-DD format |
+ | ** provide dates in the YYYY-MM-DD format |
==Example usage== |
==Example usage== |
||
− | <nowiki>{{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 |
+ | <nowiki>{{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}}</nowiki> |
+ | |||
+ | Produces: |
||
+ | |||
+ | {{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}} |
Revision as of 04:42, 25 June 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.