[Mediawiki-l] invisible 'hooks' to assert printable page breaks

Jim Wilson wilson.jim.r at gmail.com
Wed May 9 19:53:58 UTC 2007

There are CSS attributes which are supposed to trigger page breaks.  Try

1) Create a Template called Pagebreak (so [[Template:Pagebreak]])
2) Enter this:

<div style="page-break-before:always"></div>

3) In chosen page, add this:


I'm not sure if this will work (as I haven't tested it) - and there could be
a better solution.  Good luck!

-- Jim R. Wilson (jimbojw)

On 5/9/07, revansx at cox.net <revansx at cox.net> wrote:
> Hello,
> I'm sorry to trouble the group with this request, but does anyone know if
> there are any "magic words", hooks or extensions which can bee added to an
> article which will are invisible in the online page but will force a new
> page in the printed version or the article. Like the way CTRL-Enter works in
> MSWord.
> I have converted a number of my companies procedures from Word to Wiki
> articles, but the complaint is that each new article section should begin at
> the top of a new page. Is this possible?
> I suppose if it is possible at all in html it can be done in the wiki.
> thanks.
> - rich (revansx)
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at lists.wikimedia.org
> http://lists.wikimedia.org/mailman/listinfo/mediawiki-l

More information about the MediaWiki-l mailing list