Difference between revisions of "Template:Quote/doc"
Line 1: | Line 1: | ||
This template is used for a quote within a text. | This template is used for a quote within a text. | ||
− | It should be used in the following format: <code><nowiki>{{Quote|Quote text|Speaker|Source}}</nowiki></code>. | + | It should be used in the following format: <code><nowiki>{{Quote|</nowiki>''Quote text''<nowiki>|</nowiki>''Speaker''<nowiki>|</nowiki>''Source''<nowiki>}}</nowiki></code>. |
*Quote text: The content to quote. | *Quote text: The content to quote. | ||
*Speaker: The person or name of the source. | *Speaker: The person or name of the source. | ||
*Source: The reference to the source. | *Source: The reference to the source. | ||
+ | |||
+ | There is no need to name the parts, but they '''need to be in the right order:''' | ||
+ | |||
+ | <code><nowiki>{{Quote</nowiki><br /><nowiki> | ||
+ | |</nowiki>''Quote text''<br /><nowiki> | ||
+ | |</nowiki>''Speaker''<br /><nowiki> | ||
+ | |</nowiki>''Source''<br /><nowiki>}}</nowiki></code> | ||
+ | |||
Make sure to see if the source references are called with <code><nowiki><references /></nowiki></code> somewhere at the end of the page. | Make sure to see if the source references are called with <code><nowiki><references /></nowiki></code> somewhere at the end of the page. | ||
Line 15: | Line 23: | ||
{{Quote|To be, or not to be, that is the question.|Hamlet (William Shakespeare)|William Shakespeare: Hamlet. The Arden Shakespeare. Third Series. Edited by Ann Thompson and Neil Taylor. Volume one. London 2006}} | {{Quote|To be, or not to be, that is the question.|Hamlet (William Shakespeare)|William Shakespeare: Hamlet. The Arden Shakespeare. Third Series. Edited by Ann Thompson and Neil Taylor. Volume one. London 2006}} | ||
+ | |||
+ | For longer quotes, it makes sense to add line breaks to the layout: | ||
+ | |||
+ | <code><nowiki>{{Quote</nowiki><br /><nowiki> | ||
+ | |</nowiki>To be, or not to be, that is the question.<br /><nowiki> | ||
+ | |</nowiki>Hamlet (William Shakespeare)<br /><nowiki> | ||
+ | |</nowiki>William Shakespeare: Hamlet. The Arden Shakespeare. Third Series. Edited by Ann Thompson and Neil Taylor. Volume one. London 2006<br /><nowiki>}}</nowiki></code> | ||
References: | References: | ||
<references /> | <references /> |
Revision as of 02:55, 22 April 2015
This template is used for a quote within a text.
It should be used in the following format: {{Quote|Quote text|Speaker|Source}}
.
- Quote text: The content to quote.
- Speaker: The person or name of the source.
- Source: The reference to the source.
There is no need to name the parts, but they need to be in the right order:
{{Quote
|Quote text
|Speaker
|Source
}}
Make sure to see if the source references are called with <references />
somewhere at the end of the page.
Example
{{Quote|To be, or not to be, that is the question.|Hamlet (William Shakespeare)|William Shakespeare: Hamlet. The Arden Shakespeare. Third Series. Edited by Ann Thompson and Neil Taylor. Volume one. London 2006}}
This brings you:
To be, or not to be, that is the question.
Hamlet (William Shakespeare)[1]
For longer quotes, it makes sense to add line breaks to the layout:
{{Quote
|To be, or not to be, that is the question.
|Hamlet (William Shakespeare)
|William Shakespeare: Hamlet. The Arden Shakespeare. Third Series. Edited by Ann Thompson and Neil Taylor. Volume one. London 2006
}}
References:
- ↑ William Shakespeare: Hamlet. The Arden Shakespeare. Third Series. Edited by Ann Thompson and Neil Taylor. Volume one. London 2006