Template:Quote article content/doc

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Lua error in Module:TNT at line 159: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Uses TemplateStyles.tab.

Use to show examples of article content that is transcluded/copied/quoted onto help, info and how-to pages in Wikipedia or Help namespaces.

Examples

[edit source]

With content

[edit source]
{{Quote article content
| {{about|the village in England|H.P. Lovecraft's fictional town|Dunwich (Lovecraft)}}
'''Dunwich''' ({{IPAc-en|ˈ|d|ʌ|n|ɪ|}}) is a town in the county of [[Suffolk]] in [[England]], the remnant of what was once a prosperous seaport and centre of the wool trade during the early [[middle ages]], with a natural harbour formed by the mouths of the [[River Blyth, Suffolk|River Blyth]]. ...
}}

Dunwich (/ˈdʌnɪ/) is a town in the county of Suffolk in England, the remnant of what was once a prosperous seaport and centre of the wool trade during the early middle ages, with a natural harbour formed by the mouths of the River Blyth. ...

With aria-label

[edit source]
{{Quote article content
| {{distinguish|Pearl}}
'''Perl''' is a family of [[High-level programming language|high-level]], [[General-purpose programming language|general-purpose]], [[Interpreter (computing)|interpreted]], [[dynamic programming language]]s. ...
|aria-label = Example from article on monkeys with a list of species
}}

Perl is a family of high-level, general-purpose, interpreted, dynamic programming languages. ...

With green color

[edit source]
{{Quote article content
| {{other uses|Monolith (disambiguation)}}|{{other uses|Monolith (disambiguation)}}
| A '''monolith''' is a [[monument]] or natural feature, such as a [[mountain]], consisting of a single massive [[Rock (geology)|stone]] or rock. [[Erosion]] usually exposes these formations. ...
| xt = 1
}}
}}

A monolith is a monument or natural feature, such as a mountain, consisting of a single massive stone or rock. Erosion usually exposes these formations. ...

Using {{xt}}

[edit source]
{{Quote article content
|{{xt|{{other uses|Monolith (disambiguation)}}}}
{{xt|A '''monolith''' is a [[monument]] or natural feature, such as a [[mountain]], consisting of a single massive [[Rock (geology)|stone]] or rock. [[Erosion]] usually exposes these formations. ...}}
}}

A monolith is a monument or natural feature, such as a mountain, consisting of a single massive stone or rock. Erosion usually exposes these formations. ...

Stacked

[edit source]
{{Quote article content
| Content1
}}
{{Quote article content
| Content2
}}
{{Quote article content
| Content3
}}

Content1

Content2

Content3

Droptarget

[edit source]
{{Quote article content
| droptarget=1
| Droptarget
}}
Droptarget

Accessibility

[edit source]

|aria-label= can be given a value, screen readers will read this out. It default to Article excerpt. The WAI-ARIA role="figure" is automatically given to the quote per the standard: "A figure is a perceivable section of content that typically contains a graphical document, images, code snippets, or example text."

Parameters

[edit source]

Use to show examples of article content that is transcluded/copied/quoted onto help, info, and how-to pages in Wikipedia or Help namespaces.

Template parameters

ParameterDescriptionTypeStatus
Contentcontent text 1

The quoted article content or excerpt.

Contentrequired
Green markupcolor green xt

Color the contents green like {{xt}}

Default
0
Example
1
Booleanoptional
Classclass

Custom classes

Unknownoptional
Stylestyle

Custom styles

Unknownoptional
ARIA labelaria-label

no description

Unknownoptional
xtxt

no description

Unknownoptional
greengreen

no description

Unknownoptional
11

no description

Unknownoptional
texttext

no description

Unknownoptional

See also

[edit source]