Examples/Parameter: include (example 7): Difference between revisions
< Examples
Content added Content deleted
imported>FrozenPlum (Fix the example, it was having unexpected results when trying to test its use on the same page the sections themselves resided on) |
imported>FrozenPlum (fix my wrong category) |
||
Line 23:
}}
<noinclude>
[[Category:
[[Category:Uses title parameter]]
[[Category:Uses include parameter]]
|
Revision as of 04:52, 2 October 2022
Example
This selects the Apple Pie article, and includes the content of its <section begin="one" /><section end="one" />
tags (seen using source edit), as well including the values for section tags "two" and "three". The secseparators
statement formats places a space, two dashes, and then a space before each result.
{{#dpl: |title = Apple Pie |include=one,two,three |secseparators = -- }}
Result
{{#dpl: |title = Apple Pie |include = one,two,three |secseparators = -- }}