सामग्री पर जाएँ

साँचा:दाएँ/doc

विकिस्रोत से

This template aligns text to the right. For example,

{{right|'''Example text'''}}

yields

Example text


Text can be offset from the right margin by use of a second offset parameter, implicitly or by name:

{{right|'''Example text'''|3em}}

and

{{right|'''Example text'''|offset=3em}}

both yield

Example text


{{right}} versus {{float right}}

[सम्पादन]

This template, {{right}}, retains the text in the normal flow, but causes it to be aligned along the right margin. {{float right}} takes a block of text out of the normal text flow, and floats it as far right as possible, without changing how it is aligned; other text can flow around it, as if it were a picture or diagram.

{{स्क्रिप्ट त्रुटि: "list" फंक्शन मौजूद नहीं है।}} {{स्क्रिप्ट त्रुटि: "list" फंक्शन मौजूद नहीं है।}}
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo.

This text is
right aligned
using {{right}}.

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo.

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo.

This text is
floated right
using {{float right}}.

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo.

  • {{स्क्रिप्ट त्रुटि: "list" फंक्शन मौजूद नहीं है।}} and {{स्क्रिप्ट त्रुटि: "list" फंक्शन मौजूद नहीं है।}}
  • {{स्क्रिप्ट त्रुटि: "list" फंक्शन मौजूद नहीं है।}}