Template:Padded page break/doc

From Wikisource
Jump to navigation Jump to search

This template is intended to be used to separate two pages of a book that are transcluded onto the same page in Mainspace, but which are not a continuous flow of text. It can be used like {{page break}}, but also adds empty space before and after the horizontal rule to keep the display well-spaced and easy to read.

Like {{page break}}, it hints to e-readers that a page break should be inserted at this point.

See Ottawa Illustrated for an example of this template in use.

Examples

[edit]
{{lorem ipsum}}
{{padded page break}}
{{lorem ipsum}}

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

See also

[edit]
  • {{page break}} The base page break template - unconditionally forces a page break when the document is displayed in a paginated format, such as an ebook export.
  • {{padded page break}} An unconditional page break with some padding and no label.
  • {{invisible page break}} An unconditional page break that is invisible in the browser.
  • {{no break after}} Inhibit page breaks after an element. Can be used to keep a title and the first paragraph of the following content together.
  • {{pagenum}} Do not break the text but add a page number that is compatible with the normal page numbering Javascript. (this replaces the parameter usage left)