Викиучебник:Книги: различия между версиями

Материал из Викиучебника — открытых книг для открытого мира
Содержимое удалено Содержимое добавлено
перевод en:Help:Collections, в процессе
(нет различий)

Версия от 15:15, 7 марта 2009

You can collect modules, generate and download a document in one of several formats from modules collections or from single modules, order books from a print-on-demand partner and save module collections for later use or to share them.

Добавление и удаление модулей

When you are on an module page, you see a box titled «create a book» on the left. Within this box is a link titled «Add wiki page». Click this link to add the current module (in the currently shown revision) to your collection. If the module has previously been added to the collection you can remove it instead.

Управление коллекцией

Click «Show collection» to go to the Special:Collection. Here you can manage your collection:

  • Enter a title and a subtitle for the collection;
  • Create chapters;
  • Rearrange the modules and chapters in the collection;
  • Remove modules and chapters from your collection;
  • Sort the collection (chapter-wise);

Загрузка документов

To download a document in PDF, ODT or DocBook format of a single module, just go to the module page and click on the «Download as …» inside the toolbox on the left.

To download an entire collection as a document, go to the Special:Collection page, choose the desired format and click the «Download» button.

Improving the output

Some modules use wikitext that is not ideal for producing PDFs. One important special case is the use of templates that should look different or be omitted in PDF output.

For example all navigational templates should be excluded from PDFs by adding them to the Exclude in print category (see below). As a rule of thumb, all templates containing content which is not useful in an offline version of the document should be marked for exclusion in PDF exports.

There are two ways to utilize templates for a better PDF output:

Substituting templates

One can override a template with another by creating a alternative template with name «PrintSOMETEMPLATE» where SOMETEMPLATE is the name of the original template.

Исключение шаблонов

Adding it to the special Категория:Exclude in print
Templates in the category Exclude in print are omitted from the output.
Using the template blacklist
Templates listed on the template blacklist page are also omitted. The format for this page is in the following form:
 * [[Template:Templatename]]
 * [[Template:SomeOtherTemplatename]]

Заказ книг

You can easily order a book made from your collection. Just click on the links of a print-on-demand partner at the right of the Special:Collection page.

Шаблон:Warning

Сохранение и загрузка коллекций

You have to be logged-in to save a collection. Go to the Special:Collection page, choose whether you want to save the collection as a subpage of your userpage or as a subpage of Wikibooks:Collections, enter a title and click the save button. Collections are automatically added to the Collections category.

If you are on a collection page, the «collection» portlet on the left contains a «Load collection» link to load the shown collection.

Формат сохранённых коллекций страниц

A collection with title «My Collection» and subtitle «Just an Example» consisting of two chapters «Foo» and «Bar» each containing three modules will be saved as a page with the following wikitext:

== Моя коллекция ==
=== Просто пример ===
;Foo
:[[Первый_модуль]]
:[[Второй_модуль]]
:[[Третий_модуль]]
;Bar
:[[Четвёртый_модуль]]
:[[Пятый_модуль]]
:[[Шестой_модуль]]
[[Category:Collections]]

Связанные страницы