Examples/Parameter: include (example 3): Difference between revisions
< Examples
Content added Content deleted
imported>FrozenPlum (Created page with "<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, it saves as a new section at the bottom of your '''User:Username/Sandbox''' --> ==Example== This will select articles in Category:Fruit examples, it will incl...") |
imported>FrozenPlum m (FrozenPlum moved page Controlling output volume/Parameter: include (example 3) to Examples/Parameter: include (example 3): Simplifying how things are structured) |
||
(One intermediate revision by the same user not shown) | |||
Line 23: | Line 23: | ||
}} |
}} |
||
<noinclude> |
<noinclude> |
||
[[Category: |
[[Category:Include contents from the articles in the result set]] |
||
[[Category:Uses category parameter]] |
[[Category:Uses category parameter]] |
||
[[Category:Uses include parameter]] |
[[Category:Uses include parameter]] |
Latest revision as of 01:14, 1 April 2023
Example
This will select articles in Category:Fruit examples, it will include the first thirty characters if the first and third page sections, selecting these sections based only on their position on result pages.
{{#dpl: |category = Fruit examples |include = %1[30],%3[30] |count = 5 }}
Result
{{#dpl: |category = Fruit examples |include = %1[30],%3[30] |count = 5 }}