Jump to content

Template:Quote inline/doc

From Wikipedia, the free encyclopedia

Template {{quote inline}} (or the shortcut {{qi}}) is used to quote text inline. For use on talk pages, see {{talk quote inline}}.

Usage

[edit]

Parameters

[edit]
  • |1= for text
  • |title= for title
  • |i= or |italic= for italic
  • |q= or |quotes= for quotation marks (defaulted to 'yes')

Examples

[edit]
What you write
...when you said, {{qi|Lorem ipsum '''dolor''' sit}}, and, {{qi|consectetur adipiscing elit|i=yes|title=This is a tooltip}}.
What you get
...when you said, Lorem ipsum dolor sit, and, consectetur adipiscing elit.
What you write
...when you said, {{qi|Lorem ipsum '''dolor''' sit|q=}}, and, {{qi|consectetur adipiscing elit|q=|i=yes|title=This is a tooltip}}.
What you get
...when you said, Lorem ipsum dolor sit, and, consectetur adipiscing elit.

(Run your mouse over the words "consectetur adipiscing elit" and in a second you will see a tooltip pop up next to the mouse cursor which says, "This is a tooltip".)

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Quote inline in articles based on its TemplateData.

TemplateData for Quote inline

Highlights a short excerpt of quoted material of other editors' comments or from an article or source

Template parameters

ParameterDescriptionTypeStatus
Text1

Text to highlight

Contentrequired
Titletitle

Takes text, which cannot be marked up in any way, and displays it as a pop-up "tooltip" (in most browsers) when the cursor hovers over the span. The most common use of this is to provide attribution.

Stringoptional
Italic?italic i

Makes the content italicised and the same sans-serif font as normal text

Booleanoptional
Quotes?quotes q

Use 'yes' or any non-blank value to add quotation marks around the text

Default
yes
Booleanoptional

See also

[edit]