Lua error in Module:TNT at line 157: attempt to index field 'data' (a nil value).
Usage
Use Template:Tnull or Template:Tnull (a.k.a. Template:Tnull, Template:Tnull, or Template:Tnull) 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 | Template:Tlg | Our standard block quotation template: unbordered page-wide quotation with optional smaller-sized attribution | Template:Tlg | {{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 | Template:Tlg | {{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 | Template:Tlg | Displays original language verse (defaults to italics) and translated verse (roman) side-by-side | Template:Tlg | {{Quote}} variant for use inside glossaries | Template:Tlg | Page-wide quote, between large quotation marks | Template:Tlg | Quote between large quotation marks in a reduced floating area | Template:Tlg | Page-wide bordered quote | Template:Tlg | Quote floated in a reduced bordered box | Template:Tlg | 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 | Template:Tlg(shortcut: Template:Tlg)Template:Tlg, Template:Tlg, or Template:Tlg | Inline quotation for use on talk pages | Template:Tlg(shortcut: Template:Tlg)Template:Tlg, Template:Tlg, or Template:Tlg | Inline quotation for what someone didn't say but could have, or perhaps, should have | Template:Tlg(shortcut: Template:Tlg) | Block-style quotation for use on talk pages | Template:Tlg(shortcut: Template:Tlg) | Minimalist version of above | | | ↓ Alternative | For indenting non-quotations | Template:Tlg | To indent an entire block of content (uses <div> and CSS margins) |
|
|
---|
Template | Shortcut | Parameter? | Example | Output | Notes |
---|
Thread level | | | | | | Template:Tlxb | | Y | {{Moved talk|Dresden}} | Moved: was at Talk:Dresden
| Used at the thread's current location | Template:Tlxb | | Y | {{Moved talk to|Berlin}} | Moved to: Talk:Berlin
| Used at the thread's former location | Template:Tlxb | | Y | {{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}} | ( Y) | {{ec}} | (edit conflict) | To indicate that you encountered an edit conflict | Template:Tlxb | | Y | {{Interrupted|Username|07:49, 3 February 2025 (UTC)}} | — Username 07:49, 3 February 2025 (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}} | ( Y) | {{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}} | ( Y) | {{tps}} | (talk page stalker) | Cf. Wikipedia:Talk page stalker | Template:Tlxb | {{tpw}} | ( Y) | {{tpw}} | (talk page watcher) | Ditto | Notifications | | | | | | Template:Tlxb | {{hp}} | Y | {{hp|Username}} | | Invisible notification utilizing the zero-width space character | Template:Tlxb | {{pinggroup}} | Y | {{pinggroup|Pinging collaborators|John Doe|Jane Doe|...}} | Pinging collaborators (John Doe—Jane Doe—...) | Up to 10 usernames | Template:Tlxb | | Y | {{pong|Username}} | Username: | In reply to a ping | Template:Tlxb | {{re}}/{{ping}} | Y | {{re|Username}}/{{ping|Username}} | @Username: | Sends a notification; up to 50 names | Template:Tlxb | | Y | {{To|Username}} | To Username: | Sends a notification | During | | | | | | Template:Tlxs | Template:Tlxs | | Template:Tlxs | ======(arbitrary break)====== | Requires substitution | Template:Tlxs | | | Template:Tlxs | 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}} | Y | {{np|Username}} | Username | Works like {{U}} but without triggering a notification | Template:Tlxb | {{np2}} | Y | {{np2|Username}} | Username (talk · contribs) | Works like {{User}} but without triggering a notification | Template:Tlxb | {{tnote}} | ( Y) | {{tnote}} | [not shown here] | Creates a list of footnotes for a talk page discussion | Template:Tlxb | {{od}} | ( Y) | {{od|:::::}} |
| For out-denting a reply when indention gets too deep | Template:Tlxb | {{od2}} | ( Y) | {{od2}} | (←) | Alternative out-denting | Template:Tlxb | {{tref}} | ( Y) | {{tref}} | [not shown here] | Creates a list of references for a talk page discussion | Template:Tlxb | {{reldis}} | Y | {{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 | | ( Y) | "Oranges are blue!"{{talkfact}} | "Oranges are blue!"[citation needed] | Used to quickly ask an editor to back up their claims | Template:Tlxb | {{tq}} | Y | {{tq|"Oranges are blue!"}} | "Oranges are blue!" | To highlight a short excerpt of quoted material | Template:Tlxb | {{tqi}} | Y | {{tqi|"Oranges are blue!"}} | Template:Tqi | " | Template:Tlxb | {{!tq}} | Y | {{!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}} | Y | {{!tqi|"Oranges are orange!"}} | "Oranges are orange!" | " | Template:Tlxb | {{tq2}} | Y | {{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 | | ( Y) | {{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 | Y | Template:Tlxs | If you reply here, please ping me by adding Template:Tlg to your message, and signing it. | Requires subst | Template:Tlxb | {{sg}} | ( Y) | {{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.) | | | | | |
|