Proposal: V4 Feature: Master Pages #3783
Replies: 5 comments 8 replies
-
Content? What kind of content? I can imagine a conceptual master page which effects a style for the pages using that master, though such a thing could instead be done via CSS (using |
Beta Was this translation helpful? Give feedback.
-
Is there a particular use case in mind? An example of what kind of end result you would hope to see? |
Beta Was this translation helpful? Give feedback.
-
The main use case for master pages is when you have a page layout that contains a number of repeated elements. Header/Footer, specific column layout(s), fixed graphical elements, etc. that are tedious to duplicate from page to page accurately. The natural extension of that is when you have multiple spans of pages that each have their own common elements ( such as a Spells chapter using distinct footer from a Monsters chapter ) The idea of master pages, in my experience, includes the following concepts:
We can, functionally - if awkwardly, implement most of the non-programatic parts of the above with snippets, particularly if/when we get a document snippets concept (in support of brew templates.) The content portion of a master page is really no different than any brew page between the The things we can't do now are all the programmatic features that move this into a labor saver and consistency enforcer. |
Beta Was this translation helpful? Give feedback.
-
In looking at 3258 (Sections) today it seemed a good idea to consider the idea being introduced there and how it does and doesn't interact with the idea of master pages. The idea of Extension work is needed to track multiple entries in each category. Master Pages can take care of setting the section label and numbering type and resetting the page counter if you assume that Master Page is only used for that section type and there's only one section of that type corresponding to that master page. On reflection, I think that for the vast majority of users Master Pages provide coverage here. Should users feel a need for automatic indexing plural sections we should be easily able to extend the work. |
Beta Was this translation helpful? Give feedback.
-
I have added four PRs to build this out. |
Beta Was this translation helpful? Give feedback.
-
I have a few different ideas on ways we could shape this, but I think the first question is if this is seen as a thing of value to begin with...
For purposes of this discussion, a Master page is a single document page that contains content propagated to every page using it as a master page with the expectation every page of a document is using a master page.
Beta Was this translation helpful? Give feedback.
All reactions