Template:Gap
![]() | This template uses a <span> element for formatting.Block-based templates and paragraph breaks cannot be nested inside it. |
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 indented paragraphs, double spacing after full stops (periods), or offsets from the right.
Indentation
The house style of Wikisource is to separate paragraphs with a double line break, rather than to indent them, except in cases such as poetry where the formatting might be considered part of the text.
Offsetting right-aligned text
Please do not use
{{right|This is incorrect{{gap}} }}
{{Right}} has a parameter "offset" for this:
{{right|This is correct|offset=2em}}
See also
- {{Right}}
- {{indent}} for a simple indented paragraph
- {{hanging indent inherit}} for paragraphs spanning Page: namespace pages
- To insert a vertical gap (i.e. extra line spacing), simply add multiple blank lines. To force a gap in situations where the Mediawiki software consumes multiple carriage returns, such as at the end of a page, use {{nop}}. See also {{Dhr}}.
The above documentation is transcluded from Template:Gap/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |