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

format/adjustments
imported>FrozenPlum
m (Update to include the confirmation that if there's more than one with the same name, they're displayed one after the other (this was not made clear in the manual, only became clear in further examples))
imported>FrozenPlum
(format/adjustments)
 
(4 intermediate revisions by the same user not shown)
Line 1:
<noinclude>{{noedit}}</noinclude><!--
<noinclude>{{note|Please '''do not edit''' this page unless you're wanting to edit the manual itself, it is an example included in the manual.|error}}</noinclude><!--
This is the example preloaded for testing, press "Show Preview" to see
the example working (at the bottom of the page). If you save this page,
Line 6:
==Example==
 
This example will includeincludes the contents of the "{{tt|Notes"}} section/heading of the [[Apple]] article, in the main namespace. If there is ''Main'more than one section with the same name''', the contents of each are displayed one after the othernamespace.
 
{{note|Inclusion of page sections currently '''does not''' respect '''"noinclude"''' or '''"onlyinclude"''' tags. This page is being miscategorized into [[:Category:Fruit examples]] as a result, despite the [[Apple]] page having that category wrapped in ''noinclude'' tags.|warn}}
<pre>
{{#dpl:
|title = Apple
|include = #Notes
}}
</pre>
Line 18:
 
{{#dpl:
|title = Apple
|include = #Notes
}}
 
<noinclude>
[[Category:Select by title-related criteria]]
Anonymous user