Skip to main content

Templates

With Paligo's templates feature, you can create a "model" of a publication, and use this as the basis for other "real" publications that you will publish as PDF, HTML5, or any of Paligo's other outputs. This is a great way to:

  • Save time when setting up the structure of publications (that need to use the same structure)

  • Apply consistent structure to your publications and topics across a range of different projects.

The idea is that when you use templates when you want multiple publications to have the same (or similar) structure. Instead of recreating that structure for each publication, you create it once as a template and then create new publications based on the template. The new publications will automatically inherit the structure and content from the template they are based on.

Note

We strongly recommend that you only use templates when there is a clear need to use the same structure repeatedly in your content.

If it is the actual content that needs to be repeated, rather than the structure, you can use Paligo's About Reusing Content features instead. These will give you more control over how and where the content is reused.

However, templates are not only for publications. It's also possible to create a topic template so that you can create individual topics that contain the same structure. For example, you might want to have a "Specifications" topic that contains a table that is designed in a particular way. By adding that table to a topic template, you can create it once in one place, and then you can create new topics based on the template. The new topics will automatically contain the table.

Publication templates let you create a "model" publication that can be used as a starting point for other publications. This is especially useful if you need to create many similar publications, as it reduces the amount of repeat work and helps to make your content more consistent.

When you create a new publication based on a publication template, it automatically contains:

  • The same structure as the publication template.

  • New topics based on the publication topic templates containing the same elements and content as the topic templates, but with unique IDs. You can edit them without affecting the template topics.

  • Reused regular topics. If you make changes to these, those changes will affect the content wherever it is used, just like content reuse elsewhere in Paligo.

Diagram showing publication template (1) is used to create regular publications (2, 3, and 4). They all have the same structure, with topics named the same.

1 = Publication template, 2, 3, 4 = Publications that reuse the template.

The following example shows how publication templates work.

Let's say you have a range of products called "Acme 100", "Acme 200", and "Acme 300". You want all of these products to have user guides with this structure:

Template publication with template topics, listed as: Introduction, Quick Start, Monitoring, Controls, Troubleshooting, Warranty, Customer Support.

To ensure consistency, you create a publication template (1) used as the basis for other user guides that you can add content to and publish as PDF, HTML5 help centers and other outputs. Then you build the structure:

  • Drag-and-drop regular topics for "Warranty" and "Customer Support" into the publication template structure.

    When a new publication is created based on this publication template, the "Warranty" and "Customer Support" topics are added as reused topics in the template. Any changes you make to those will affect those topics wherever they are used.

  • Add new template topics for "Introduction", "Quick Start", "Monitoring", "Controls", and "Troubleshooting".

    When a new publication is created based on this publication template, there will be new topics created for "Introduction", "Quick Start", "Monitoring", "Controls", and "Troubleshooting" in each publication, each with unique IDs so that you can edit them independently.

When new user guides (2, 3, and 4) are created, they inherit the structure from the publication template. Paligo creates new publications, new topics, and link reused topics inside the publications so that their content matches the template.

Diagram showing publication template (1) is used to create regular publications (2, 3, and 4). They all have the same structure, with topics named the same.

1 = Publication template, 2, 3, 4 = Publications that reuse the template.

Before you create a publication template, we recommend that you read the Publication Templates article, to get familiar with the concept and expected result.

First, you create a publication template in the Templates section and then you build its structure with:

Note

You can create new topics in a publication template in the Contributor Editor's Edit View.

However, adding topics in Edit View will not result in Topic Templates. Instead, these become reused topics saved in your Contributions folder.

Paligo content manager sidebar shows the Documents section. Inside it, there are special folders named Contributions Frank, Contributions Hank, Contributions Jakob, and Contributions Marek.

Topic templates can only be created from the Templates section in Content Manager or inside the Structure View of the publication template.

To create a publication template:

  1. Find the Templates section in the Content Manager.

    Content Manager has Documents, Media, Templates, Variable sets, Users, Trash, Taxonomy Manager sections. Templates is highlighted.
  2. Select the dotted menu (...) for the Templates section and select Create Content.

  3. Enter the settings for the publication template:

    • Enter a name

    • Select the Publication option

    • Add the Languages you want the template to support.

    Create content dialog for templates. There is a field to enter a name, options for selecting the document type and publication is selected. There is also a section for choosing languages.
  4. Select OK to confirm.

    Paligo creates your publication template and saves it in the Templates section of the Content Manager.

    Tip

    You can add folders in the Templates section by selecting the dotted menu (...) for Templates, and choose Create folder. The folders are useful for organizing your templates.

  5. Select the publication template in the Content Manager to open the Structure View.

    Content Manager sidebar showing the template is selected. The structure dialog is shown next to it, and is empty.
  6. Select New topic to create a new template topic inside the publication template.

  7. Give the template a suitable name.

    Content Manager sidebar showing the template is selected. The structure dialog is shown next to it, and contains three topics.

    Note

    You can also create topic templates from the dotted menu (...) in the Templates section. Select Create content and then choose to create a topic.

    Any content that you create in the Templates section is a template.

  8. Repeat step 6 and 7 until you have added all of the new topic templates that you want to include in the publication template.

  9. Drag-and-drop regular topics from the Content Manager into the publication template structure.

    The topic is added, and when you base a new publication on this template, it will reuse the topic.

  10. Select Save. Save icon.

Your template is now ready to be used as the basis for new "real" publications. To find out how to do that, see Create a New Publication Based on a Template.

If your Paligo instance contains Publication Templates, you can create a new publication that is based on one of those templates. When you create the publication, Paligo will:

  • Create a new publication with the same structure as the template.

  • Create new topics to match the topic templates containing the same elements and content as the topic templates, but with unique IDs. You can edit them without affecting the template topics.

  • Reuse any regular topics that are in the publication template structure.

You can then work on the new topics and publications, adding and reusing content where needed, until it is ready to publish.

Important

When you create a publication based on a template, the new publication only matches the template structure and the template topics at the time of creation.

If the template is changed at a later date, those changes will not apply to publications that have already been created.

To create a publication that is based on a publication template:

  1. In the Content Manager, select the dotted menu (...) for the folder to contain the new publication and choose Create content.

    If your content is not in a folder, select the Documents section at the top of the Content Manager instead. Documents is the top-level "parent" folder for any content that is not inside another folder.

  2. On the Create Content dialog:

    Create content dialog for new publication based on template. A name is entered, From template is selected, and select all languages is checked.
    • Enter a name for your new publication

    • Select the Languages it should support

    • Select From template to select the template that your new publication will be based on.

      Choose a template dialog. There are two publication templates to choose from.
  3. Select OK to confirm your choices.

    Paligo creates a new publication and topics in the selected folder. The publication's structure matches that of the publication template, and its forks link to the new topics and any reused "regular" topics.

Topic templates provide a quicker and easier way to create new topics that have a consistent structure.

With a topic template, you create the template and add the structure and content that you want. Then, when you create a new topic based on the template, it automatically inherits the content from the template. You can add to it or change it as needed.

Create content dialog. A name has been added for the topic, the From template option is selected, and the Languages are set to select all languages.
Example 1. Topic template for "Troubleshooting" topic

Let's say you need to produce "Troubleshooting" topics for many different user guides, and you want them to have a consistent structure that includes a paragraph and a table. Instead of creating these topics individually, you can use a template.

You create a new template and then edit it. In the template, you add a table and a paragraph.

Next, you create new topics based on the template. The new topics automatically contain the table and paragraph from the template, so there's no need to add them to each topic individually. In the new topics, the table and paragraph are given new ids, so that you can edit them without affecting the template or other topics.


If your Paligo instance contains Topic Templates, you can create new topics that are based on those templates. This is useful if you have particular topic structures that should be used in many places but with different content in place.

When you create a new topic from a topic template, the new topic automatically includes the same structure and content that exists in the topic template. But the content is given new IDs so that you can edit it without affecting the template or other topics that are based on the template.

Note

You can create new topics in a publication template in the Contributor Editor's Edit View.

However, adding topics in Edit View will not result in Topic Templates. Instead, these become reused topics saved in your Contributions folder.

Paligo content manager sidebar shows the Documents section. Inside it, there are special folders named Contributions Frank, Contributions Hank, Contributions Jakob, and Contributions Marek.

Topic templates can only be created from the Templates section in Content Manager or inside the Structure View of the publication template.

To create a topic template:

  1. Find the Templates section in the Content Manager.

    Content Manager has Documents, Media, Templates, Variable sets, Users, Trash, Taxonomy Manager sections. Templates is highlighted.
  2. Select the dotted menu (...) for the Templates section and select Create Content.

  3. Give the template a name and choose the Topic document type. Then set the language for the topic template and select OK.

    Note

    You can create templates for other document types too, if needed.

    Paligo adds your new template to the Templates section.

    Content Manager sidebar has a Templates section. Inside that, there is a template called "Troubleshooting".

    Tip

    You can create folders in the Templates section and use them to organize your templates. Select the option button ( ... ) for the Templates section and select Create Folder.

  4. Select a template to open it in the editor. Add the elements and content that you want to be included in all topics that are based on your template. For example, you could add a paragraph and a table.

    Troubleshooting topic template containing paragraphs and a table.
  5. Select Save. Save icon.

You can now create new topics based on the topic template.

If you have topic templates available, you can create new topics that are based on them. These topics will contain:

  • The same elements (structure) as the topic template they are based on

  • The same content as in the topic template, but with new IDs so that you can edit them.

To create a new topic based on a template:

  1. In the Content Manager, select the dotted menu (...) for the folder that you want to contain your new publication.

    If a suitable folder does not already exist, you can create a new one (Create Folder).

  2. Select Create content.

    createcontent.png
  3. Use the settings on the Create Content dialog to create the new topic:

    • Enter a name for the topic

    • Select From template to display a browse dialog for topic templates. Select the topic template that you want the new topic to be based on.

      Templates dialog has options for the templates that exist in the Paligo instance.
    • Select the Languages that you want the new topic to support.

    Create content dialog. A name has been added for the topic, the From template option is selected, and the Languages are set to select all languages.
  4. Select OK to confirm your choices.

    Paligo creates a new topic that is based on your chosen topic template. It contains new versions of the elements and content that were present in the topic template. You can make changes to the new topic without affecting the topic template or any other topic that is based on that topic template.