Lua error in Module:TNT at line 157: attempt to index field 'data' (a nil value).
Usage
Use {{Talk quote block}} or {{tqb}} (a.k.a. {{Talkquote}}, {{Talk quote}}, or {{tq2}}) to quote (another's comments, a policy statement, etc.) in a block, on talk pages and noticeboards. It can be safely used after colon-indenting as well (see the § Indenting example below [§ Caveats]). For a short inline quote, instead use {{Talk quote inline}} (a.k.a. {{Talk quotation}} or {{tq}}).
Parameters
- Unnamed (positional) parameters
{{talk quote block|text|by}}
- The order of positional parameters cannot change - text must come before by.
- Using named parameters
{{talk quote block|text=text|by=by|source=source|ts=ts|oldid=oldid}}
- Explanation of named parameters:
- text (or 1): The text being quoted.
- by (or 2): The author of the text being quoted. A Wikipedia username is expected, and the username will be provided as a wikilink to the author's user page.
- source: The source of the text being quoted. Use instead of by when source is not individual user.
- ts: The timestamp of the edit whose text is being quoted. Hint: You can use five tildes to supply the current date and time:
|ts=~~~~~.
- oldid: The revision ID of the edit introducing the change that was made. Displayed as the timestamp linking to the Diff of the edit. (requires ts parameter or is not shown)
- diff: The revision ID of the Diff comparing target.
- style: HTML in-line style. (see the testcases)
Examples
{{talk quote block|some random text|Example}} gives:
{{talk quote block|more random text|Example|ts=08:52, 21 May 2011 (UTC)}} gives:
{{talk quote block|different random text|Example|ts=08:52, 21 May 2011 (UTC)|oldid=139992}} gives:
- (Note: ts parameter must be present for oldid link to show)
Suggested boilerplate
{{tq2|1=<nowiki/>
|source=}}
{{tq2|1=<nowiki/>
|by=|ts=|oldid=}}
Indenting
The template works with standard talk page indentation, as the following example illustrates. This wiki-markup:
Random paragraph of text. [[User:Example|Example]] ([[User talk:Example|talk]]) 09:20, 21 May 2011 (UTC)
:Opening statement by [[User:User|Some other user]].
:{{talk quote block|Quoting an item from random paragraph.}}
:Response to quoted text. [[User:User|Some other user]] ([[User talk:User|talk]]) ~~~~~
...displays the following:
Quoting lists
If the text you are quoting is a bulleted or numbered list, the first list item must start on a new line, or it won't be rendered properly. For example:
| Wiki-markup |
Output
|
Wrong way
{{talk quote block|* Item one
* Item two
}}
|
First item isn't bulleted correctly:
|
Right way
{{talk quote block|
* Item one
* Item two
}}
|
All items are bulleted correctly:
|
If you are using the |text= named parameter (as opposed to simply supplying your list as the first parameter) please add the following code: <nowiki /> after the = sign. The reason is that the MediaWiki parser automatically removes line breaks at the start of the text, causing the list to be displayed improperly otherwise. Example:
| Wiki-markup |
Output
|
Wrong way
{{talk quote block|text=
# Item one
# Item two
}}
|
First item isn't numbered correctly:
|
Right way
{{talk quote block|text=<nowiki />
# Item one
# Item two
}}
|
All items are numbered correctly:
|
Caveats
Complex formatting compatibility
- Check § Quoting lists, and Help:Table § Nested tables (for nesting demo).
- Template:Tq2
- Due to MediaWiki's parsing limitations, embedding such templates into a list (using the leading
*/#/;/: syntax) is very likely to lead to unexpected results. (for it regards the newline as the syntax delimiter [Help:List §§ Common mistakes, and Paragraphs and other breaks])
- Template:Tq2
See also
|
|---|
| Template | UseTemplate:\description | | ↓ Block quotations | General purpose | | {{Quote}} | Our standard block quotation template: unbordered page-wide quotation with optional smaller-sized attribution | | {{Poem}} | {{Quote}} variant for use with poems, song lyrics, and other things that would otherwise require the use of <poem> tags or frequent formatting elements (such as <br />); requires substitution | | {{Poem quote}} | {{Quote}} variant for use with poems, song lyrics, and other things that would otherwise require the use of <poem> tags or frequent formatting elements (such as <br />); does not require substitution | | {{Verse translation}} | Displays original language verse (defaults to italics) and translated verse (roman) side-by-side | | {{Gbq}} | {{Quote}} variant for use inside glossaries | | {{Cquote}} | Page-wide quote, between large quotation marks | | {{Rquote}} | Quote between large quotation marks in a reduced floating area | | {{Quote frame}} | Page-wide bordered quote | | {{Quote box}} | Quote floated in a reduced bordered box | | {{Tweet}} | For quoting directly from tweets. Automatically generates {{Cite tweet}} citation, or a custom reference can be provided. | | | | | ↓ Talk page quoting | Not for use in articles nor the project space at all | | {{Talk quote inline}}(shortcut: {{tq}}){{tqq}}, {{tqi}}, or {{tqqi}} | Inline quotation for use on talk pages | | {{Not talk quote inline}}(shortcut: {{!tq}}){{!tqq}}, {{!tqi}}, or {{!tqqi}} | Inline quotation for what someone didn't say but could have, or perhaps, should have | | {{Talk quote block}}(shortcut: {{tq2}}) | Block-style quotation for use on talk pages | | {{Talk quote block minimalist}}(shortcut: {{tqbm}}) | Minimalist version of above | | | | | ↓ Alternative | For indenting non-quotations | | {{Block indent}} | To indent an entire block of content (uses <div> and CSS margins) |
|
|
|---|
| Template | Shortcut | Parameter? | Example | Output | Notes |
|---|
| Thread level | | | | | | | Template:Tlxb | | | {{Moved talk|Dresden}} | Moved: was at Talk:Dresden
| Used at the thread's current location | | Template:Tlxb | | | {{Moved talk to|Berlin}} | Moved to: Talk:Berlin
| Used at the thread's former location | | Template:Tlxb | | | {{Thread retitled|Old title}} |
- Thread retitled from "Old title".
| Per Wikipedia:Talk page guidelines#Section headings | | Opening | | | | | | | Template:Tlxb | {{sbb}} | | {{sbb}} |
- REDIRECT Template:Botsum
| Can be used in requests for comment | | Template:Tlxb | | | {{Buttinsky}} | ((_*_) Buttinsky) | A variation of {{Talk page stalker}} | | Template:Tlxb | {{ec}} | | {{ec}} | (edit conflict) | To indicate that you encountered an edit conflict | | Template:Tlxb | | | {{Interrupted|Username|09:16, 22 June 2026 (UTC)}} | — Username 09:16, 22 June 2026 (UTC) — continues after insertion below | Used to identify the contributor of the upper fragment(s) of a comment that was broken up by a different contributor's insertion of text | | Template:Tlxb | {{nacmt}} | | {{nacmt}} | (Non-administrator comment) | Optional and only for own comments, see doc | | Template:Tlxb | | | {{Pinged}} | (pinged) | Indicates a notification was received | | Template:Tlxb | {{rtp}} | | {{rtp}} | (responding to ping) | Similar to {{pinged}} | | Template:Tlxb | {{tps}} | | {{tps}} | (talk page stalker) | Cf. Wikipedia:Talk page stalker | | Template:Tlxb | {{tpw}} | | {{tpw}} | (talk page watcher) | Ditto | | Notifications | | | | | | | Template:Tlxb | {{hp}} | | {{hp|Username}} | | Invisible notification utilizing the zero-width space character | | Template:Tlxb | {{pinggroup}} | | {{pinggroup|Pinging collaborators|John Doe|Jane Doe|...}} | Pinging collaborators (John Doe—Jane Doe—...) | Up to 10 usernames | | Template:Tlxb | | | {{pong|Username}} | 22px Username: | In reply to a ping | | Template:Tlxb | {{re}}/{{ping}} | | {{re|Username}}/{{ping|Username}} | @Username: | Sends a notification; up to 50 names | | Template:Tlxb | | | {{To|Username}} | To Username: | Sends a notification | | During | | | | | | | Template:Tlxs | Template:Tlxs | | Template:Tlxs | ======(arbitrary break)====== | Requires substitution | | Template:Tlxs | | | Template:Tlxs | 14px Bumping thread ~~~~ | Requires subst. A wrapper for {{do not archive until}} | | Template:Tlxb | | | {{FBDB}} | [[Template:FBDB/doc|Template:Define]] | An initialism for Friendly Banter – Don't Block | | Template:Tlxb | | | {{KISS}} | KISS | References the KISS principle politely | | Template:Tlxb | {{np}} | | {{np|Username}} | Username | Works like {{U}} but without triggering a notification | | Template:Tlxb | {{np2}} | | {{np2|Username}} | Username (talk · contribs) | Works like {{User}} but without triggering a notification | | Template:Tlxb | {{tnote}} | | {{tnote}} | [not shown here] | Creates a list of footnotes for a talk page discussion | | Template:Tlxb | {{od}} | | {{od|:::::}} |
| For out-denting a reply when indention gets too deep | | Template:Tlxb | {{od2}} | | {{od2}} | (←) | Alternative out-denting | | Template:Tlxb | {{tref}} | | {{tref}} | [not shown here] | Creates a list of references for a talk page discussion | | Template:Tlxb | {{reldis}} | | {{reldis|Talk:Berlin}} | | Creates links to related discussions in a visually unique way | | Template:Tlxb | | | {{Sources-talk}} | [not shown here] | A convenience wrapper around {{Reflist-talk}} | | Template:Tlxb | | | "Oranges are blue!"{{talkfact}} | "Oranges are blue!"[citation needed] | Used to quickly ask an editor to back up their claims | | Template:Tlxb | {{tq}} | | {{tq|"Oranges are blue!"}} | "Oranges are blue!" | To highlight a short excerpt of quoted material | | Template:Tlxb | {{tqi}} | | {{tqi|"Oranges are blue!"}} | Template:Tqi | " | | Template:Tlxb | {{!tq}} | | {{!tq|"Oranges are orange!"}} | "Oranges are orange!" | To highlight a short excerpt of quoted material someone didn't say but could have, or perhaps, should have | | Template:Tlxb | {{!tqi}} | | {{!tqi|"Oranges are orange!"}} | "Oranges are orange!" | " | | Template:Tlxb | {{tq2}} | | {{tq2|"Oranges are blue!"}} | Template:Tq2 | To highlight a longer excerpt of quoted material | | End | | | | | | | Template:Tlxb | | | {{Please sign inline}} | (Please remember to sign your posts on talk pages by typing four keyboard tildes like this: ~~~~.) | | | Template:Tlxs | | | {{Please ping}} | (please {{ping}} on reply) | Includes your username if substituted, but can be transcluded. Use {{Please ping|no}} to ask not to be pinged. | | Template:Tlxb | {{nw}} | | {{nw}} | (I am not watching this page, so please ping me if you want my attention.) | | | Template:Tlxs | Template:Tlxs | | Template:Tlxs | If you reply here, please put {{reply|your username will show up here}} in front of your message so I get a notification. Thank you! | Requires substitution. Will automatically add your username by substituting {{REVISIONUSER}} when you save. | | Template:Tlxb | | | {{pme}} | Template:Pme | | | Template:Tlxs | Template:Tlxs | | Template:Tlxs | If you reply here, please ping me by adding {{u|Example}} to your message, and signing it. | Requires subst | | Template:Tlxb | {{sg}} | | {{sg}} | Please leave me a note if you reply | | | Template:Tlxb | | | {{Watching}} | (I am watching this page, so please reply here.) | | | Humor disclosure | | | | | | | (See the list here.) | | | | | |
|