Fyrimynd:Tq/doc

Frá Wikipedia, hin frælsa alfrøðin

The template {{tq}} (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 not automatically add quotations marks, which must be appended manually if desired (recommended when inline quotation is used). Default appearance:

When you say {{tq|"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 {{tq|i=y|"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[rætta wikitekst]

Unnamed (positional) parameters
{{tq|text}}
  • text unnamed parameter is the text that is quoted. It may appear before or after any named parameters.
Using named parameters
{{tq|i=y|title=Jimbo Wales|text}}
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 title HTML attribute to text. This "offers advisory information about the element"[1]. 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.

Style[rætta wikitekst]

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:

  • inline-quote-talk  by default
  • inline-quote-talk2  if the i option is given

See also[rætta wikitekst]

  • {{Xt}}: a similar looking template to format examples of style, especially when using quotation marks or italics could be confusing.

Fyrimynd:Quotation templates