Examples/Module: dplchapter (example 1)

From DynamicPageList3 Manual
Revision as of 02:47, 21 April 2023 by imported>FrozenPlum (fix)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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}}