Template:Talk quote inline

From Fallen London Wiki
(Redirected from Template:Tq)

Example text

Template documentation (for the above template, sometimes hidden or invisible)

Usage[edit]

Template {{talk quote inline}} (or the shortcut {{tq}}) can be used to highlight a short excerpt of quoted material of other editors' comments or from an article or source.

By default, the template changes the given text to serif typeface and green colour. The accompanying change in typeface to a serif (roman) or italic type style (example text) is to make it fully accessible for those readers with red/green colour blindness.

Parameters[edit]

|1= The text to highlight with the template. As with all templates, when the text, given as the template parameter, contains an equals character (=), prefixing the text with |1= is required to ensure the character is correctly interpreted as being part of the normal text; otherwise it will break the template.

|italic=yes or |i=y will force the content to be green and italicised only (no change to serif font style); any value may be used, e.g. |i=y. This is typically used inside a block of text that is already serif-styled to make the highlighted text stand out better.

|title= takes text, which cannot be marked up in any way, and displays it as a pop-up "tooltip" (in most browsers) when the cursor hovers over the span. The most common use of this is to provide attribution.

Examples[edit]

What you write
...when you said, {{tq|Lorem ipsum '''dolor''' sit}}, and, {{tq|consectetur adipiscing elit|i=yes|title=This is a tooltip}}.
What you get
...when you said, Lorem ipsum dolor sit, and, consectetur adipiscing elit.
What you write
...when you said, {{tq|Lorem ipsum '''dolor''' sit|q=yes}}, and, {{tq|consectetur adipiscing elit|q=yes|i=yes|title=This is a tooltip}}.
What you get
...when you said, Lorem ipsum dolor sit, and, consectetur adipiscing elit.

(Run your mouse over the words "consectetur adipiscing elit" and in a second you will see a tooltip pop up next to the mouse cursor which says, "This is a tooltip".)

TemplateData[edit]

Highlights a short excerpt of quoted material of other editors' comments or from an article or source

Template parameters

ParameterDescriptionTypeStatus
Text1

Text to highlight

Contentrequired
Titletitle

Takes text, which cannot be marked up in any way, and displays it as a pop-up "tooltip" (in most browsers) when the cursor hovers over the span. The most common use of this is to provide attribution.

Stringoptional
Italic?italic i

Makes the content italicised and the same san-serif font as normal text

Booleanoptional
Quotes?quotes q

Adds quotation marks around the coloured text

Booleanoptional