Help:Printable

From Wikipedia, the free encyclopedia

Jump to: navigation, search

This is a copy of the master help page at Meta. Do not edit this copy.

Edits will be lost in the next update from the master page. See below for more information.

Contents

Printers

If you use the default skin ("Monobook"), MediaWiki uses Cascading Style Sheets in order to specify the style and layout of the printable version of a page. In modern browsers, the print function of the browser should automatically select this style sheet when you print an article -- hence the "Print" command of your web browser is normally all you need to know.

If you are using other, older skins such as the "Standard" skin, you can get a printable version of a page using the "Printable version" link, or by adding the text "&printable=yes" to the URL, e.g.

http://meta.wikimedia.org/w/wiki.phtml?title=Help:Template&printable=yes

You create a URL to the printable version of the current page with:

{{SERVER}}{{localurl:{{PAGENAME}}|printable=yes}}

which displays:

http://en.wikipedia.org/w/index.php?title=Printable&printable=yes

Screen

To view a print optimized version of a page one can provide "&printable=yes" in the URL, e.g.

http://meta.wikimedia.org/w/wiki.phtml?title=Help:Template&printable=yes

This does not work with Monobook and Myskin (hence it also does not work when not logged in). The other skins have a link to this URL. Printing an ordinary page should also automatically print this version, even though it is not on the screen. To see it on the screen, use the Print Preview feature of your browser. However, this is not quite the same: depending on your print settings, it may include page numbers, etc.

CSS

http://meta.wikimedia.org/style/wikiprintable.css :

/* MediaWiki print stylesheet */

body {
 color: #000000; background: #ffffff;
}


/* MSIE/Win doesn't understand 'inherit' */
a, a.external, a.new, a.stub {
 color: black ! important;
	text-decoration: none ! important;
}
#article {
	margin: 0 ! important;
}

/* Continue ... */
a, a.external, a.new, a.stub {
	color: inherit ! important;
	text-decoration: inherit ! important;
}

/* Hide ugly UI stuff */
#quickbar, #topbar, #footer, #siteNotice,
.editsection, .toctoggle {
	display: none;
}

/* */
#article {
	position: relative;
	margin: inherit ! important;
}

/* Show some stuff */
.urlexpansion {
	display: inline ! important;
}

.printfooter {
	border-top: solid 1px black;
	display: block ! important;
}

/* Old stuff, fixme:
.bodytext { }
a.CBlink { color: #0000AA; text-decoration: none; font-size: 12pt; }
a.interwiki, a.external { color: #3333BB; text-decoration: none; }
h1.pagetitle { padding-bottom: 0; margin-bottom: 0; }
i.link, u.link { color: #000066; }
p.subtitle { padding-top: 0; margin-top: 0; }
*/

[edit] Wikipedia-specific help



This page is a copy of the master help page at Meta (for general help information all Wikimedia projects can use), with two Wikipedia-specific templates inserted. To update the main text, edit the master help page for all projects at m:Help:Printable. For Wikipedia-specific issues, use Template:Ph:Printable (the extra text at the bottom of this page) or Template:Phh:Printable for a Wikipedia-specific lead (text appears at the top of this page). You are welcome to replace the full wikitext of this page with that of the master page at Meta at any time. To view this page in other languages see the master page at Meta.

Personal tools