Templates - lifelike/countersheetsextension GitHub Wiki

A template for the countersheetsextension is just a SVG group of objects that describe how a counter should look.

A template must contain one rectangle object that defines the size of the counter to generate and also is used to get the relative position of each other part in the template.

The id attribute of the rectangle is the name of the template that must be used in the CSV when refering to the template. To see or edit the id use the Object Properties found in the right-click context menu in Inkscape for the rectangle. The id of the group is not used.

Any part of the template group that is outside of the id rectangle will be used for Bleed if the Bleed option is set when running the extension. If Bleed is disabled then any parts outside of the rectangle will always be included, which might very likely overlap parts of other counters. (Bleed is only supported in version 2.1.)

It is possible to position part of a template outside of its rectangle. They will end up outside of the counter in the generated sheet, and possibly end up behind other counters. In general this is probably not a good idea except when Bleed is enabled.

Multiple templates can be combined into a single counter. See the Combining Templates page for details.

Templates can be used excluding its id rectangle, for cases when no visible rectangle is wanted (eg non-rectangular counters).

Even if every template must have a id rectangle, that rectangle is not always wanted in the created sheets. To not include the rectangle just put a @ before the template id in the CSV (@id instead of just id). It is also possible of course to use a fully transparent rectangle, but that makes it more difficult to work with. For instance you can use a transparent rectangle with very strong colored stroke to make the bleed border very obvious in the template, but then use @ to not see that rectangle in the generated sheet.

See also: Editing Templates, Bleed

⚠️ **GitHub.com Fallback** ⚠️