সাঁচ:Zfloat right
Usage
সম্পাদনা কৰকThis template floats text to the right without changing textual alignment, however (unlike {{float right}}) the remaining text on the page is overlaid as if the floated text is not present at all. This permits such effects as:
{{zfloat right|{{nowrap|'''This text is floated right with no offset.'''}}}}{{centre|''This text is truly centred.''}}which yields
This text is truly centred.
whereas (traditional approach):
{{float right|'''This text is floated right.'''}}{{centre|''This text is '''not''' truly centred.''}}yields
This text is floated right.
This text is not truly centred.
Other applications:
{{zfloat right|{{nowrap|'''10em offset.'''}}|right=10em}}{{centre|Centred reference text.}}yields
Centred reference text.
{{zfloat right|{{nowrap|'''12em wide.'''}}|right=10em|width=12em}}{{centre|Centred reference text.}}yields
Centred reference text.
Limitations
সম্পাদনা কৰক- If insufficient display width is available, the text blocks will overlap with the result likely to be quite unreadable.
- It will normally be necessary to take measures as above to suppress white-space wrapping (e.g. {{nowrap}}) in the floated text.
Parameters
সম্পাদনা কৰক- right: Specify right margin offset (default is 0)
- top: Specify specify vertical offset (default 0, which normally results in level alignment)
- width: Specify content presentation width (no default)
See also
সম্পাদনা কৰক- {{float right}}
- {{nowrap}}
- {{runningheader}}
- {{zfloat left}}
The above documentation is transcluded from সাঁচ:Zfloat right/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |