Tellico/Templates/uk: Difference between revisions

From KDE UserBase Wiki
(Created page with "Всі шаблони має бути встановлено до локального каталогу програм KDE. Точну адресу можна визначити ...")
(Created page with "== Шаблони записів ==")
Line 12: Line 12:
{{Output|1=$HOME/.kde/share/apps/tellico/}}  
{{Output|1=$HOME/.kde/share/apps/tellico/}}  


== Entry Templates ==
== Шаблони записів ==


''Entry templates'' are used in the main window for showing the information for a single entry (book, album, etc.). The screenshot below is the [http://kde-files.org/content/show.php/Berean+Curves?content=40894 Berean Curves] template.
''Entry templates'' are used in the main window for showing the information for a single entry (book, album, etc.). The screenshot below is the [http://kde-files.org/content/show.php/Berean+Curves?content=40894 Berean Curves] template.

Revision as of 06:07, 21 July 2011

Other languages:

Tellico використовує шаблони XSL для форматування даних, показаних у головному вікні програми, а також створення звітів, експортування HTML та друку.

Дані Tellico передаються до шаблону у форматі XML, для показу даних шаблон перетворює дані у формат HTML. У шаблонах можна використовувати всі можливості CSS і Javascript, посилання на зображення та об’єкти на жорсткому диску комп’ютера або у інтернеті.

Створені користувачами шаблони можна отримати з KDE-Files.org.

Всі шаблони має бути встановлено до локального каталогу програм KDE. Точну адресу можна визначити додаванням рядка /tellico/ до результату виконання команди:

kde4-config --path data

Ймовірно, результат буде таким:

$HOME/.kde/share/apps/tellico/

Шаблони записів

Entry templates are used in the main window for showing the information for a single entry (book, album, etc.). The screenshot below is the Berean Curves template.

The directory for installing entry templates is the application path, mentioned earlier, followed by /entry-templates/. For example, most users would install entry templates in

$HOME/.kde/share/apps/tellico/entry-templates/

After installing a new template, open the Configure Tellico dialog to the Templates page and select the new template. Templates can also be previewed there.

Entry templates can also be installed or downloaded directly from within Tellico from the same Settings -> Configure Tellico dialog.

Report Templates

Report Templates process the information for the complete collection. Some templates will show only titles, images, or collection statistics.

The directory for installing report templates is the application path, mentioned earlier, followed by /report-templates/. For example, most users would install templates in

$HOME/.kde/share/apps/tellico/report-templates/

After installing a new template, open the Report dialog. The new template should be available there.