টেমপ্লেট:Fqm

উইকিসংকলন থেকে

"

টেমপ্লেট নথি[দেখুন] [সম্পাদনা] [ইতিহাস] [শোধন]

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

"Like
this."

Usage[সম্পাদনা]

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[সম্পাদনা]

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

'Example
Example'

Spacing[সম্পাদনা]

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[সম্পাদনা]

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"}}

টেমপ্লেট:" 'Tis an example
Example
'Tis an example"

Compatibility[সম্পাদনা]

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}}"''}}

"টেমপ্লেট:Drop capitalff we go: বিষণ্ণ ঔদাসীন্যে ঊষাবৌদি বাংলাভাষায় প্রচলিত ঈশপের নিখুঁত গল্পটির ডালপালা অর্ধেক ছড়াতেই ঋতু ভুঁইঞা আর ঐন্দ্রিলা ধড়ফড়িয়ে দারুণ হৈ-হৈ করে উঠল-- ওঃ, ব্যাস্ এবার থামো তো, বুঝেছি বড্ডো পুরানো ঢঙের কেমন এক গল্প যার নীতিবাক্য হল,“মূঢ় আড়ম্বর ও আত্মশ্লাঘার ফল জীবনে বিঘ্ন ও বৃহৎ ক্ষতি”-- তাই না, এ্যাঁ? ০১২৩৪৫৬৭৮৯ ৳৫৬/- ৉৫৬/- "

Gap parameter[সম্পাদনা]

If gap is specified (default is 0) the left margin is recalculated to give the effect of a floating {{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[সম্পাদনা]