الفرق بين المراجعتين لصفحة: «مساعدة:نسخ الطباعة»

تم حذف المحتوى تمت إضافة المحتوى
لا ملخص تعديل
لا ملخص تعديل
وسم: تعديل مصدر 2017
سطر 8:
 
<br />
 
== How to create print version ==
Generally, it is a good solution to learn from examples. See [[Python Programming/Print version]] and read these quick guidelines.
 
=== Preparing a book ===
No navigational templates used in a book should be printed. Check this using the "Print preview" function of your browser. To prevent a block of text from being printed, cover it with <tt><nowiki><div class="noprint"> ... </div></nowiki></tt>. Use <tt>class="notice"</tt> or <tt>class="notice metadata"</tt> for cleanup templates like {{tlx|stub}}, {{tlx|cleanup}}; or <nowiki><noinclude> ... </noinclude></nowiki>. Similarly, if you want some content to be displayed only in the print version but not at normal reading, use <nowiki><includeonly> ... </includeonly></nowiki>. Note that text inside this tag won't be visible in the page preview during editing, so you may want to copy it to [[Wikibooks:Sandbox]], edit it there and copy it back.
 
=== Creating separate page for print version ===
In brief:
# Create the page <!--''Book:Print version'' or -->''Book/Print version'' (for a book called ''Book'') and link to it from the TOC
# Insert the {{tlx|print version notice|Book|Book/Print_version}} template to the top of the book's Print version page.
# Copy the TOC as an ordered list
# Insert every chapter like a template, preceded by the chapter's title. Remember to include a chapter with the list of authors.
#: <tt><nowiki> = Chapter name = </nowiki></tt>
#: <tt><nowiki> {{:Book/Chapter name}} </nowiki></tt>
 
'''Do not cut-and-paste any text from a book to its print version (except TOC).'''
 
=== Linking from the book ===
{{Print version}}
 
Make a visible link to the print version from the book's cover or table of contents. You can simply insert the {{tl|print version}} template in the page ''Book'' if the page of the printed version is ''Book/Print version'' to create a box like the one shown. If you make your own links, it's a good practice to have a direct link to the edit page for the print version. Then people who want to change something in the print version won't have to wait until the whole book is loaded to click the "edit" button.
Some books have multiple printable versions; link to each of them from the book's table of contents -- see [[Help:Local manuals of style#Print versions]].
 
=== Lengthy print versions ===
Sometimes print versions become too lengthy&mdash;in such cases, you should divide it into parts: ''Book/Print version/Part 1'', ''Book/Print version/Part 2''.
 
=== Copyright problems ===
Using [[w:fair use|fair use]] images in a book may mean that it can't be printed in many countries that don't have a ''fair use'' copyright law, and even in countries that do, books printed with fair use images may have restrictions placed upon them. For example, there may be restrictions upon commercial sale of the book (for profit or not). Because of this, '''always avoid fair use images''' if possible and try to replace them by free ones (you might try to search [[commons:|Wikimedia Commons]]).
 
If you have to include fair use images, consider excluding them from print versions of the book. For example, you can exclude images with the <tt>noprint</tt> markup as explained above.
 
Note that many "free" images require an attribution to their authors. In online wikibooks this requirement is fulfilled by the link from each image to its description page. In printed books, however, you have to add an explicit attribution for these images. In fact, it's a good practice to include an attribution for all images.
 
== Use of printed books ==
You can freely use, copy and sell printed Wikibooks. You don't have to get authors' agreements or share profit with them (see [[Wikibooks:Copyrights#Use in hardcopy|details]]). Remember that Wikibooks has copyrighted content, and the copyright is owned by the contributors, not the Wikimedia Foundation. You can freely copy and use this copyrighted content because the authors have already given you permission to use it under the terms of the [[Wikibooks:Creative Commons Attribution-ShareAlike 3.0 Unported License|Creative Commons Attribution-ShareAlike 3.0 Unported License]] and [[Wikibooks:GNU Free Documentation License|GNU Free Documentation License]]. Please read that license carefully if you plan on distributing Wikibooks content for the terms of use.
 
If you want to have the content available under different terms, you have to contact all of the contributors to the Wikibook for permission, which may present some problems if you can't get ahold of some of them. A very few Wikibooks are also available under a dual-licensing arrangement subject to different terms as well. This should be clearly marked and noted on the front page of the Wikibook.
 
 
 
== نسخ PDF ==