Template:Quote2

From MEpedia, a crowd-sourced encyclopedia of ME and CFS science and history

Documentation[edit source]

template icon Template documentation[view] [edit] [history] [purge]

Usage[edit source]

{{Quote2}} adds a block quotation to an article page.

Note: Block quotes do not normally contain quotation marks. See Manual of style.

Synopsis[edit source]

Unnamed (positional) parameters

{{quote2|text|author|source}} This markup will fail if any parameter contains an equals sign (=).

Numbered (positional) parameters

{{quote2|1=text|2=author|3=source}}

Examples[edit source]

Wikitext

{{Quote2|1=Cry "Havoc" and let slip the dogs of war.|2=William Shakespeare|3=Julius Caesar (play), act III, scene I}}

Result
Cry "Havoc" and let slip the dogs of war.

—William Shakespeare,  Julius Caesar (play), act III, scene I


Wikitext

{{Quote2|text=We are told not to worry about breakthrough cases because they are ‘mild’ – but long Covid is anything but mild | author=Hannah Davis|source=The Guardian}}

Result
We are told not to worry about breakthrough cases because they are ‘mild’ – but long Covid is anything but mild

—Hannah Davis,  The Guardian


Restrictions[edit source]

If you do not provide quoted text, the template generates a parser error message, which will appear in red text in the rendered page.

If any parameter's actual value contains an equals sign (=), you must use named parameters. (The equals sign gets interpreted as a named parameter otherwise.)

If any parameter's actual value contains characters used for wiki markup syntax (such as pipe, brackets, single quotation marks, etc.), you may need to escape it. See Template:! and friends.

Be wary of URLs which contain restricted characters. The equals sign is especially common.

Multiple paragraphs[edit source]

The <blockquote> element and any templates that use it do not honor newlines:

Markup Renders as
<blockquote>
Line 1
Line 2
Line 3
Line 4
</blockquote>

Line 1 Line 2 Line 3 Line 4

The simplest workaround for this is to use the <poem> tag inside <blockquote>, which will convert line breaks to <br /> tags:

Markup Renders as
<blockquote><poem>
Line 1
Line 2
Line 3
Line 4
</poem></blockquote>

<poem>

Line 1 Line 2 Line 3 Line 4

</poem>

TemplateData[edit source]

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly error report for this template.

TemplateData for Quote2

Adds a quote with a large quotation mark, without a title

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
text1 quote

The text to quote

Stringrequired
author(s)2 author authors person

The person who is being quoted, can be linked

Example
[[Charles Shepherd]]
Stringsuggested
source3 book article

A source for the quote - book, article, etc

Example
The flu vaccine and Chronic Fatigue Syndrome
Stringsuggested

See also[edit source]

ar:قالب:اقتباس as:Template:Quote bg:Шаблон:Цитат ca:Plantilla:Citació cs:Šablona:Citace cy:Nodyn:Dyfyniad da:Skabelon:Citat de:Vorlage:Zitat dsb:Pśedłoga:Citat es:Plantilla:Cita eo:Ŝablono:Citaĵo eu:Txantiloi:Aipua fa:الگو:نقل قول fi:Malline:Cquote fr:modèle:citation gl:Modelo:Cita gu:ઢાંચો:ઉક્તિ he:Template:ציטוט hi:साँचा:Quote hsb:Předłoha:Citat hu:Sablon:Idézet hy:Կաղապար:Քաղվածք id:Templat:Quote is:Snið:Tilvitnun it:Template:quote ja:Template:Quote ka:თარგი:ციტირება kk:Үлгі:Cquote ky:Калып:Цитата la:Formula:Locus lv:Veidne:Quotation mwl:Modelo:Quote no:Mal:Sitat os:Хуызæг:Cquote pl:Szablon:Cytat pt:Predefinição:Quote ro:Format:Cquote ru:Шаблон:Цитата sco:Template:Quote sh:Šablon:Citat sk:Šablóna:Citát sl:Predloga:Citatni blok sv:Mall:Citat

Adds a quote with a large quotation mark.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
text1 text content quote

Content of the quote

Example
Interventions with CBT/GET are potentially harmful for many patients with ME/CFS, since the underlying pathophysiological abnormalities may be intensified by physical stressors.
Unknownrequired
author2 author authors sign

Author(s)

Example
Michael Maes & Frank NM Twisk
Unknownsuggested
source3 source

book, journal, article title, citation or source of the quote

Example
BMC Medicine 2010 8:35.
Unknownsuggested