Template automation - chapter and pages #4268

Open
opened 2026-02-05 08:23:21 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @gblondet117 on GitHub (Oct 11, 2023).

Describe the feature you'd like

Sometimes, we need to create repetitive contents related to repetitive tasks. A page template should be used, but another instance may be required each month.
Sometimes, a set of pages must be strongly correlated, with common information, and the user have to copy manually some data from a page to another page (which does not follow the same template).

  • Add parameters to templates. During the template creation, the user could define fields in the template, defined by its type (text, date, required or optional field). When the user creates a content according to a template, Bookstack would show a form showing parameters to be defined. Once completed, the content would be created and pre-filled according to the answers.

  • add a template for one chapter and pages inside a book : when the user creates a new chapter, it would automatically generate a series of pages. It may be like this:

    1. I create a chapter template. I define the structure by selecting a set of previously defined page templates to populate the chapter.
    2. I create a chapter following the template I have created. A form appears to add a suffix to pages's names and some common data accross all pages. Then, the chapter is created, and pages are pre-filled.
    3. I open one of the pages, the page's form appears to fill the page with specific data which were not already defined at the chapter level.

In this, a part of data would be defined at the chapter level (and modify the chapter and pages), and another part at the page level.

Describe the benefits this would bring to existing BookStack users

I imagine it may be ambitious to implement all of this, but it would lead to more robust and fast content creation.
I did not found equivalent feature requests, but I may have missed something.

Can the goal of this request already be achieved via other means?

No.

Have you searched for an existing open/closed issue?

  • I have searched for existing issues and none cover my fundamental request

How long have you been using BookStack?

3 months to 1 year

Additional context

I may provide some draws to explain if needed, to be clearer.

Originally created by @gblondet117 on GitHub (Oct 11, 2023). ### Describe the feature you'd like Sometimes, we need to create repetitive contents related to repetitive tasks. A page template should be used, but another instance may be required each month. Sometimes, a set of pages must be strongly correlated, with common information, and the user have to copy manually some data from a page to another page (which does not follow the same template). - Add parameters to templates. During the template creation, the user could define fields in the template, defined by its type (text, date, required or optional field). When the user creates a content according to a template, Bookstack would show a form showing parameters to be defined. Once completed, the content would be created and pre-filled according to the answers. - add a template for one chapter and pages inside a book : when the user creates a new chapter, it would automatically generate a series of pages. It may be like this: 1. I create a chapter template. I define the structure by selecting a set of previously defined page templates to populate the chapter. 2. I create a chapter following the template I have created. A form appears to add a suffix to pages's names and some common data accross all pages. Then, the chapter is created, and pages are pre-filled. 3. I open one of the pages, the page's form appears to fill the page with specific data which were not already defined at the chapter level. In this, a part of data would be defined at the chapter level (and modify the chapter and pages), and another part at the page level. ### Describe the benefits this would bring to existing BookStack users I imagine it may be ambitious to implement all of this, but it would lead to more robust and fast content creation. I did not found equivalent feature requests, but I may have missed something. ### Can the goal of this request already be achieved via other means? No. ### Have you searched for an existing open/closed issue? - [X] I have searched for existing issues and none cover my fundamental request ### How long have you been using BookStack? 3 months to 1 year ### Additional context I may provide some draws to explain if needed, to be clearer.
OVERLORD added the 🔨 Feature Request label 2026-02-05 08:23:21 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#4268