ਫਰਮਾ:Page break/doc
This is a documentation subpage for ਫਰਮਾ:Page break. It contains usage information, categories and other content that is not part of the original ਫਰਮਾ page. |
This template uses TemplateStyles: |
Usage
ਸੋਧੋTo break up discontiguous runs of pages. For continuing text, use of <pages>, as per style is preferred.
This template also produces page-break markup that hints to e-book readers that there should be a page break at the given location.
If you do not want a break in the text, but you want to place a marker where the original text crosses a page, use {{pagenum}}.
Parameters
ਸੋਧੋ- 1 word to be used
- 2, positioning of the line and label:
- Add
top
for the line to be above label - Leave blank or write
bottom
for the line to be below the label
- Add
- label, prefixing word, default word is page, or
label=
to have no prefix. Note that label can also be used for non-standard alternate labelling of page separation.
- Formatting options
- border-width, default is 1 px
- border-style, default is dashed
- border-color, default is #999999
Examples
ਸੋਧੋExample 1 - Suppressing label
ਸੋਧੋThis would be the expected form used when transcluding works from the Index:/Page: namespace.
Wiki text
ਸੋਧੋand so the moral of this story is, when you {{page break|label=}} ain't got rhythm, you should get out of the kitchen.
Result
ਸੋਧੋand so the moral of this story is, when you ain't got rhythm, you shouldn't be in the kitchen.
Example 2 - Label on top
ਸੋਧੋWiki text
ਸੋਧੋand so the moral of this story is, when you {{page break|17}} ain't got rhythm, you should get out of the kitchen.
Result
ਸੋਧੋand so the moral of this story is, when you ain't got rhythm, you shouldn't be in the kitchen.
Example 3 - Label below
ਸੋਧੋWiki text
ਸੋਧੋand so the moral of this story is, when you {{page break|18|top}} ain't got rhythm, you should get out of the kitchen.
Result
ਸੋਧੋand so the moral of this story is, when you ain't got rhythm, you shouldn't be in the kitchen.
See also
ਸੋਧੋ- {{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)