Template:Pagebreak2/sandbox
Appearance
This template has been deprecated. See the replacements: {{pagebreak}} and {{pagenum}} |
page
This is the template sandbox page for Template:Pagebreak2 (diff). See also the companion subpage for test cases. |
Usage
[edit]To break up discontiguous runs of pages primarily for legal papers, court rulings and similar. For continuing text, use of <pages>, as per style is preferred.
- 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
- Formatting options
- border-width, default is 1 px
- border-style, default is dashed
- border-color, default is #999999
Examples
[edit]Example 1 - No label
[edit]Wiki text
[edit]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
[edit]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
[edit]Wiki text
[edit]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
[edit]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
[edit]Wiki text
[edit]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
[edit]and so the moral of this story is, when you ain't got rhythm, you shouldn't be in the kitchen.
Example 4 - Left label
[edit]For left-floated labels, you will need to introduce a margin. The class "indented-page" can do this:
Wiki text
[edit]<div class=indented-page> and so the moral of this story is, when you {{pagebreak2|17|left}} ain't got rhythm, you should get out of the kitchen. </div>
Result
[edit]and so the moral of this story is, when you
This template has been deprecated. See the replacements: {{pagebreak}} and {{pagenum}} |
ain't got rhythm, you should get out of the kitchen.