Examples/Parameter: title (example 1): Difference between revisions
< Examples
Content added Content deleted
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: | 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 |
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, |
the example working (at the bottom of the page). If you save this page, |
||
Line 6: | Line 6: | ||
==Example== |
==Example== |
||
This example |
This example includes the contents of the {{tt|Notes}} section/heading of the [[Apple]] article, in the ''Main'' namespace. |
||
{{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> |
||
{{#dpl: |
{{#dpl: |
||
|title=Apple |
|title = Apple |
||
|include=#Notes |
|include = #Notes |
||
}} |
}} |
||
</pre> |
</pre> |
||
Line 18: | Line 18: | ||
{{#dpl: |
{{#dpl: |
||
|title=Apple |
|title = Apple |
||
|include=#Notes |
|include = #Notes |
||
}} |
}} |
||
<noinclude> |
<noinclude> |
||
[[Category:Select by title-related criteria]] |
[[Category:Select by title-related criteria]] |
Latest revision as of 07:41, 1 April 2023
Example
This example includes the contents of the Notes section/heading of the Apple article, in the Main namespace.
{{#dpl: |title = Apple |include = #Notes }}
Result
{{#dpl: |title = Apple |include = #Notes }}