說明:打印頁面

維基教科書,自由的教學讀本

Template:元維基幫助文件 Template:讀者手冊導航 查看一個頁面的打印版本可以在URL上加入"&printable=yes",也就是:

http://zh.Wikibooks.org/w/wiki.phtml?title=Help:打印页面&printable=yes

但是,這個功能目前在Monobook和Myskin下不工作(而且在沒有註冊時也不工作)。打印頁面時會自動生成打印版本進行打印,但是在屏幕上看不到。如果要在屏幕上查看可以使用你的瀏覽器的打印預覽功能。但是這可能和實際打印的效果不大相同:主要取決於你的打印設置,打印的數量等。

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; }
*/


Template:H:f Help