Examples/Module: dplchapter (example 1)

From DynamicPageList3 Manual
Please do not edit this page unless you're wanting to edit the manual itself, it is an example included in the manual.

Example

This displays the body content of the heading/section that matches the heading name specified, in this case it returns the section content for the "My Headline" heading.

 {{#dplchapter:
 Some text.
 ==== My Headline ====
 the body of the desired chapter.
 ==== Another Chapter ====
 Its text.
 |My Headline}}

Result

{{#dplchapter: Some text.

My Headline

the body of the desired chapter.

Another Chapter

Its text. |My Headline}}