Template talk:IndentQuote

From The Urban Dead Wiki
Jump to navigationJump to search

Description

A template that can be used to quote another user while still respecting the indentation present in a threaded conversation. Particularly useful when a user wants to quote a line while discussing matters in a discussion on a talk page.

Example Uses

The following are a few quick examples. All of the variables are optional, with the exception of text, which must always be included.

The bare minimum

{{IndentQuote|text=This is a quote.}}
This is a quote.

Author & timestamp

{{IndentQuote|text=This is a quote.|author=[[User:Example User|]]|time=15:39, 04 September 2012 (BST)}}
This is a quote.
Said by Example User, 15:39, 04 September 2012 (BST)

Location link

{{IndentQuote|text=This is a quote.|location=[[Template:IndentQuote]]}}
This is a quote.

Background color

{{IndentQuote|text=This is a quote.|bg=aqua}}
This is a quote.

Multiple lines of text

{{IndentQuote|text=This is a quote.<br>As is this.}}
This is a quote.
As is this.

In a conversation

I do stuff all the time. --[[User:Example User]] 15:39, 04 September 2012 (BST)
:Umm...didn't you say:
:{{IndentQuote|author=Example User|text=I've never done anything at all.}}
:Just a few days ago? --[[User:Example User 2]] 15:43, 04 September 2012 (BST)
::Oh yeah. Oops. --[[User:Example User]] 15:48, 04 September 2012 (BST)

I do stuff all the time. --User:Example User 15:39, 04 September 2012 (BST)

Umm...didn't you say:
I've never done anything at all.
Said by Example User
Just a few days ago? --User:Example User 2 15:43, 04 September 2012 (BST)
Oh yeah. Oops. --User:Example User 15:48, 04 September 2012 (BST)

Additional Notes

  • If a line break needs to be included in the text of a quote, you'll need to use <br> in place of the line break.
  • The location variable can be plain text, a normal link, or an external link. All three will work.
  • The default background color is white at 70% opacity.

Discussion