ಟೆಂಪ್ಲೇಟು:Page break/doc
This is a documentation subpage for ಟೆಂಪ್ಲೇಟು:Page break. It may contain usage information, categories and other content that is not part of the original ಟೆಂಪ್ಲೇಟು page. |
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.
- 1 word to be used
- 2, positioning of the line and label:
- Add
top
for the line to be above label - Add
left
for the label to be in the left margin, and no break in the text (recommended for continuous text) - 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. The prefix is omitted by default for a left-floated break. 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 - No label
[ಸಂಪಾದಿಸಿ]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 Page 17 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 Page 18 ain't got rhythm, you shouldn't be in the kitchen.
Example 4 - Left label
[ಸಂಪಾದಿಸಿ]For left-floated labels, you will need to introduce a margin. The class "indented-page" can do this.
However, do not use this class when transcluding pages from mainspace; a margin will be automatically applied by global javascript in this case.
Wiki text
[ಸಂಪಾದಿಸಿ]<div class=indented-page> and so the moral of this story is, when you {{page break|17|left}} ain't got rhythm, you should get out of the kitchen. </div>
Result
[ಸಂಪಾದಿಸಿ]and so the moral of this story is, when you
ain't got rhythm, you should get out of the kitchen.See also
[ಸಂಪಾದಿಸಿ]- {{padded page break}}: a wrapper around this template that has no label and includes padding above and below the line