Anonymous user
Examples/Parameter: include (example 2): Difference between revisions
Examples/Parameter: include (example 2) (view source)
Revision as of 01:14, 1 April 2023
, 1 year agoFrozenPlum moved page Controlling output volume/Parameter: include (example 2) to Examples/Parameter: include (example 2): Simplifying how things are structured
imported>FrozenPlum m (fix typo and refine this description) |
imported>FrozenPlum m (FrozenPlum moved page Controlling output volume/Parameter: include (example 2) to Examples/Parameter: include (example 2): Simplifying how things are structured) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 6:
==Example==
This matches (and selects) an article named "Grape" and includes the content of the page section (indicated by <code>#</code>) named "about" or "About" (<code>include</code> is '''not''' case-sensitive). The table styles are provided in the first <code>{{DPL|table}}</code> argument, followed by the remaining table headers. When using <code>table</code> format, if there is more than one section with the same name used on the result page, each section will be listed in a separate table row. If the <code>table</code> statement is removed, the page title will only appear once, followed by each section's contents listed one after the other, as can be seen in [[Criteria for page selection/Parameter:_title_(example 1)|this example]].
<pre>
Line 25:
}}
<noinclude>
[[Category:
[[Category:Uses titlematch parameter]]
[[Category:Uses include parameter]]
|