Examples/Parameter: title (example 1): Difference between revisions

m
forgot to remove the eliminate statement when I was done
imported>FrozenPlum
m (Cross link the examples that show different outcomes for different output formatting of nearly the same statement (the behaviour is different enough that it warrants explaining).)
imported>FrozenPlum
m (forgot to remove the eliminate statement when I was done)
Line 6:
==Example==
 
This example will include the contents of the "Notes" section/heading of the [[Apple]] article, in the main namespace. If there is '''more than one section with the same name''', the contents of each are displayed one after the other. Note that when such content is formatted instead using <code>{{DPL|table}}</code>, each heading with the same name appears in a separate result row, as can be seen in [[Controlling output volume#include page sections|thisanother example]].
 
<pre>
Line 12:
|title = Apple
|include = #Notes
|eliminate = categories
}}
</pre>
Line 21 ⟶ 20:
|title = Apple
|include = #Notes
|eliminate = categories
}}
 
Anonymous user