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

Content added Content deleted
imported>FrozenPlum
(Hmm, this include is not respecting the noinclude tags)
 
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))
Line 6: Line 6:
==Example==
==Example==


This example will include the contents of the "Notes" section/heading of the [[Apple]] article, in the main namespace.
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|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}}
{{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>
<pre>