Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /var/www/vhosts/tangowiki/includes/diff/DairikiDiff.php on line 434

Warning: Parameter 2 to Cite::checkRefsNoReferences() expected to be a reference, value given in /var/www/vhosts/tangowiki/includes/Hooks.php on line 201

Warning: Parameter 2 to Cite::checkRefsNoReferences() expected to be a reference, value given in /var/www/vhosts/tangowiki/includes/Hooks.php on line 201

Warning: Parameter 2 to Cite::checkRefsNoReferences() expected to be a reference, value given in /var/www/vhosts/tangowiki/includes/Hooks.php on line 201

Warning: Parameter 2 to Cite::checkRefsNoReferences() expected to be a reference, value given in /var/www/vhosts/tangowiki/includes/Hooks.php on line 201

Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/tangowiki/extensions/SemanticForms/includes/SF_Utils.php on line 262

Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/tangowiki/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3_Readers.php on line 399

Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/tangowiki/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3_Readers.php on line 487
Difference between revisions of "Template:Quote/doc" - TangoWiki

Difference between revisions of "Template:Quote/doc"

From Tangowiki
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:

  1. William Shakespeare: Hamlet. The Arden Shakespeare. Third Series. Edited by Ann Thompson and Neil Taylor. Volume one. London 2006