Examples/Parameter: title (example 1): Difference between revisions
< Examples
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> |
Revision as of 01:06, 16 April 2022
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.
{{#dpl: |title=Apple |include=#Notes }}
Result
{{#dpl: |title=Apple |include=#Notes }}