close
Sayahna Sayahna
Search

Template:Qq/doc


Usage

The template {{Qq}} (for "quick quotation") can be used in talk page discussions to quote, in a visually and CSS-class distinct way, material quoted, e.g. from a guideline or from another editor's previous post. The text will appear in a sans-serif font and italics, surrounded by double quotation marks. Extra parameters allow linking to a policy page, user page, or reference easily.

Examples

When you say {{Qq|I'm not certain that source is entirely reliable}}, I think I see what you mean now.
When you say "I'm not certain that source is entirely reliable", I think I see what you mean now.
*{{Qq|r=NYT Article|I'm not certain that source is entirely reliable}}
  • "I'm not certain that source is entirely reliable" -NYT Article
*{{Qq|u=ExampleUser|I'm not certain that source is entirely reliable}}
  • "I'm not certain that source is entirely reliable" -ExampleUser
*{{Qq|p=BLP|I'm not certain that source is entirely reliable}}
  • "I'm not certain that source is entirely reliable" -WP:BLP
*{{Qq|d=https://en.wikipedia.org/w/index.php?title=Template:Qq/doc&diff=588690154&oldid=588689883|I'm not certain that source is entirely reliable}}
  • "I'm not certain that source is entirely reliable" ([1])

Parameters

Unnamed (positional) parameters
{{Qq|text}}
  • text unnamed parameter is the text that is quoted. It may appear before or after any named parameters.
Using named parameters
{{Qq|title=Jimbo Wales|tg=y|r=Reference|u=User quoted|p=Policy quoted|d=Diff|text}}
Explanation of named parameters
  • title: Add title HTML attribute to text. This "offers advisory information about the element"[2]. On most browsers the title appears as a pop-up "tooltip" when the cursor is hovered over the text. It is suggested that this parameter be used to name the party/source being quoted. This parameter cannot contain any wikimarkup, HTML or other formatting, only plain text.
  • tg: Use tg=y to render typographic quotation marks glyphs (curly quotes) instead of typewriter glyphs.
  • r: Adds a reference to the end of the quote, in plain text.
  • u: Links to a user page to reference the quote
  • p: Links to a page in wikipedia-space, for instance a policy page, to reference the quote.
  • d: Links to a diff to reference the quote
The parameters r, u and p are mutually exclusive. If more than one is included, only one will be displayed.

Style

The template applies a green color and also (because some users are color-blind) changes the font to serif sans-serif in italics. For users of screen readers with user CSS at the browser end, or WP users who simply like to customize the appearance of page elements by editing their Special:Mypage/skin.css, the template applies CSS classes to the marked up content:

  • inline-quote-talk2 by default

See also

  • {{Talkquote}} – for quoting other editors (or guidelines, etc.) on talk pages, in a block
  • {{Tq}} - Similar to this template, without quotation marks, different defaults and options.