మూస:Gap/doc

వికీసోర్స్ నుండి

Usage[మార్చు]

Use this template to insert a fixed width gap in inline text. The default is 2em.

For example,

Hello{{gap|3em}}world!

yields "Helloworld!"


If no argument is given, the default is 2em:

Hello{{gap}}world!

yields "Helloworld!"

For a real example of it in use, see Page:An introduction to physiological and systematical botany (1st edition).djvu/542.

Deprecated or incorrect usage[మార్చు]

Please note: This template is not intended to produce a formatting preference, such as indented paragraphs or double spacing after full stops (periods).

Indentation[మార్చు]

Indentation can be produced with a div style using a CSS command like "text-indent:2em". {{gap}} shouldn't be used to indent the first line of a paragraph

Offsetting right-aligned text[మార్చు]

Please do not use a construction like

{{right|This is incorrect{{gap}} }}

{{Right}} has a parameter "offset" for this:

{{right|This is correct|offset=2em}}

See also[మార్చు]

To insert a vertical gap (i.e. extra line spacing), simply add consecutive carriage returns. To force a gap in situations where the Mediawiki software consumes multiple carriage returns, such as at the end of a page, use {{nop}}.

Similar functionality is provided by {{em}}.


"https://te.wikisource.org/w/index.php?title=మూస:Gap/doc&oldid=47842" నుండి వెలికితీశారు