Jump to content
This wiki has been automatically closed because there have been no edits or log actions made within the last 60 days. If you are a user (who is not the bureaucrat) that wishes for this wiki to be reopened, please request that at Requests for reopening wikis. If this wiki is not reopened within 6 months it may be deleted. Note: If you are a bureaucrat on this wiki, you can go to Special:ManageWiki and uncheck the "Closed" box to reopen it.

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

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 (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
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).)
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|this example]].
 
{{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
|eliminate = categories
}}
</pre>
Line 18 ⟶ 19:
 
{{#dpl:
|title = Apple
|include = #Notes
|eliminate = categories
}}
 
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.