Template:Tq/doc

The template (for "talk 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. If the parameter i is given, the text will be rendered in italics; otherwise, it will appear in a serif font. It does automatically add quotations marks, which must be appended manually if desired (recommended when inline quotation is used). Default appearance:


 * When you say "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.

In italics:


 * When you say "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.

Parameters

 * Unnamed (positional) parameters
 * text unnamed parameter is the text that is quoted. It may appear before or after any named parameters.
 * text unnamed parameter is the text that is quoted. It may appear before or after any named parameters.


 * Using named parameters


 * Explanation of named parameters
 * i: If set to any value, makes the text italic and sans-serif, instead of the default non-italic and serif, and adds a special CSS class (see below)
 * title: Add  HTML attribute to text. This "offers advisory information about the element".  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.

Style
The template applies a green color and also changes the font to serif (or, optionally, 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:
 * by default
 * if the i option is given