Template:Floating quotation mark

"

Template documentation

This template (the shortcut {{fqm}} is available) adds a floating quotation mark to the left of a centred block:

"Like
this."

Usage

edit

Add {{fqm}} where the quotation mark would be, within a {{center block}} template, and any other formatting templates that are applied to the block. Close with an ordinary quotation mark.

Example

{{center block|{{fqm}}Example<br/>Example"}}

"Example
Example"

Character override

edit

The first parameter overrides the default quotation mark (") with the text specified, for example:
{{center block|{{fqm|'}}Example<br/>Example'}}

'Example
Example'

Spacing

edit

The second parameter specifies the gap between the quotation mark and the start of the paragraph (if more than 3em including the quotation mark itself, increase |depth=; the default is no gap), for example:
{{center block|{{fqm||0.2em}}Example<br/>Example"}}

Example
Example"

Applying thin spacing for consecutive quotation mark

edit

To apply a slight .2em padding similar to {{" '}} or {{' "}}, visually distinguishing the floated mark from the following mark, set |pad=yes. The text will be shifted slightly to compensate, rather than the floated mark, keeping the mark aligned with any others. For example:
{{center block|{{fqm|pad=yes}}'Tis an example<br/>Example<br/>'Tis an example"}}

"'Tis an example
Example
'Tis an example"

If it is desired that both punctuation marks should be floated, simply use the padded punctuation templates within the character override parameter. For example:
{{center block|{{fqm|{{" '}}}}Tis an example<br/>Example<br/>{{fqm|'}}Tis an example"}}

Template:" 'Tis an example
Example
'Tis an example"

Compatibility

edit

The template works with font size templates, for example:
{{center block|{{xxx-larger|{{fqm}}Example<br/>Example"}}}}

"Example
Example"

It does not work with {{right}} or {{center}} (which centres each line separately, as opposed to {{center block}}, which centres a left-aligned block of text), but does work with {{left}} and left aligned text (with the quotation mark floated into the margin). In the case of text centred line-by-line (e.g. using {{center}}) or right aligned text, a floating quotation mark makes no sense, and an ordinary quotation mark should be used instead.

It is compatible with dropped capitals, for example:
{{center block|''{{fqm}}{{drop capital|O}}ff we go: {{lorem ipsum}}"''}}

"Template:Drop capitalff we go: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."

Gap parameter

edit

If gap is specified (default is 0) the left margin is recalculated to give the effect of a floating {{[[gap:Template:gap|gap]]}} in front of the quotation mark. This makes possible effects like:

Methought the sky looked scornful down<br />
{{gap}}On all was base in man,<br />
And airy tongues did taunt the town,<br />
{{fqm|gap=2em|'}}Achieve our peace who can!'

Methought the sky looked scornful down
On all was base in man,
And airy tongues did taunt the town,
'Achieve our peace who can!'


See also

edit