Examples/Parameter: include (example 2)
< Examples
Example
This matches (and selects) an article named "Grape" and includes the content of the page section (indicated by #
) named "about" or "About" (include
is not case-sensitive). The table styles are provided in the first table
argument, followed by the remaining table headers. When using table
format, if there is more than one section on the result page with the same name, each section is listed in a separate table row. If the table
statement is removed, the page title would only appear once, followed by each section's contents one after the other.
{{#dpl: |titlematch = Grape |include = #about |table = class="wikitable sortable", Page, Section content }}
Result
{{#dpl: |titlematch = Grape |include = #about |table = class="wikitable sortable", Page, Section content }}