I have a template with the following content:
== Section 1 == == Section 2 == == Section 3 ==
I then call the template on a page:
{{Template:mypage)
On my page I can edit each section, but if I do that it will edit the template, not the page. Sure I can use the "subst:", but that is not very scalable. Let’s say I have one template with all my headers. I then have 100 pages that retrieves content from that template. If I use "subst" to call the template I will have to edit all the pages again in order to apply the changes. To fix this I then did a template for every header, example:
template:section 1 {{{section 1}}}
Then I did a page for every template to get the right format:
:section 1 {{section 1 |section 1 = === section 1 === }}
My page (page 1) was then populated like this:
{{:section 1}} {{:section 2}} {{:section 3}}
If I want a different name for "section 1" I just edit the page "section 1", but on my page (page 1) the edit function does not show up, I will have to edit the whole page in order to edit some data and with much data that isn’t very user friendly, and I can’t refer to different section on page 1. So, is there I way to get this working with templates or extensions?